Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Commit 6ca28da

Browse files
committed
Settings up third party code analysers
(cherry picked from commit be1fb90)
1 parent 460e212 commit 6ca28da

File tree

3 files changed

+79
-0
lines changed

3 files changed

+79
-0
lines changed

.codeclimate.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
#
2+
# This file is part of phpFastCache.
3+
#
4+
# @license MIT License (MIT)
5+
#
6+
# For full copyright and license information, please see the docs/CREDITS.txt file.
7+
#
8+
# @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
9+
# @author Georges.L (Geolim4) <contact@geolim4.com>
10+
#
11+
12+
engines:
13+
duplication:
14+
enabled: false
15+
checks:
16+
Similar code:
17+
enabled: false
18+
UnusedFormalParameter:
19+
enabled: false
20+
Controversial/CamelCaseClassName:
21+
enabled: false
22+
config:
23+
languages:
24+
- ruby
25+
- javascript
26+
- python
27+
- php
28+
fixme:
29+
enabled: true
30+
phpmd:
31+
enabled: true
32+
checks:
33+
CleanCode/ElseExpression:
34+
enabled: false
35+
CleanCode/BooleanArgumentFlag:
36+
enabled: false
37+
Controversial/Superglobals:
38+
enabled: false
39+
Controversial/CamelCaseVariableName:
40+
enabled: false
41+
Design/TooManyPublicMethods:
42+
enabled: false
43+
Design/NpathComplexity:
44+
enabled: false
45+
ratings:
46+
paths:
47+
- "**.inc"
48+
- "**.js"
49+
- "**.jsx"
50+
- "**.module"
51+
- "**.php"
52+
- "**.py"
53+
- "**.rb"
54+
exclude_paths:
55+
- "bin/**"
56+
- "examples/**"
57+
- "tests/**"

.scrutinizer.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
before_commands:
2+
- "composer install --no-dev --prefer-source"
3+
4+
filter:
5+
excluded_paths: ["bin/*", "docs/*", "examples/*", "var/*", "vendor/*"]
6+
checks:
7+
php: true
8+
coding_style:
9+
php:
10+
spaces:
11+
around_operators:
12+
concatenation: true
13+
tools:
14+
external_code_coverage: false
15+
php_code_coverage: true
16+
php_code_sniffer:
17+
enabled: true
18+
config:
19+
standard: PSR2
20+
php_mess_detector:
21+
enabled: true

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[![Code Climate](https://codeclimate.com/github/PHPSocialNetwork/phpfastcache-bundle/badges/gpa.svg)](https://codeclimate.com/github/PHPSocialNetwork/phpfastcache-bundle) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/PHPSocialNetwork/phpfastcache-bundle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/PHPSocialNetwork/phpfastcache-bundle/?branch=master) [![Build Status](https://travis-ci.org/PHPSocialNetwork/phpfastcache-bundle.svg?branch=master)](https://travis-ci.org/PHPSocialNetwork/phpfastcache) [![Latest Stable Version](http://img.shields.io/packagist/v/phpfastcache/phpfastcache-bundle.svg)](https://packagist.org/packages/phpfastcache/phpfastcache-bundle) [![Total Downloads](http://img.shields.io/packagist/dt/phpfastcache/phpfastcache-bundle.svg)](https://packagist.org/packages/phpfastcache/phpfastcache) [![Dependency Status](https://www.versioneye.com/php/phpfastcache:phpfastcache-bundle/badge.svg)](https://www.versioneye.com/php/phpfastcache:phpfastcache-bundle) [![License](https://img.shields.io/packagist/l/phpfastcache/phpfastcache-bundle.svg)](https://packagist.org/packages/phpfastcache/phpfastcache-bundle)
12
# Symfony 3 PhpFastCache Bundle
23

34

0 commit comments

Comments
 (0)