File tree Expand file tree Collapse file tree 5 files changed +3
-53
lines changed Expand file tree Collapse file tree 5 files changed +3
-53
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4141 composer create-project --prefer-dist laravel/laravel laravel-demo "9.*"
4242 cd laravel-demo && composer require --dev laravel-fans/lint:dev-${{ github.ref_name }} && php artisan lint:publish
4343 php artisan lint:code --help
44- php artisan lint:code database/seeders/
44+ php artisan lint:code database/
Original file line number Diff line number Diff line change 22
33[ ![ codecov] ( https://codecov.io/gh/laravel-fans/laravel-lint/graph/badge.svg?token=QJjYkPVnr4 )] ( https://codecov.io/gh/laravel-fans/laravel-lint )
44![ Packagist Downloads] ( https://img.shields.io/packagist/dm/laravel-fans/lint )
5- [ ![ Laravel 8] ( https://github.com/laravel-fans/laravel-lint/actions/workflows/laravel-8.yml/badge.svg )] ( https://github.com/laravel-fans/laravel-lint/actions/workflows/laravel-8.yml )
65[ ![ Laravel 9] ( https://github.com/laravel-fans/laravel-lint/actions/workflows/laravel-9.yml/badge.svg )] ( https://github.com/laravel-fans/laravel-lint/actions/workflows/laravel-9.yml )
76
87Check Code Style(default PSR-12) for Laravel
Original file line number Diff line number Diff line change 3030 "minimum-stability" : " stable" ,
3131 "require" : {
3232 "ext-json" : " *" ,
33- "illuminate/support" : " >=v8 " ,
33+ "illuminate/support" : " >=v9 " ,
3434 "phpmd/phpmd" : " >=2.10" ,
3535 "squizlabs/php_codesniffer" : " >=3.5"
3636 },
3737 "require-dev" : {
38- "orchestra/testbench" : " >=v6 "
38+ "orchestra/testbench" : " >=v7 "
3939 }
4040}
Original file line number Diff line number Diff line change 1111 <!-- Include the whole PSR12 standard -->
1212 <rule ref =" PSR12" />
1313
14- <!-- ignore ERROR: Each class must be in a namespace of at least one level (a top-level vendor name) -->
15- <rule ref =" PSR1.Classes.ClassDeclaration.MissingNamespace" >
16- <exclude-pattern >/database/migrations/</exclude-pattern >
17- </rule >
18-
1914 <!-- ignore WARNING: No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them. -->
2015 <rule ref =" Internal.NoCodeFound" >
2116 <exclude-pattern >/resources/views/</exclude-pattern >
You can’t perform that action at this time.
0 commit comments