Skip to content

Commit 863dd21

Browse files
author
farhadzand
committed
fix sq
1 parent ea9f298 commit 863dd21

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/code-quality.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
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
@@ -32,6 +34,6 @@ jobs:
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"

.scrutinizer.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

128127
tools:
129-
external_code_coverage: false
128+
external_code_coverage:
129+
timeout: 600
130+
runs: 1

0 commit comments

Comments
 (0)