From a6dc55078856360398ba0052e0ae323da5a6523a Mon Sep 17 00:00:00 2001 From: "Oliver G. Mueller" Date: Mon, 18 Mar 2024 09:10:44 +0100 Subject: [PATCH] added scrutinizer and ocular --- .scrutinizer.yml | 28 ++++++++++++++++++++++++++++ composer.json | 4 +++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 .scrutinizer.yml diff --git a/.scrutinizer.yml b/.scrutinizer.yml new file mode 100644 index 0000000..2115ae2 --- /dev/null +++ b/.scrutinizer.yml @@ -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 + diff --git a/composer.json b/composer.json index 40722de..0a1379f 100644 --- a/composer.json +++ b/composer.json @@ -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,