lukinovec
12a836a468
Fix formatting
2023-02-16 14:27:17 +01:00
lukinovec
03c20b1ec8
Remove PHP 8.0
2023-02-16 14:15:43 +01:00
lukinovec
eeb17d29c2
Change formatting
2023-02-16 13:37:17 +01:00
lukinovec
ab687184e1
Try adding setup-php
2023-02-16 13:35:04 +01:00
lukinovec
f18fa43cfe
Revert adding setup-php
2023-02-16 13:25:56 +01:00
lukinovec
b228ad7052
Fix formatting
2023-02-16 13:03:21 +01:00
lukinovec
a26e013f80
Revert formatting changes
2023-02-16 13:01:56 +01:00
lukinovec
30a70c9ff9
Add setup-php step
2023-02-16 12:52:51 +01:00
lukinovec
43d4e70199
Swap Laravel 9 & 10
2023-02-16 11:33:51 +01:00
lukinovec
69eb9c4659
Allow PHP 8.0, run tests for 8.0 as well
2023-02-16 11:32:58 +01:00
lukinovec
958e27eb79
Remove L8 support
2023-02-16 08:40:26 +01:00
lukinovec
8ce0b82ef0
Update immutability tests
2023-02-16 08:27:12 +01:00
lukinovec
3a7deadd19
Correct typehint
2023-02-15 17:42:52 +01:00
lukinovec
1fb607f352
Bring back immutability tests
2023-02-15 17:41:33 +01:00
lukinovec
2bf0c0ecc6
Delete immutability tests
2023-02-15 17:16:04 +01:00
lukinovec
ffa31f164e
Revert PHPStan downgrade
2023-02-15 17:06:11 +01:00
lukinovec
0f4b845e93
Try using older PHPStan version
2023-02-15 17:03:57 +01:00
lukinovec
dfce704a2e
Fix PHPStan errors
2023-02-15 16:58:39 +01:00
lukinovec
3079fcdf48
Set archtechx/helpers version
2023-02-15 14:47:34 +01:00
lukinovec
a5bb8b0afa
Upgrade phpstan
2023-02-15 14:16:38 +01:00
lukinovec
032b07da53
Add L10 support
2023-02-15 13:49:11 +01:00
Michael Vickers
b1b02f459d
Readme decimals method ( #19 )
...
Correct decimal method name
2022-08-06 02:16:37 +02:00
Samuel Štancl
fd2fa86cf0
Fix array syntax in example
2022-05-26 16:08:09 +02:00
PHP CS Fixer
2021b13092
Fix code style (php-cs-fixer)
2022-05-16 11:12:34 +00:00
David Andersson
269274586a
Fixes #11 - Remove trailing zeros from formatted price ( #18 )
...
* Remove trailing zeros from formatted price
* Add setting for how to handle trailing decimal zeros
* Write tests
* Fix code style
* Rewrite function description
* Change test name
* Add empty line at end of file
* rename deleteTrailingDecimalZeros to trimTrailingDecimalZeros
* Fix grammar
* Remove unnecessary parameter declarations
* fix test name
* fix comment grammar
* fix docblock grammar
Co-authored-by: Samuel Štancl <samuel@archte.ch>
2022-05-16 13:12:13 +02:00
Samuel Štancl
545610efb0
Merge pull request #16 from gauravmak/from_string_implementation
...
Money instance creation from a formatted string
2022-04-05 15:26:05 +02:00
Gaurav
5952ace37e
text: exception message and docblock updates
2022-04-05 09:49:36 +05:30
Gaurav
34740e66a6
fix: import exception
2022-03-31 10:09:40 +05:30
Gaurav
2a60b7b3d8
test: updates
2022-03-15 17:06:44 +05:30
Gaurav
d6cb1ba6ae
update: add dedicated exception class
2022-03-15 17:03:57 +05:30
Gaurav Makhecha
96786939bd
Apply text suggestions from code review
...
Co-authored-by: Samuel Štancl <samuel@archte.ch>
2022-03-15 16:46:08 +05:30
Gaurav
a8d32a0be8
fix: no more currency guessing
2022-03-10 11:45:39 +05:30
Gaurav
93aeb2c300
feat: extract currency from the formatted string
2022-03-10 11:39:53 +05:30
Samuel Štancl
db2d96ec06
Merge pull request #15 from gauravmak/master
...
Docker-compose not required
2022-03-09 15:07:54 +01:00
Gaurav
c18cb97b61
fix: remove unused .env variable
2022-03-09 19:16:16 +05:30
PHP CS Fixer
fa337d29b4
Fix code style (php-cs-fixer)
2022-03-09 07:37:04 +00:00
Gaurav
2329dcf790
Merge branch 'from_string_implementation' of github.com:gauravmak/money into from_string_implementation
2022-03-09 13:06:45 +05:30
Gaurav
77bec6ed02
fix: make PHPStan happy by protecting against some rare scenarios
2022-03-09 13:06:40 +05:30
PHP CS Fixer
01fd16f71b
Fix code style (php-cs-fixer)
2022-03-09 07:20:34 +00:00
Gaurav
38c6326a4d
feature: money instance creation from a formatted string
2022-03-09 12:50:04 +05:30
Gaurav
8bdf0d1a2b
refactor: improve code readability
2022-03-09 12:49:00 +05:30
Gaurav
f74cade383
cleanup: docker-compose not required
2022-03-09 09:31:00 +05:30
Samuel Štancl
c7ccaa42c5
Merge pull request #14 from gauravmak/master
...
Readme updates and code cleanup
2022-03-08 20:54:12 +01:00
Gaurav
dce1269799
text: readme updates and code cleanup
2022-03-08 19:56:34 +05:30
Samuel Štancl
1b34e3f4c2
Merge pull request #13 from archtechx/l9-support-preparing
...
Support Laravel 9
2022-01-20 21:35:39 +01:00
Abrar Ahmad
16f343e758
Merge branch 'l9-support-preparing' of https://github.com/archtechx/money into l9-support-preparing
2022-01-21 00:19:38 +05:00
Abrar Ahmad
02f3dddef0
Update ci.yml
2022-01-21 00:18:01 +05:00
Abrar Ahmad
43fd8c873b
Update .github/workflows/ci.yml
...
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
2022-01-20 23:49:15 +05:00
Abrar Ahmad
fda9ade4d8
Update ci.yml
2022-01-20 23:46:14 +05:00
Abrar Ahmad
e280bf0a8b
wip
2022-01-20 23:42:07 +05:00