Skip to content
Closed
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
- Allow `slevomat/coding-standard` ^7
- Add new `ecs-8.0.php` coding standard declaration file for PHP 8.0+.
- Add new `ecs-8.1.php` coding standard declaration file for PHP 8.1+.
- Use forked version of ecs and php-cs-fixer with a better support for PHP 8+
- Fix `mixed` type in phpdocs
- Fix `union-types` type in phpdocs

## 3.2.1 - 2022-01-04
- Fix SpecifyArgSeparatorFixer type error when adding empty `$numeric_prefix` parameter in PHP 7.4+.
Expand Down
14 changes: 12 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
],
"require": {
"php": "^7.3 || ^8.0",
"friendsofphp/php-cs-fixer": "^3.0",
"friendsofphp/php-cs-fixer": "dev-feature/fix-union-types-in-phpdocs as 3.8.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we discussed, this will make it not installable without copying repositories block to every composer.json using lmc/coding-standard 😬

"nette/utils": "^3.2",
"slevomat/coding-standard": "^6.4.1 || ^7.0",
"squizlabs/php_codesniffer": "^3.6",
"symplify/easy-coding-standard": "^10.0"
"symplify/easy-coding-standard": "dev-feature/use-dev-version-of-php-cs-fixer as 10.1.4"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.13.2",
Expand All @@ -25,6 +25,16 @@
"phpstan/phpstan-phpunit": "^1.0.0",
"phpunit/phpunit": "^9.5.2"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/MortalFlesh/PHP-CS-Fixer"
},
{
"type": "vcs",
"url": "https://github.com/MortalFlesh/easy-coding-standard"
}
],
"prefer-stable": true,
"autoload": {
"psr-4": {
Expand Down