Skip to content

Commit

Permalink
Merge pull request #27 from PhpGt/26-scrutinizer
Browse files Browse the repository at this point in the history
ci: add scrutinizer config
  • Loading branch information
g105b authored Sep 24, 2022
2 parents bfd26ee + 34b5a1e commit 6fdbf83
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
build:
environment:
php: 8.1.0

nodes:
analysis:
tests:
override:
- php-scrutinizer-run

tests-and-coverage:
environment:
php:
ini:
"xdebug.mode": coverage
tests:
override:
- phpcs-run ./src
- command: "vendor/bin/phpunit test/phpunit --coverage-clover test/phpunit/_coverage --whitelist src"
coverage:
file: "test/phpunit/_coverage"
format: "php-clover"

checks:
php:
code_rating: true
duplication: true

filter:
excluded_paths:
- test/*
- vendor/*

0 comments on commit 6fdbf83

Please sign in to comment.