-
Notifications
You must be signed in to change notification settings - Fork 222
Reconfigure Travis-CI #685
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
Conversation
@murtukov any reason (related to PCOV) to drop the previous versions of PHP? |
@mavimo No, there is no specific reason related to PCOV. It just aims the |
@murtukov the php-cs-fixer version we are using at the moment (2.15.3) fail on php7.4, can you bump the required version to v2.16.4 in our composer.json, this should fix the travis-ci failure, thx! |
@mavimo ok, i changed the version but the travis jobs for php-cs-fixer and phpstan were still failing. I performed cs-fix and fixed the reported errors for static analysis.
The another problem is, that the local code-quality and the one in travis are generating a little different report, that's why I pushed so many commits, because I coudln't check code-quality locally. I don't know, how other branches were merged, if they all fail in coding quality, even 0.11. |
de190c9
to
2af2356
Compare
Everything seem good in the phpunit config file, this issue comes from pcov dir configuration itself
I don't use PCOV so I can't help you on this one. |
@mcg-web I am not sure about
I am really confused right now. I will change into different target branches of this PR to see if all checks pass. Update: bad idea to chage the target branch of this PR. I will rather open another draft PR to test if coverage works in other branches. Update: as I expected it covers the Update: Ok, I found the problem. Will provide the fix commit soon with description. |
- Drop PHP versions below 7.4 - Replace Xdebug with PCOV driver - Exclude 'vendor' and 'tests' folders from coverage Perform code-quality fixes: - Update PHP-CS-Fixer to v2.16.4 - Remove redundant PHPDoc tags - Disable 'single_line_throw' rule - Fix invalid @param tags - Remove unused use statement - Remove redundant @param tag - Remove unmatched error patterns - Add @var tag with type-hints
37c83c6
to
8d0cd09
Compare
@mcg-web You were right, the problem was in the Notes for the future:
I squashed all commits again. There are no new critical changes, so I assume it doesn't require another review and merge this. |
@murtukov LGTM! PS: thx for all the effort you put on this PR! 💪 |
Update: