Skip to content

Commit a75cf23

Browse files
committed
Add Scrutinizer config
1 parent 679a664 commit a75cf23

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.scrutinizer.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
build:
2+
environment:
3+
php:
4+
version: 8.3.13
5+
ini:
6+
'xdebug.mode': 'coverage'
7+
nodes:
8+
analysis:
9+
project_setup:
10+
override:
11+
- 'true'
12+
tests:
13+
override:
14+
- php-scrutinizer-run
15+
- command: vendor/bin/phpunit --coverage-clover=coverage.clover
16+
- command: vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
17+
checks:
18+
php: true
19+
tools:
20+
external_code_coverage:
21+
timeout: 900

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"phpunit/phpunit": "^12.1",
3333
"rector/rector": "^2.0",
3434
"rregeer/phpunit-coverage-check": "^0.3.1",
35+
"scrutinizer/ocular": "^1.9",
3536
"shipmonk/composer-dependency-analyser": "^1.5",
3637
"symfony/property-access": "^7.0"
3738
},

0 commit comments

Comments
 (0)