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

CS update after upstream changes #291

Merged
merged 4 commits into from
Aug 8, 2021

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Aug 8, 2021

PHPCS ruleset: update ruleset for upstream changes

  • Fix the name and description to prevent confusion between the project ruleset and the organisation ruleset.
  • Set the minimum PHP version for the PHPCompatibility standard.
  • Don't require property type declarations.
  • Ensure special characters used as literals in an exclude pattern are escaped.

CS: no whitespace before return type colon

CS: blank line between different use statement types

CS: miscellaneous other whitespace fixes

* Fix the name and description to prevent confusion between the project ruleset and the organisation ruleset.
* Set the minimum PHP version for the PHPCompatibility standard.
* Don't require property type declarations.
* Ensure special characters used as literals in an exclude pattern are escaped.
@jrfnl
Copy link
Contributor Author

jrfnl commented Aug 8, 2021

The build failure is unrelated to this PR. See my other PRs. Happy to rebase after those have been merged.

@jaapio
Copy link
Member

jaapio commented Aug 8, 2021

These changes look good to me. I need to have a look at the psalm failures. But this one is good to go!

@jaapio jaapio merged commit e45d003 into phpDocumentor:master Aug 8, 2021
@jrfnl jrfnl deleted the feature/cs-update branch August 8, 2021 19:19
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.

None yet

2 participants