File tree Expand file tree Collapse file tree 5 files changed +29
-103
lines changed Expand file tree Collapse file tree 5 files changed +29
-103
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66 tests :
77 runs-on : ${{ matrix.os }}
88 strategy :
9- fail-fast : false
9+ fail-fast : true
1010 matrix :
1111 os : [ubuntu-latest]
12- php : [8.0, 7.4, 8.1 ]
13- laravel : [8.*, 9.*, 10.*]
12+ php : [8.2,8.3 ]
13+ laravel : [10.*]
1414 dependency-version : [prefer-stable]
1515 include :
1616 - laravel : 10.*
17- testbench : 8.*
18- - laravel : 8.*
19- testbench : 6.*
20- - laravel : 9.*
21- testbench : 7.*
22- exclude :
23- - laravel : 9.*
24- php : 7.4
25- - laravel : 10.*
26- php : 8.0
27- - laravel : 10.*
28- php : 7.4
17+ testbench : 8.*
2918
30- name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
19+ name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3120
3221 steps :
3322 - name : Checkout code
34- uses : actions/checkout@v2
23+ uses : actions/checkout@v4
3524
3625 - name : Cache dependencies
37- uses : actions/cache@v2
26+ uses : actions/cache@v4
3827 with :
3928 path : ~/.composer/cache/files
4029 key : dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
Original file line number Diff line number Diff line change 44[ ![ run-tests-laravel-8] ( https://img.shields.io/github/workflow/status/f9webltd/laravel-deletable/run-tests-laravel-8?style=flat-square )] ( https://github.com/f9webltd/laravel-deletable/actions )
55[ ![ StyleCI Status] ( https://github.styleci.io/repos/278581318/shield )] ( https://github.styleci.io/repos/278581318 )
66[ ![ Packagist License] ( https://img.shields.io/packagist/l/f9webltd/laravel-deletable?style=flat-square )] ( https://packagist.org/packages/f9webltd/laravel-deletable )
7+ [ ![ PHP ^8.2] ( https://img.shields.io/badge/php-%5E8.2-brightgreen )] ( )
78
89# Laravel Deletable
910
1011Gracefully handle deletion restrictions on your [ Eloquent models] ( https://laravel.com/docs/7.x/eloquent ) , as featured on [ Laravel News] ( https://laravel-news.com/laravel-deletable-trait )
1112
1213## Requirements
1314
14- PHP >= 7.2 , Laravel >= 5.8 .
15+ PHP ` ^8.2 ` , Laravel ` ^10.0 ` .
1516
16- PHP 8.0 is supported for Laravel >= 6x
17+ For older versions of PHP / Laravel use version [ 1.0.6 ] ( https://github.com/f9webltd/laravel-deletable/tree/1.0.6 )
1718
1819## Installation
1920
Original file line number Diff line number Diff line change 1818 }
1919 ],
2020 "require" : {
21- "php" : " ^7.2 | ^8.0 " ,
22- "illuminate/config" : " 5.8.*|^6.0|^7.0|^8.0|^9.0| ^10.0" ,
23- "illuminate/container" : " 5.8.*|^6.0|^7.0|^8.0|^9.0| ^10.0" ,
24- "illuminate/contracts" : " 5.8.*|^6.0|^7.0|^8.0|^9.0| ^10.0" ,
25- "illuminate/database" : " 5.8.*|^6.0|^7.0|^8.0|^9.0| ^10.0"
21+ "php" : " ^8.2 " ,
22+ "illuminate/config" : " ^10.0" ,
23+ "illuminate/container" : " ^10.0" ,
24+ "illuminate/contracts" : " ^10.0" ,
25+ "illuminate/database" : " ^10.0"
2626 },
2727 "require-dev" : {
28- "orchestra/testbench" : " >=3 .8" ,
29- "phpunit/phpunit" : " ^7.0|^8.0|^9.3 "
28+ "orchestra/testbench" : " ^8 .8" ,
29+ "phpunit/phpunit" : " ^10.0 "
3030 },
3131 "autoload" : {
3232 "psr-4" : {
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <phpunit bootstrap = " vendor/autoload.php "
3- backupGlobals = " false "
4- backupStaticAttributes = " false "
2+ <phpunit xmlns : xsi = " http://www.w3.org/2001/XMLSchema-instance "
3+ xsi : noNamespaceSchemaLocation = " vendor/phpunit/phpunit/phpunit.xsd "
4+ bootstrap = " vendor/autoload.php "
55 colors =" true"
6- verbose =" true"
7- convertErrorsToExceptions =" true"
8- convertNoticesToExceptions =" true"
9- convertWarningsToExceptions =" true"
10- processIsolation =" false"
11- stopOnFailure =" false" >
6+ >
127 <testsuites >
138 <testsuite name =" Test Suite" >
149 <directory >tests</directory >
1510 </testsuite >
1611 </testsuites >
17- <filter >
18- <whitelist >
19- <directory suffix =" .php" >src/</directory >
20- </whitelist >
21- </filter >
22- <logging >
23- <log type =" tap" target =" build/report.tap" />
24- <log type =" junit" target =" build/report.junit.xml" />
25- <log type =" coverage-html" target =" build/coverage" />
26- <log type =" coverage-text" target =" build/coverage.txt" />
27- <log type =" coverage-clover" target =" build/logs/clover.xml" />
28- </logging >
12+ <source >
13+ <include >
14+ <directory >app</directory >
15+ </include >
16+ </source >
2917 <php >
30- <server name =" APP_NAME" value =" Laravel Deletable" />
31- <server name =" DB_CONNECTION" value =" sqlite" />
32- <server name =" DB_DATABASE" value =" :memory:" />
18+ <env name =" APP_NAME" value =" Laravel Deletable" />
19+ <env name =" DB_CONNECTION" value =" sqlite" />
20+ <env name =" DB_DATABASE" value =" :memory:" />
3321 </php >
3422</phpunit >
3523
You can’t perform that action at this time.
0 commit comments