Skip to content

Commit

Permalink
feat: #27 laravel 9 migrations are clean
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunthegeek committed Nov 17, 2024
1 parent cca822b commit b1938aa
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 53 deletions.
44 changes: 0 additions & 44 deletions .github/workflows/laravel-8.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/laravel-9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
composer create-project --prefer-dist laravel/laravel laravel-demo "9.*"
cd laravel-demo && composer require --dev laravel-fans/lint:dev-${{ github.ref_name }} && php artisan lint:publish
php artisan lint:code --help
php artisan lint:code database/seeders/
php artisan lint:code database/
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

[![codecov](https://codecov.io/gh/laravel-fans/laravel-lint/graph/badge.svg?token=QJjYkPVnr4)](https://codecov.io/gh/laravel-fans/laravel-lint)
![Packagist Downloads](https://img.shields.io/packagist/dm/laravel-fans/lint)
[![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)
[![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)

Check Code Style(default PSR-12) for Laravel
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
"minimum-stability": "stable",
"require": {
"ext-json": "*",
"illuminate/support": ">=v8",
"illuminate/support": ">=v9",
"phpmd/phpmd": ">=2.10",
"squizlabs/php_codesniffer": ">=3.5"
},
"require-dev": {
"orchestra/testbench": ">=v6"
"orchestra/testbench": ">=v7"
}
}
5 changes: 0 additions & 5 deletions src/stubs/phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
<!-- Include the whole PSR12 standard -->
<rule ref="PSR12"/>

<!-- ignore ERROR: Each class must be in a namespace of at least one level (a top-level vendor name) -->
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>/database/migrations/</exclude-pattern>
</rule>

<!-- 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. -->
<rule ref="Internal.NoCodeFound">
<exclude-pattern>/resources/views/</exclude-pattern>
Expand Down

0 comments on commit b1938aa

Please sign in to comment.