1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-15 07:33:04 +01:00
Commit Graph

21 Commits

Author SHA1 Message Date
David Bomba
b960a21201 Fixes for profit loss 2023-07-24 18:57:02 +10:00
David Bomba
60daf3d3fc Force exchange rates 2023-07-24 15:22:12 +10:00
David Bomba
ad8a7f6766 Profit Loss report tests 2023-07-24 12:54:08 +10:00
David Bomba
4babfbb651 php-cs-fixer 2023-02-16 12:36:09 +11:00
David Bomba
d97f17ea39 Fixes for tests 2023-01-02 17:55:57 +11:00
Shift
4f7a8f9752
Set return type of base TestCase methods
From the [PHPUnit 8 release notes][1], the `TestCase` methods below now declare a `void` return type:

- `setUpBeforeClass()`
- `setUp()`
- `assertPreConditions()`
- `assertPostConditions()`
- `tearDown()`
- `tearDownAfterClass()`
- `onNotSuccessfulTest()`

[1]: https://phpunit.de/announcements/phpunit-8.html
2022-06-21 10:00:57 +00:00
Shift
06d910a53b
Use Faker methods
Accessing Faker properties was deprecated in Faker 1.14.
2022-06-21 09:59:36 +00:00
Shift
19080933b6
Apply Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions.

You may customize the code style applied by adding a [PHP CS Fixer][1] or [PHP CodeSniffer][2] ruleset to your project root. Feel free to use [Shift's Laravel ruleset][3] to help you get started.

For more information on customizing the code style applied by Shift, [watch this short video][4].

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://github.com/squizlabs/PHP_CodeSniffer
[3]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
[4]: https://laravelshift.com/videos/shift-code-style
2022-06-21 09:57:17 +00:00
David Bomba
e153a0a06a Update license 2022-06-08 14:25:44 +10:00
David Bomba
5c588cf54f Minor fixes for profit loss logging 2022-05-14 09:12:09 +10:00
David Bomba
6c13512c6a Profit and loss 2022-05-13 17:15:05 +10:00
David Bomba
e0373006d8 PnL Expense tests 2022-05-13 16:42:04 +10:00
David Bomba
4e8389f72e Minor fixes for check data 2022-05-13 14:06:21 +10:00
David Bomba
7df6b8f940 PnL Expense tests 2022-05-13 13:07:42 +10:00
David Bomba
fd67d8202e Fixes for tests 2022-05-13 11:13:25 +10:00
David Bomba
00a99698ac Profit and loss income by cash 2022-05-13 09:11:40 +10:00
David Bomba
618d2234d1 TDD Profit and loss 2022-05-12 14:40:44 +10:00
David Bomba
d7084785fe fixes for jobs breaking with massive payloads 2022-05-12 13:57:41 +10:00
David Bomba
fb5b2882d3 Fixes for tests 2022-05-12 11:10:47 +10:00
David Bomba
dd5800eac7 TDD for profit and loss 2022-05-12 10:57:58 +10:00
David Bomba
a72de5efb4 Profit and loss: 2022-05-10 20:06:40 +10:00