From 20b3b63801226069ef5dd6ead1560e4581ea2c3b Mon Sep 17 00:00:00 2001 From: Gareth Parker Date: Sat, 24 Aug 2024 13:02:13 +0100 Subject: [PATCH] Update gitignore and add local scrutinizer config --- .gitignore | 1 + .scrutinizer.yml | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .scrutinizer.yml diff --git a/.gitignore b/.gitignore index 3e1104b3..d96f0e1f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ build/ Resources/auth.json .vagrant .phpunit.result.cache +.phpunit.cache/ diff --git a/.scrutinizer.yml b/.scrutinizer.yml new file mode 100644 index 00000000..8fabc9de --- /dev/null +++ b/.scrutinizer.yml @@ -0,0 +1,27 @@ +filter: + excluded_paths: + - 'tests/*' + - 'src/API/Type/*' + - 'src/API/Message/*' + - 'src/Generator/*' + - 'examples/*' +tools: + external_code_coverage: true +checks: + php: + code_rating: true + duplication: true +coding_style: + php: + indentation: + general: + size: 1 + +build: + environment: + php: 8.3.1 + nodes: + analysis: + tests: + override: + - php-scrutinizer-run