Skip to content

v1.0.0

Choose a tag to compare

@olivernybroe olivernybroe released this 28 Sep 13:14
· 164 commits to main since this release

⚠️ This version contains a breaking change, you will now not run phpcsfixer and phpcs directly anymore, but will run it through ECS. A new generation is added to give you the needed ECS config to get quickly up and running. ⚠️

What's Changed

  • Change phpcs and phcsfixer to ECS instead

Upgrade guide

For upgrading to this new version you would need to use ECS instead. Simply rerun the composer generate-coding-style-stubs to get the new ECS stub file instead.

Once you have that we recommend you to replace the scripts with the following ones instead

"scripts": {
    "ecs": "vendor/bin/ecs",
    "ecs:fix": "vendor/bin/ecs --fix",
    "phpstan": "vendor/bin/phpstan analyse",
    "rector": "vendor/bin/rector process --dry-run --ansi",
    "rector:fix": "vendor/bin/rector process --ansi"
},

If you were running phpcs or phpcsfixer in CI, we recommend to replace this with composer ecs instead.
The performance is better and now only one tool is required

Full Changelog: v0.29.0...v1.0.0