Skip to content

Linted for wpcom#160

Merged
akirk merged 8 commits intoakirk:mainfrom
mattwiebe:update/wpcom-lint
Jul 30, 2024
Merged

Linted for wpcom#160
akirk merged 8 commits intoakirk:mainfrom
mattwiebe:update/wpcom-lint

Conversation

@mattwiebe
Copy link
Copy Markdown
Contributor

@mattwiebe mattwiebe commented Jul 9, 2024

I used phpcs:ignore perhaps a little too liberally, and phpcs may be annoying now with the full WP ruleset, but we can't ship to dotcom without some lint fixes.

I'm going to try to find a way to bypass lint for vendor/bshaffer/oauth2-server-php on wpcom though, because its code style is so radically different, although I did see indication that it's not receiving updates anyway?

@mattwiebe
Copy link
Copy Markdown
Contributor Author

I'm happy to ditch the changes to phpcs.dist.xml since it's failing the CS test with a bunch of warnings, or we could adjust the reporting to errors only

@akirk
Copy link
Copy Markdown
Owner

akirk commented Jul 30, 2024

I fixed a bunch of warnings.

@akirk
Copy link
Copy Markdown
Owner

akirk commented Jul 30, 2024

Thank you very much! I fixed a bunch of warnings, I had already started a similar effort in #156.

@akirk akirk merged commit 96f290d into akirk:main Jul 30, 2024
@mattwiebe mattwiebe deleted the update/wpcom-lint branch July 30, 2024 18:41
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.

2 participants