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 41
41
composer create-project --prefer-dist laravel/laravel laravel-demo "9.*"
42
42
cd laravel-demo && composer require --dev laravel-fans/lint:dev-${{ github.ref_name }} && php artisan lint:publish
43
43
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 2
2
3
3
[ ![ codecov] ( https://codecov.io/gh/laravel-fans/laravel-lint/graph/badge.svg?token=QJjYkPVnr4 )] ( https://codecov.io/gh/laravel-fans/laravel-lint )
4
4
![ 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 )
6
5
[ ![ 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 )
7
6
8
7
Check Code Style(default PSR-12) for Laravel
Original file line number Diff line number Diff line change 30
30
"minimum-stability" : " stable" ,
31
31
"require" : {
32
32
"ext-json" : " *" ,
33
- "illuminate/support" : " >=v8 " ,
33
+ "illuminate/support" : " >=v9 " ,
34
34
"phpmd/phpmd" : " >=2.10" ,
35
35
"squizlabs/php_codesniffer" : " >=3.5"
36
36
},
37
37
"require-dev" : {
38
- "orchestra/testbench" : " >=v6 "
38
+ "orchestra/testbench" : " >=v7 "
39
39
}
40
40
}
Original file line number Diff line number Diff line change 11
11
<!-- Include the whole PSR12 standard -->
12
12
<rule ref =" PSR12" />
13
13
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
-
19
14
<!-- 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. -->
20
15
<rule ref =" Internal.NoCodeFound" >
21
16
<exclude-pattern >/resources/views/</exclude-pattern >
You can’t perform that action at this time.
0 commit comments