File tree 7 files changed +1835
-1422
lines changed
7 files changed +1835
-1422
lines changed Original file line number Diff line number Diff line change 9
9
- uses : actions/checkout@v2
10
10
- uses : shivammathur/setup-php@v2
11
11
with :
12
- php-version : ' 8.0 '
12
+ php-version : ' 8.1 '
13
13
- run : composer install --no-interaction --prefer-dist
14
14
- run : vendor/bin/phpcs
15
15
16
- psalm :
16
+ phpstan :
17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- uses : actions/checkout@v2
20
20
- uses : shivammathur/setup-php@v2
21
21
with :
22
- php-version : ' 8.0 '
22
+ php-version : ' 8.1 '
23
23
- run : composer install --no-interaction --prefer-dist
24
- - run : vendor/bin/psalm
24
+ - run : vendor/bin/phpstan analyse
25
25
26
26
phpunit :
27
- runs-on : ${{ matrix.os }}
28
27
strategy :
29
28
matrix :
30
- php : [ 8.0 , 8.1 ]
31
- laravel : [ 9 .*, 8 .* ]
29
+ php : [ 8.2 , 8.1 ]
30
+ laravel : [ 10 .*, 9 .* ]
32
31
os : [ ubuntu-latest ]
33
32
include :
33
+ - laravel : 10.*
34
+ testbench : ^8.0
34
35
- laravel : 9.*
35
36
testbench : ^7.0
36
- - laravel : 8.*
37
- testbench : ^6.0
37
+ runs-on : ${{ matrix.os }}
38
38
name : phpunit (P${{ matrix.php }} - L${{ matrix.laravel }})
39
39
env :
40
40
DB_HOST : 127.0.0.1
Original file line number Diff line number Diff line change @@ -23,7 +23,9 @@ https://dev.mysql.com/doc/refman/8.0/en/load-data.html
23
23
24
24
## Installation
25
25
26
- ** Requires > PHP 8.0 and > Laravel 8**
26
+ ** Requires > PHP 8.1 and > Laravel 9**
27
+
28
+ * Older versions of Laravel and PHP are supported through previous major versions of this library*
27
29
28
30
``` bash
29
31
composer require ellgreen/laravel-loadfile
Original file line number Diff line number Diff line change 21
21
}
22
22
},
23
23
"require" : {
24
- "php" : " ^8.0 " ,
25
- "illuminate/database" : " ^8 .0|^9 .0"
24
+ "php" : " ^8.1 " ,
25
+ "illuminate/database" : " ^9 .0|^10 .0"
26
26
},
27
27
"require-dev" : {
28
28
"phpunit/phpunit" : " ^9" ,
29
- "orchestra/testbench" : " ^6 .0|^7 .0" ,
29
+ "orchestra/testbench" : " ^7 .0|^8 .0" ,
30
30
"squizlabs/php_codesniffer" : " ^3.6" ,
31
- "vimeo/psalm" : " ^4.7"
31
+ "vimeo/psalm" : " ^4.7" ,
32
+ "nunomaduro/larastan" : " ^2.0"
32
33
},
33
34
"scripts" : {
34
35
"test-unit" : " php ./vendor/bin/phpunit tests/Unit" ,
44
45
"docker-laravel-test" : " docker compose run --rm app php tests/laravel/laravel-version-test.php" ,
45
46
"docker-test-coverage" : " docker compose run --rm app php ./vendor/bin/phpunit --coverage-html .coverage/all" ,
46
47
"docker-cs" : " docker compose run --rm app php ./vendor/bin/phpcs --standard=PSR12 src/" ,
47
- "docker-static-analysis" : " docker compose run --rm app php ./vendor/bin/psalm "
48
+ "docker-static-analysis" : " docker compose run --rm app php ./vendor/bin/phpstan analyse "
48
49
},
49
50
"extra" : {
50
51
"laravel" : {
You can’t perform that action at this time.
0 commit comments