Commit Graph

22 Commits

Author SHA1 Message Date
David Bomba c6527b08f3 refactor tests 2025-11-21 08:52:04 +00:00
David Bomba b08c575b35 php-cs-fix for tests 2025-10-29 11:13:52 +11:00
David Bomba 50a1a746f3 Fixes for recurring due dates 2025-02-01 14:38:14 +11:00
David Bomba 2926d9196f Add no overflow when calculating due dates in recurring dates tests 2025-01-29 21:14:13 +11:00
David Bomba 35089d2379 Push updates for design 2025-01-23 11:33:30 +11:00
David Bomba e1a1499bc6 Fixes for tests 2024-11-18 07:50:43 +11:00
David Bomba 46755812a4 Adjustments for sending at hour 24 2024-11-18 07:43:43 +11:00
David Bomba 290b13f87e Fixes for recurring due date days across timezones 2024-11-18 07:28:31 +11:00
David Bomba cf13a87f47 Update recurring invoices to ensure dates are configured in the correct timezone 2024-11-16 10:05:48 +11:00
David Bomba 1a438ecd64 Remove annotations from tests 2024-09-16 21:13:55 +10:00
David Bomba 8160af4ef4 PHP CS Fixer 2024-08-22 16:57:52 +10:00
David Bomba f7340d6114 PHP CS Fixer 2023-11-26 18:41:42 +11:00
David Bomba ebdf25e1a8 Use travel to move timezones 2023-03-29 18:14:28 +11:00
David Bomba f5cdf07d78 Tests for calculating recurring next send dates 2023-03-29 17:53:49 +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 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 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba 4db72d11e1 Actions for recurring invoices 2020-09-24 10:57:44 +10:00
David Bomba bae82b56c1 Add license 2020-09-14 21:11:46 +10:00
David Bomba 9c7dc24bd2 Recurring Dates 2020-09-13 20:20:11 +10:00