1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 07:02:34 +01:00
Commit Graph

35 Commits

Author SHA1 Message Date
David Bomba
932a0d3f57 Handle github actions quirks 2024-06-18 15:04:16 +10:00
David Bomba
f7340d6114 PHP CS Fixer 2023-11-26 18:41:42 +11:00
David Bomba
0f57b067c5 Minor fixes for tests 2023-10-28 22:27:31 +11:00
David Bomba
e7730931cb Ignore pdf generation when using github actions 2023-05-01 15:40:56 +10:00
David Bomba
13881ac6e5 Fixes for PDFMock 2023-02-28 18:05:08 +11:00
David Bomba
97118da600 Fixes for tests 2023-02-28 17:50:41 +11:00
David Bomba
010bcb8286 Add in shipping details 2023-02-25 16:11:12 +11:00
David Bomba
2a9fe02546 Merging designer changes 2023-02-25 15:01:52 +11:00
David Bomba
8dcc3c4cbd Merging designer changes 2023-02-25 14:52:52 +11:00
David Bomba
99bcf3a77c Pdf Mocks 2023-02-25 12:17:08 +11:00
David Bomba
7772da95d3 Testing PDF mocks 2023-02-25 12:08:34 +11:00
David Bomba
55cc1e46ce Testing PDF mocks 2023-02-25 11:53:30 +11:00
David Bomba
620f3a32e1 PdfMockEntity 2023-02-25 11:11:09 +11:00
David Bomba
10793f1d14 Updates for custom PDF designer 2023-02-21 18:39:07 +11:00
David Bomba
3ec7f6a80d Refactor for PDF Generation 2022-12-29 01:50:11 +11:00
David Bomba
ca853d29e5 Pdf Service Refactor 2022-12-28 21:28:58 +11:00
David Bomba
bce476977b Resolve design template 2022-12-23 13:46:52 +11:00
David Bomba
1d28a98a55 Stubs for refactor for PDF generation 2022-12-23 13:22:01 +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
Will G
a0520f38d0 Added ability to set arguments sent to Snappdf 2021-07-06 20:47:50 -04:00
David Bomba
934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
Benjamin Beganović
9f58ccb028 Add support for custom Chromium path (ie. support for Windows & Mac) 2020-12-25 14:15:57 +01:00
Benjamin Beganović
d1682dd928 Remove spatie/browsershot 2020-12-23 16:17:05 +01:00
Benjamin Beganović
ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
Clément Gayot
c21c79b8be Add ability to use Browsershot with NODE_PATH & NPM_PATH .env variables 2020-10-13 14:42:54 +02:00
David Bomba
bae82b56c1 Add license 2020-09-14 21:11:46 +10:00
Benjamin Beganović
0bf39c739d
Merge branch 'v2' into v2-fix-setup-issues 2020-09-07 00:15:45 +02: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
Benjamin Beganović
7a5027f1b4 Enable sandboxing with PDFs & fix setup page issues 2020-09-06 04:23:04 +02:00
David Bomba
43e57d0117
Fixes for self-update (#3514)
* minor fix for payment notifications

* styleci

* Limit Self updating to self hosters only
:

* Fixes for designs

* Minor fixes for self-update
2020-03-21 16:37:30 +11:00
David Bomba
c0d9708659 Tests for PDF generation 2019-05-04 16:55:19 +10:00
David Bomba
3f675bfd2a PDF tests 2019-05-04 13:17:44 +10:00
David Bomba
a0abd052b2 Tests for PDF generation? 2019-05-04 13:14:37 +10:00