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
Run tests on lowest deps also #123
Conversation
Root of CS errors. |
yep, the phpcs errors can be fixed by upgrading the non direct dependency |
Done. |
|
Let's just ignore CS. |
the dev deps in general are not important at all for the lowest deps test IMO. annoying that they get downgraded |
a good pragmatical solution might be to run the lowest tests with just e.g. |
looks like you're determined to fix it |
@herndlm Dev deps fixed!
How to handle inconsistent WP types? |
AFAIK WP 6.0 introduced meaningful types. Up to 5.0 types were mainly ignored. |
You can't cook a tasty soup from mud!! |
hehe, I wanted to suggest to wrap some tests maybe in something like if (InstalledVersions::satisfies(new VersionParser(), 'php-stubs/wordpress-stubs', '^5.0')) {
yield from $this->gatherAssertTypes(__DIR__ . '/data/wp_error_parameter.php');
} but locking the stubs should be fine, right. lower phpstan version is the most interesting thing most likely :) |
I think this makes sense, thx Viktor |
@herndlm Here we go🐎
From #122 (comment)