Skip to content

Commit

Permalink
added scrutinizer and ocular
Browse files Browse the repository at this point in the history
  • Loading branch information
ogmueller committed Mar 18, 2024
1 parent 65c2022 commit a6dc550
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
imports:
- php

filter:
paths: [src/*]
excluded_paths: [test/*]

tools:
external_code_coverage:
timeout: 600
php_mess_detector: true
php_code_sniffer:
enabled: true
config:
standard: psr1
sensiolabs_security_checker: true
#php_code_coverage: true
php_pdepend: true
php_loc:
enabled: true
excluded_dirs: [tests]
php_cpd:
enabled: true
excluded_dirs: [tests]

before_commands:
- composer install

4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
"fakerphp/faker": "^1.23.1",
"psalm/plugin-phpunit": "~0.18.4",
"rector/rector": "^1.0.2",
"vimeo/psalm": "^5.23.1"
"vimeo/psalm": "^5.23.1",
"roave/security-advisories" : "dev-master",
"scrutinizer/ocular" : "dev-master"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down

0 comments on commit a6dc550

Please sign in to comment.