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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
## Unreleased
- Replace `Symplify\CodingStandard\Sniffs\Naming\[AbstractClassNameSniff, ClassNameSuffixByParentSniff, InterfaceNameSniff and TraitNameSniff]` with equivalent versions backported to this repository.
- Drop PHP 7.2 support.
- **[BC break]** Change YAML config to PHP.
- Upgrade to easy-coding-standard 9.

## 2.1.0 - 2020-11-25
- Add various dangerous function calls to list of forbidden functions.
Expand Down
37 changes: 12 additions & 25 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,15 @@
"php": "^7.3",
"friendsofphp/php-cs-fixer": "^2.16.3",
"slevomat/coding-standard": "^6.4.1",
"symplify/auto-bind-parameter": "<8.1.21",
"symplify/autowire-array-parameter": "<8.1.21",
"symplify/coding-standard": "<8.1.21",
"symplify/console-color-diff": "<8.1.21",
"symplify/easy-coding-standard": "<8.1.21",
"symplify/package-builder": "<8.1.21",
"symplify/parameter-name-guard": "<8.1.21",
"symplify/phpstan-extensions": "<8.1.21",
"symplify/set-config-resolver": "<8.1.21",
"symplify/smart-file-system": "<8.1.21"
"symplify/easy-coding-standard": "^9.0.50"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.11",
"j13k/yaml-lint": "dev-master",
"mhujer/yaml-sort-checker": "^1.2",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12.0",
"phpstan/phpstan-phpunit": "^0.12.0",
"phpunit/phpunit": "^9.4.3"
"ergebnis/composer-normalize": "^2.13.2",
"php-parallel-lint/php-parallel-lint": "^1.2.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^0.12.71",
"phpstan/phpstan-phpunit": "^0.12.17",
"phpunit/phpunit": "^9.5.2"
},
"config": {
"preferred-install": {
Expand All @@ -58,19 +47,17 @@
"@test"
],
"analyze": [
"vendor/bin/ecs check src/ tests/ --ansi",
"vendor/bin/phpstan.phar analyze -c phpstan.neon --ansi"
"vendor/bin/ecs check src/ tests/ ecs.php --ansi",
"vendor/bin/phpstan analyze -c phpstan.neon --ansi"
],
"fix": [
"@composer normalize",
"vendor/bin/ecs check ./src/ ./tests/ --ansi --fix"
"vendor/bin/ecs check ./src/ ./tests/ ecs.php --ansi --fix"
],
"lint": [
"vendor/bin/parallel-lint -j 10 -e php ./src ./tests",
"vendor/bin/parallel-lint -j 10 -e php ./src ./tests ecs.php",
"@composer validate",
"@composer normalize --dry-run",
"for FILE_NAME in *.yml *.yaml; do vendor/bin/yaml-lint \"$FILE_NAME\"; done",
"vendor/bin/yaml-sort-checker"
"@composer normalize --dry-run"
],
"test": [
"vendor/bin/phpunit --colors=always"
Expand Down
Loading