Merge pull request #84 from elisei/TwoCc #301
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Magento Coding Quality | |
| on: [push, pull_request] | |
| jobs: | |
| phpcs: | |
| name: PHP Coding Quality | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: PHP Coding Standard Magento2 | |
| run: docker run --rm -v $PWD:/code:ro domw/phpcs phpcs --colors --standard=Magento2 --severity=1 ./ | |
| - name: PhpCompatibility | |
| run: docker run --rm -v $PWD:/code:ro domw/phpcompatibility phpcs --standard=PHPCompatibility --runtime-set testVersion 8.1-8.2-8.3-8.4 --colors ./ |