Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

$config = new PhpCsFixer\Config();
$config->setFinder($finder);
// Allow running on PHP versions php-cs-fixer doesn't officially support yet
// (we run on the latest stable PHP). Replaces the deprecated
// PHP_CS_FIXER_IGNORE_ENV env var.
$config->setUnsupportedPhpVersionAllowed(true);

$config->setRules([
'@Symfony' => true,
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- [#78](https://github.com/itk-dev/devops_itksites/pull/78)
Update composer dependencies, fix php-cs-fixer deprecation
- [#77](https://github.com/itk-dev/devops_itksites/pull/77)
Fix SemverFilter: respect value2 with directional operators
- [#76](https://github.com/itk-dev/devops_itksites/pull/76)
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@
"assets:install %PUBLIC_DIR%": "symfony-cmd"
},
"coding-standards-apply": [
"PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix"
"vendor/bin/php-cs-fixer fix"
],
"coding-standards-check": [
"PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run"
"vendor/bin/php-cs-fixer fix --dry-run"
],
"fixtures-load": [
"bin/console hautelook:fixtures:load --no-interaction"
Expand Down
Loading
Loading