This repository has been archived by the owner on Nov 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove PHP 7.4 from CI builds. * Update Docker to PHP 8. * Update .gitattributes. * Update packages to PHP 8. * Install Rector. * Add Rector alias. * Configure Rector. * Upgrade code to PHP 8.
- Loading branch information
Showing
8 changed files
with
556 additions
and
486 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
/.semaphore export-ignore | ||
/.github export-ignore | ||
/docker export-ignore | ||
/tests export-ignore | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.php-cs-fixer.dist.php export-ignore | ||
/composer.lock export-ignore | ||
/LICENSE export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/php-email-tokens export-ignore | ||
/README.md export-ignore |
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 |
---|---|---|
|
@@ -15,7 +15,6 @@ jobs: | |
strategy: | ||
matrix: | ||
php-version: | ||
- '7.4' | ||
- '8.0' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
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,4 +1,9 @@ | ||
<?php | ||
return FusionsPim\PhpCsFixer\Factory::fromDefaults([ | ||
$config = FusionsPim\PhpCsFixer\Factory::fromDefaults([ | ||
'ordered_class_elements' => true, // Order methods too (our default is to leave methods alone) | ||
]); | ||
|
||
return $config->setFinder( | ||
$config->getFinder() | ||
->notName('rector.php') | ||
); |
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
Oops, something went wrong.