Skip to content

Commit b1938aa

Browse files
committed
feat: #27 laravel 9 migrations are clean
1 parent cca822b commit b1938aa

File tree

5 files changed

+3
-53
lines changed

5 files changed

+3
-53
lines changed

.github/workflows/laravel-8.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.github/workflows/laravel-9.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ jobs:
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/

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
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

87
Check Code Style(default PSR-12) for Laravel

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
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
}

src/stubs/phpcs.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
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>

0 commit comments

Comments
 (0)