Skip to content

Commit 6523972

Browse files
committed
ci(scrutinizer): update config
1 parent 605303d commit 6523972

File tree

1 file changed

+13
-28
lines changed

1 file changed

+13
-28
lines changed

.scrutinizer.yml

Lines changed: 13 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,17 @@
1-
# language: php
2-
31
filter:
4-
paths: [lib/*]
5-
excluded_paths: [tests/*, vendor/*]
6-
7-
before_commands:
8-
- 'composer self-update'
9-
- 'composer update --prefer-stable --prefer-source --no-interaction --no-scripts --no-progress --no-suggest'
2+
excluded_paths:
3+
- 'tests/'
104

11-
tools:
12-
php_code_coverage: false
13-
php_code_sniffer:
14-
enabled: true
15-
config:
16-
standard: 'PSR2'
17-
filter:
18-
paths: [lib/*, tests/*]
19-
php_mess_detector:
20-
enabled: true
21-
config:
22-
ruleset: 'unusedcode,naming,design,controversial,codesize'
23-
php_cpd: true
24-
php_loc: true
25-
php_pdepend: true
26-
php_analyzer: true
27-
sensiolabs_security_checker: true
5+
build:
6+
image: default-jammy
7+
environment:
8+
php: 8.1
9+
nodes:
10+
analysis:
11+
tests:
12+
override:
13+
- php-scrutinizer-run
14+
- phpcs-run --standard=phpcs.ruleset.xml
2815

2916
checks:
30-
php:
31-
custom_coding_standard:
32-
ruleset_path: phpcs.ruleset.xml
17+
php: true

0 commit comments

Comments
 (0)