Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removal of several rules. #72

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

rickprent
Copy link
Contributor

The following rules have been removed by their managing repositories:

- Generic.Formatting.MultipleStatementAlignment
    * ignoreMultiLine
- SlevomatCodingStandard.TypeHints.DeclareStrictTypes
    * newlinesCountBetweenOpenTagAndDeclare
    * newlinesCountAfterDeclare

This is now an issue because of https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md?plain=1#L77, which results in the following errors:

ERROR: Ruleset invalid. Property "ignoreMultiLine" does not exist on sniff Generic.Formatting.MultipleStatementAlignment

ERROR: Ruleset invalid. Property "newlinesCountBetweenOpenTagAndDeclare" does not exist on sniff SlevomatCodingStandard.TypeHints.DeclareStrictTypes

ERROR: Ruleset invalid. Property "newlinesCountAfterDeclare" does not exist on sniff SlevomatCodingStandard.TypeHints.DeclareStrictTypes

The references to the removal of these rules in their managing repositories:
https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md?plain=1#L3475
slevomat/coding-standard@b71f8d7
slevomat/coding-standard@a623909

@rickprent rickprent merged commit 3d57901 into hostnet:master Dec 11, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants