File tree Expand file tree Collapse file tree 9 files changed +326
-254
lines changed
Expand file tree Collapse file tree 9 files changed +326
-254
lines changed Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88 strategy :
99 matrix :
10- php : [8.1, 8. 2, 8.3]
10+ php : [8.2, 8.3]
1111 stability : ["--prefer-lowest", "--prefer-stable"]
1212 steps :
1313 - name : Checkout
2929 uses : actions/cache@v4
3030 with :
3131 path : ${{ steps.composer-cache.outputs.dir }}
32- key : ${{ runner.os }}-${{ matrix.php }}-${{ matrix.strategy }}-composer-${{ hashFiles('**/composer.json') }}
32+ key : ${{ runner.os }}-${{ matrix.php }}-${{ matrix.stability }}-composer-${{ hashFiles('**/composer.json') }}
3333 restore-keys : |
34- ${{ runner.os }}-${{ matrix.php }}-${{ matrix.strategy }}-composer-
34+ ${{ runner.os }}-${{ matrix.php }}-${{ matrix.stability }}-composer-
3535
3636 - name : Install Composer dependencies
3737 run : composer update --no-interaction --no-progress --optimize-autoloader --prefer-dist ${{ matrix.stability }}
Original file line number Diff line number Diff line change 11# Upgrade Guide
22
3+ ## v5
4+
5+ ### Upgrading from v4.3 to v5.0
6+
7+ - Minimum Laravel version increased from ` 10.46 ` to ` 11.0.3 ` .
8+ - Minimum PHP version increased from ` 8.1 ` to ` 8.2 ` .
9+
310## v4
411
512### Upgrading from v4.2 to v4.3
Original file line number Diff line number Diff line change 55 "license" : " MIT" ,
66 "minimum-stability" : " stable" ,
77 "require" : {
8- "php" : " ^8.1 " ,
9- "laravel/framework" : " ^10.46 "
8+ "php" : " ^8.2 " ,
9+ "laravel/framework" : " ^11.0.3 "
1010 },
1111 "require-dev" : {
1212 "ext-json" : " *" ,
13- "orchestra/testbench" : " ^8.0" ,
14- "phpunit/phpunit" : " ^9.6" ,
15- "laravel/pint" : " 1.13.9"
13+ "orchestra/testbench" : " ^9.0" ,
14+ "phpunit/phpunit" : " ^10.5" ,
15+ "laravel/pint" : " 1.13.9" ,
16+ "larastan/larastan" : " ^2.0"
1617 },
1718 "autoload" : {
1819 "psr-4" : {
3435 "scripts" : {
3536 "check-code" : [
3637 " @lint" ,
38+ " @phpstan" ,
3739 " @test"
3840 ],
3941 "lint" : " @php vendor/bin/pint --test" ,
4042 "lint:fix" : " @php vendor/bin/pint" ,
43+ "phpstan" : " @php vendor/bin/phpstan analyse" ,
4144 "test" : " @php vendor/bin/phpunit"
4245 }
4346}
Original file line number Diff line number Diff line change 1+ includes :
2+ - vendor/larastan/larastan/extension.neon
3+ parameters :
4+ paths :
5+ - src/
6+ level : 8
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9 .5/phpunit.xsd"
3+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10 .5/phpunit.xsd"
44 bootstrap =" vendor/autoload.php"
5- cacheResultFile =" .phpunit.cache/test-results "
5+ cacheDirectory =" .phpunit.cache"
66 executionOrder =" depends,defects"
7- forceCoversAnnotation =" false"
8- beStrictAboutCoversAnnotation =" true"
7+ requireCoverageMetadata =" false"
8+ beStrictAboutCoverageMetadata =" true"
99 beStrictAboutOutputDuringTests =" true"
10- beStrictAboutTodoAnnotatedTests =" true"
1110 failOnRisky =" true"
12- failOnWarning =" true"
13- verbose =" true" >
11+ failOnWarning =" true" >
1412 <testsuites >
1513 <testsuite name =" default" >
1614 <directory >tests</directory >
1715 </testsuite >
1816 </testsuites >
1917
20- <coverage cacheDirectory =" .phpunit.cache/code-coverage"
21- processUncoveredFiles =" true" >
18+ <source restrictDeprecations =" true" restrictNotices =" true" restrictWarnings =" true" >
2219 <include >
23- <directory suffix = " .php " >src</directory >
20+ <directory >src</directory >
2421 </include >
25- </coverage >
22+ </source >
2623
2724 <php >
2825 <env name =" DB_CONNECTION" value =" testing" />
You can’t perform that action at this time.
0 commit comments