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

Fix PHPStan Paths for WordPress VIP #115

Merged
merged 1 commit into from
Dec 31, 2024
Merged

Conversation

mslinnea
Copy link
Member

@mslinnea mslinnea commented Dec 27, 2024

Closes #97
I ran the configure script locally, created a VIP project, ran PHPStan with my changes here, and all passed :)

@mslinnea mslinnea requested a review from a team as a code owner December 27, 2024 00:14
@kevinfodness
Copy link
Member

why we're limiting the paths to only existing mu-plugin files

If I understand correctly, you're wondering why we're only scanning specific files in mu-plugins, right? That's because we only want to scan files that we control. If we would add a third party mu-plugin (either a directory of a file) we wouldn't want to scan it because it might not conform to our standards. That would be the case if we added Pantheon's mu-plugin or if we included one of VIP's helpers or plugins.

@mslinnea
Copy link
Member Author

The test failures here are unrelated, and stem from this issue: #114

@mslinnea mslinnea merged commit b0323d7 into develop Dec 31, 2024
1 check failed
@mslinnea mslinnea deleted the bug/phpstan-paths-for-vip branch December 31, 2024 16:09
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.

Fix PHPStan Paths for WordPress VIP
3 participants