Skip to content

Commit

Permalink
Merge 0cad6e3 into 4ecda43
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraM committed Feb 4, 2021
2 parents 4ecda43 + 0cad6e3 commit d18bada
Show file tree
Hide file tree
Showing 5 changed files with 486 additions and 314 deletions.
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
21 changes: 5 additions & 16 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,7 @@
"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",
Expand Down Expand Up @@ -58,19 +49,17 @@
"@test"
],
"analyze": [
"vendor/bin/ecs check src/ tests/ --ansi",
"vendor/bin/ecs check src/ tests/ ecs.php --ansi",
"vendor/bin/phpstan.phar 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
288 changes: 0 additions & 288 deletions easy-coding-standard.yaml

This file was deleted.

0 comments on commit d18bada

Please sign in to comment.