File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1515 steps :
1616 - name : Checkout code
1717 uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
1820
1921 - name : Setup PHP
2022 uses : shivammathur/setup-php@v2
3234 vendor/bin/phpunit --coverage-clover=coverage.clover
3335
3436 - name : Upload coverage to Scrutinizer
35- run : |
36- wget https://scrutinizer-ci.com/ocular.phar
37- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
37+ uses : sudo-bot/action-scrutinizer@latest
38+ with :
39+ cli-args : " --format=php-clover coverage.clover"
Original file line number Diff line number Diff line change @@ -102,7 +102,6 @@ checks:
102102 instanceof_class_exists : true
103103 foreach_usable_as_reference : true
104104 foreach_traversable : true
105- fix_doc_comments : true
106105 encourage_shallow_comparison : true
107106 deprecated_code_usage : true
108107 deadlock_detection_in_loops : true
@@ -126,4 +125,6 @@ checks:
126125 use_self_instead_of_fqcn : true
127126
128127tools :
129- external_code_coverage : false
128+ external_code_coverage :
129+ timeout : 600
130+ runs : 1
You can’t perform that action at this time.
0 commit comments