Skip to content

Conversation

ihor-sviziev
Copy link
Collaborator

@ihor-sviziev ihor-sviziev commented Jul 27, 2021

This PR changes running tests on all supported PHP versions (7.2, 7.3, 7.4, 8.0) on the highest and lowest dependency versions to make sure we don't have any issues with dependencies.

Notes:

  • The phpcs is not compatible with PHPUnit 8 and PHPUnit 9, which is required for PHP 8. But the only latest version works fine with ignoring platform requirements in composer. For now, we're ignoring them for PHP 8.0.

  • PHP 8 is supported by phpcs 3.6.0. In prev. versions there were, so I'm running PHP 8 with only the highest dependencies

  • As PHP 8 builds is failing - I added continue on error only for this type of builds, so the entire CI isn't failing (https://github.com/magento/magento-coding-standard/actions/runs/1070813599)
    image

  • I tested this PR together with Fix TypeError for phpcs->addWarning() #205 - it fixes errors on PHP 8.

@sivaschenko
Copy link
Member

@magento import pr to magento-commerce/magento-coding-standard

@magento-engcom-team
Copy link
Contributor

@sivaschenko the pull request successfully imported.

@magento-devops-reposync-svc magento-devops-reposync-svc merged commit 1499615 into magento:develop Jul 29, 2021
@ihor-sviziev ihor-sviziev deleted the patch-1 branch July 29, 2021 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants