-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop Laravel 8, allow Laravel 11 (#93)
* bump dev deps * drop Laravel 8, allow Laravel 11 * apply cs, make use of psr12 * rerun rector * [rector] Rector fixes --------- Co-authored-by: GitHub Action <actions@github.com>
- Loading branch information
1 parent
c8f99c5
commit 593c05f
Showing
13 changed files
with
71 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,11 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
use Symplify\CodingStandard\Fixer\LineLength\LineLengthFixer; | ||
|
||
use Symplify\EasyCodingStandard\Config\ECSConfig; | ||
use Symplify\EasyCodingStandard\ValueObject\Set\SetList; | ||
|
||
return static function (ECSConfig $ecsConfig): void { | ||
$ecsConfig->paths([ | ||
__DIR__ . '/src', | ||
__DIR__ . '/tests', | ||
// configs | ||
__DIR__ . '/ecs.php', | ||
__DIR__ . '/rector.php', | ||
]); | ||
$ecsConfig->skip(['*/Fixture/*']); | ||
// this way you can add sets - group of rules | ||
$ecsConfig->sets([ | ||
SetList::SPACES, | ||
SetList::ARRAY, | ||
SetList::STRICT, | ||
SetList::DOCBLOCK, | ||
SetList::NAMESPACES, | ||
SetList::COMMENTS, | ||
SetList::PSR_12, | ||
]); | ||
$ecsConfig->rules([LineLengthFixer::class]); | ||
}; | ||
return ECSConfig::configure() | ||
->withPaths([__DIR__ . '/src', __DIR__ . '/tests']) | ||
->withRootFiles() | ||
->withPreparedSets(psr12: true, common: true, symplify: true) | ||
->withSkip(['*/Fixture/*']); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters