1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00
Commit Graph

33 Commits

Author SHA1 Message Date
David Bomba
f7340d6114 PHP CS Fixer 2023-11-26 18:41:42 +11:00
David Bomba
1b60ee132e Fixes for tests 2023-11-08 23:51:53 +11:00
David Bomba
99b3efda20 merging template 2023-10-25 13:53:50 +11:00
David Bomba
ef166e9803 Reminder tests 2023-10-04 11:32:45 +11:00
David Bomba
96785e27bf Tests for reminders with partial due dates 2023-09-24 16:51:35 +10:00
David Bomba
18d0a39386 Fixes for reminders with partial due dates 2023-09-24 14:54:24 +10:00
David Bomba
492c1ef1ed Merge v5-dev 2023-08-30 11:28:37 +10:00
David Bomba
4b5dc3b43f Additional tests for reminders and custom labels 2023-08-29 13:00:15 +10:00
David Bomba
1182184306 Updates for L10 migration 2023-08-21 09:51:56 +10:00
David Bomba
80e1dd4f1f Fixes for timezone corrections for reminders 2023-07-27 17:35:47 +10:00
David Bomba
aac1cab448 Fixes for timezone correction 2023-07-27 17:33:55 +10:00
David Bomba
f299033896 Fixes for tests 2023-06-01 12:32:40 +10:00
David Bomba
5cb0457cd2 Add no overflow for tests 2023-06-01 08:43:19 +10:00
David Bomba
f1eee89087 When disconnecting oauth mailer - reset default mailer 2023-04-29 19:32:20 +10:00
David Bomba
999a1be816 Tests for endless reminders 2023-04-29 18:40:50 +10:00
David Bomba
4babfbb651 php-cs-fixer 2023-02-16 12:36:09 +11:00
David Bomba
2893c98b0e Tests for reminders 2022-08-10 13:35:47 +10: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
2dfe001152 Fixes for reminders 2022-05-16 18:53:01 +10:00
David Bomba
2d6e2e5976 Fixes for tests 2021-08-01 08:44:04 +10:00
David Bomba
2998b1ab24 Tests for reminder scenarios 2021-08-01 08:05:31 +10:00
David Bomba
dbb60c029e Fixes for reminderS 2021-07-20 14:49:04 +10:00
David Bomba
c367ea60ae Timezone Offset implementation 2021-06-11 08:20:46 +10:00
David Bomba
e254a9ad73 Refactor reminders 2021-05-26 10:35:39 +10:00
David Bomba
f42de7f949 Tests for reminders 2021-05-26 09:43:23 +10:00
David Bomba
aa71bf9787 Fixes for transformers + import 2021-05-26 07:31:17 +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
bae82b56c1 Add license 2020-09-14 21:11:46 +10:00
David Bomba
ba75a44eb8
Laravel 7.x Shift (#40)
* Adopt Laravel coding style

The Laravel framework adopts the PSR-2 coding style with some additions.
Laravel apps *should* adopt this coding style as well.

However, Shift allows you to customize the adopted coding style by
adding your own [PHP CS Fixer][1] `.php_cs` config to your project.

You may use [Shift's .php_cs][2] file as a base.

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200

* Shift bindings

PHP 5.5.9+ adds the new static `class` property which provides the fully qualified class name. This is preferred over using class name strings as these references are checked by the parser.

* Shift core files

* Shift to Throwable

* Add laravel/ui dependency

* Unindent vendor mail templates

* Shift config files

* Default config files

In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them so you can review the commit diff for
changes. Moving forward, you should use ENV variables or create a
separate config file to allow the core config files to remain
automatically upgradeable.

* Shift Laravel dependencies

* Shift cleanup

* Upgrade to Laravel 7

Co-authored-by: Laravel Shift <shift@laravelshift.com>
2020-09-06 19:38:10 +10:00
David Bomba
74a6c4f2ee
Reminders (#3630)
* Performance improvements moving from str_replace to strtr

* Remove legacy docs

* Clean up credit transformer

* Working on invoice emails

* Clean up for invoice designs

* Tests for light and dark theme emails

* Working on reminder scheduling

* Reminder Job Class

* Fixes for github actions

* PHP CS

* Test for reminders

* Test for reminders
2020-04-15 10:30:52 +10:00