-
Notifications
You must be signed in to change notification settings - Fork 14
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
Update deps + test on dbal v3 #87
Conversation
- Updates dev deps - Fixes coverage in ci - Migrate phpunit config to newer schema - Ignore unmatched errors in phpstan - Adds asserts to fix phpstan errors - Fixes methods accessing dbal v3 - Use mysql80/postgressql10 platforms
@moufmouf This is another pr in a series of pr's to add support for dbal v3 in https://github.com/thecodingmachine/tdbm: thecodingmachine/schema-analyzer#13 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your work on this! (sorry for the late review)
The changes are quite good!
# Let's wait for MySQL 8 to start | ||
sleep 20 | ||
|
||
vendor/bin/phpunit -c phpunit.xml.dist $NO_COVERAGE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this $NO_COVERAGE
variable ? Can you document it at the beginning of the file ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's just a way to pass arguments to phpunit, NO_COVERAGE=--no-coverage
, since it's a dev script, i don't think it's worth documenting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could just be a $PHPUNIT_ARG
looking at the position? Or $PHPUNIT_EXTRA_ARG
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aszenz Thank you for your contribution to upgrade the whole TDBM stack to DBAL 3!
Released in https://github.com/thecodingmachine/magic-query/releases/tag/v2.0.0-beta.2
After updating schema-analyzer in thecodingmachine/schema-analyzer#13
Follow up of 0c0ab13 to support v2 of schema analyzer