slevomat / coding-standard

Slevomat Coding Standard for PHP_CodeSniffer provides many useful sniffs
MIT License
1.37k stars 170 forks source link

`squizlabs/PHP_CodeSniffer` is abandoned #1640

Closed LordSimal closed 7 months ago

LordSimal commented 7 months ago

See https://github.com/squizlabs/PHP_CodeSniffer/issues/3932

Will this package switch to https://github.com/PHPCSStandards/PHP_CodeSniffer as it is a direct fork?

kukulich commented 7 months ago

Yes.

bkdotcom commented 7 months ago

@kukulich Should a new maintenance release be created? My repo requires both phpcsstandards/php_codesniffer and slevomat/coding-standard if I were to composer install now, composer would puill a version of slevomat that also includes the old squizlabs

jrfnl commented 7 months ago

@bkdotcom As per the announcement:

Note: I would recommend waiting to make the switch until the 3.8.0 release has been tagged. Watch releases on the new repo to automatically get notified of this. The changelog will contain the relevant information for making the switch.

Until a release has been tagged from the new repo with the replace directive in the composer.json, things won't work as expected as the files in the vendor/bin won't be replaced.

jrfnl commented 7 months ago

Update: looks like the Composer package name may not change after all. See this comment and the ones below it and https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/135

github-actions[bot] commented 6 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.