1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-24 18:27:10 +02:00
Commit Graph

33 Commits

Author SHA1 Message Date
Nikola Cirkovic
c75b1d303f
Cirkovic/ina 16 fixes (#50)
* Dispatch | PdfCreatorTest | Removed deprecated method

* Dispatch | Remove deprecated dispatchNow() method and use dispatchSync or call handle() on class where return is mandatory.
2022-06-24 21:15:14 +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
7e264877e9 Fixes for tests 2021-07-03 14:45:40 +10:00
David Bomba
6e967035d8 Reorder middleware to allow route model binding to be delayed 2021-05-13 23:01:23 +10:00
Joshua Dwire
aeedd5c9d9 Fix tests 2021-02-20 11:24:08 -05:00
Joshua Dwire
89cc41d225 Fix test 2021-02-19 23:32:04 -05:00
Joshua Dwire
0650333569 Fix test 2021-02-19 23:03:55 -05:00
David Bomba
e8da728428
Merge pull request #4946 from joshuadwire/v5-develop
Update import process to handle new data format
2021-02-20 11:57:36 +11:00
Joshua Dwire
4aae7c0b1a Update import process to handle new data format 2021-02-19 19:50:17 -05:00
David Bomba
7241430ce5 Improve coverage for CSV imports 2021-02-19 07:20:23 +11:00
David Bomba
78363f120d Fixes for testsg 2021-02-18 14:39:29 +11:00
David Bomba
704477f803 Imports 2021-02-18 14:37:17 +11:00
Joshua Dwire
e11e71514a Add tests; block sending payment emails during an import. 2021-02-17 22:05:33 -05:00
David Bomba
222cd28836 Fix for mail refactor 2021-02-18 11:12:49 +11:00
David Bomba
934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
Benjamin Beganović
0bbd910490 apply php-cs-fixer 2020-12-25 12:29:42 +01:00
=
445bf451bf Fixes for tests and throwing correct failure 2020-12-23 09:04:19 +11:00
Benjamin Beganović
69bc664457
Merge pull request #4549 from beganovich/v5-snappdf-integration
(v5) snappdf support
2020-12-22 09:31:22 +01:00
Benjamin Beganović
85d241e15e update global margin 2020-12-21 16:55:47 +01:00
Benjamin Beganović
5a8dfd85eb Apply php-cs-fixer 2020-12-21 11:46:46 +01:00
David Bomba
ccde0eaced Working on importing CSV Invoices 2020-12-20 18:02:58 +11:00
David Bomba
4df646f93b Fixes for tests 2020-12-20 12:21:40 +11:00
David Bomba
09c2c40903 Fixes for import test 2020-12-18 15:34:40 +11:00
David Bomba
f476a090bc mark csv test skipped 2020-12-18 12:01:45 +11:00
David Bomba
df30f0cbc5 Fixes for github actions 2020-12-18 11:31:27 +11:00
Benjamin Beganović
f9d65941d8 Fixes for tests 2020-12-17 13:44:44 +01:00
Benjamin Beganović
942652b668 Update webhooks to support Checkout.com & apply php-cs-fixer 2020-12-17 12:27:15 +01:00
David Bomba
7353687c04 Working on client import 2020-12-16 21:06:20 +11:00
Benjamin Beganović
7ccd10adf9 - Change $global-margin to $global_margin to keep consistency
- Update designs accordingly
- Update ChromiumPdf version
- Apply php-cs-fixer
2020-12-15 11:45:04 +01:00
David Bomba
3419d7900f Tests for importing CSV files 2020-12-12 21:35:42 +11:00
David Bomba
584bef52fc Working on import 2020-12-12 21:01:53 +11:00