File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1515 - php : 7.4
1616 steps :
1717 - name : Check out repository code
18- uses : actions/checkout@v2
18+ uses : actions/checkout@v3
1919
2020 - name : Setup PHP ${{ matrix.php }}
2121 uses : shivammathur/setup-php@v2
2424 extensions : ${{ matrix.extensions }}
2525 ini-values : pcov.directory=moodle
2626 coverage : pcov
27- tools : composer, phpcpd
27+ tools : composer
2828
2929 - name : Install composer dependencies
3030 run : |
3636 ./vendor/bin/phplint
3737
3838 - name : PHP Copy/Paste Detector
39- continue-on-error : true # This step will show errors but will not fail
4039 if : ${{ always() }}
41- run : phpcpd --exclude moodle/tests moodle
40+ run : ./vendor/bin/ phpcpd --exclude moodle/Tests moodle
4241
4342 - name : Run phpunit
4443 if : ${{ always() }}
Original file line number Diff line number Diff line change 4141 "mikey179/vfsstream" : " ^1.6" ,
4242 "overtrue/phplint" : " ^3.0" ,
4343 "phpmd/phpmd" : " ^2.11" ,
44- "thor-juhasz/phpunit-coverage-check" : " ^0.3.0"
44+ "thor-juhasz/phpunit-coverage-check" : " ^0.3.0" ,
45+ "sebastian/phpcpd" : " ^6.0"
4546 },
4647 "replace" : {
4748 "moodlehq/moodle-local_codechecker" : " 3.1.0"
You can’t perform that action at this time.
0 commit comments