Skip to content

Commit

Permalink
Added scrutinizer config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen de Graaf committed Nov 8, 2024
1 parent 9014008 commit 1ea8de0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
build:
environment:
php:
version: 8.3.13
ini:
'xdebug.mode': 'coverage'
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
- command: vendor/bin/phpunit --coverage-clover=coverage.clover
- command: vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
checks:
php: true
tools:
external_code_coverage:
timeout: 900
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"phpunit/phpunit": "^11.3",
"rector/rector": "^1.2",
"rregeer/phpunit-coverage-check": "^0.3.1",
"scrutinizer/ocular": "^1.9",
"shipmonk/composer-dependency-analyser": "^1.7"
},
"autoload": {
Expand Down

0 comments on commit 1ea8de0

Please sign in to comment.