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

Various minor cs tweaks #1710

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented May 12, 2024

Clean up after some recent merges.

CS: various minor tweaks

CS/QA: use use statements

Follow up on #1357 which removed support for PHPCS 2.x from the base test case.

Docs: use FQN in docblocks

jrfnl added 3 commits May 11, 2024 11:45
Follow up on 1357 which removed support for PHPCS 2.x from the base test case.
@jrfnl jrfnl added chores/QA PR: quick merge PR only contains relatively simple changes PR: ready for review labels May 12, 2024
@jrfnl jrfnl added this to the 10.0.0 milestone May 12, 2024
@jrfnl jrfnl requested a review from wimg May 12, 2024 06:35
Copy link
Contributor

@fredden fredden left a comment

Choose a reason for hiding this comment

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

Ideally these style changes would be enforced with suitable rules in the ruleset. Eg, SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalFunctions, SlevomatCodingStandard.Namespaces.UnusedUses.

@jrfnl
Copy link
Member Author

jrfnl commented May 14, 2024

Ideally these style changes would be enforced with suitable rules in the ruleset. Eg, SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalFunctions, SlevomatCodingStandard.Namespaces.UnusedUses.

Agreed, but the Slevomat standard has a higher minimum PHP version, which means, we can't add it to our dependencies, so for now, a manual sweep up once in a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chores/QA PR: quick merge PR only contains relatively simple changes PR: ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants