diff options
author | VirtualTam <virtualtam@flibidi.org> | 2015-02-25 22:08:50 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.org> | 2015-03-05 23:28:43 +0100 |
commit | 00f98bdacaba026e3d16aed36605bc21b72903ab (patch) | |
tree | a9cbb69f91ff7fee3a6f72dc87399a2034f95971 /composer.json | |
parent | 3a10fa0e3f0d0978dc359d1407b93fe425f44b25 (diff) | |
download | Shaarli-00f98bdacaba026e3d16aed36605bc21b72903ab.tar.gz Shaarli-00f98bdacaba026e3d16aed36605bc21b72903ab.tar.zst Shaarli-00f98bdacaba026e3d16aed36605bc21b72903ab.zip |
Code quality: Makefile to run static code checkers
Relates to #71
Relates to #95
Additions:
- Makefile for easy usage,
- Composer file to declare dev & test dependencies.
Features:
- PHP Copy/Paste Detect: detect duplicate code;
- PHP Code Sniffer: static analysis, syntax checking,
- PHP Mess Detector: static analysis, syntax checking.
Signed-off-by: VirtualTam <virtualtam@flibidi.org>
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/composer.json b/composer.json new file mode 100644 index 00000000..d1f613c1 --- /dev/null +++ b/composer.json | |||
@@ -0,0 +1,14 @@ | |||
1 | { | ||
2 | "name": "shaarli/shaarli", | ||
3 | "description": "The personal, minimalist, super-fast, no-database delicious clone", | ||
4 | "license": "MIT", | ||
5 | "support": { | ||
6 | "issues": "https://github.com/shaarli/Shaarli/issues" | ||
7 | }, | ||
8 | "require": {}, | ||
9 | "require-dev": { | ||
10 | "phpmd/phpmd" : "@stable", | ||
11 | "sebastian/phpcpd": "*", | ||
12 | "squizlabs/php_codesniffer": "2.*" | ||
13 | } | ||
14 | } | ||