Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2021-01-15 10:53:48 +0300
committerGitHub <noreply@github.com>2021-01-15 10:53:48 +0300
commitb38578b468d694534db5fabe356db5ffdc58bd6e (patch)
treef9d0307513b614d966075d946ac5e68bed1c660a /composer.json
parent6f957d15b4db3b0d8d54f046de33207044f87681 (diff)
Introduce PHP CS to improve code quality (#16755)
* Adds PHP CS with a basic config * automatically check coding style for pull requests * Disallow usage of eval & create_function and force using Common::safe_unserialize instead of unserialize * Forbid inline control structures * fix test
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/composer.json b/composer.json
index ccec9c52bf..a4449b8c3c 100644
--- a/composer.json
+++ b/composer.json
@@ -61,7 +61,9 @@
},
"require-dev": {
"lox/xhprof": "dev-master",
+ "mayflower/mo4-coding-standard": "~6.0",
"phpunit/phpunit": "~8.5",
+ "squizlabs/php_codesniffer": "^3.5",
"symfony/var-dumper": "~2.6.0",
"symfony/yaml": "~2.6.0"
},