Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.

Commit 55bef51

Browse files
committed
Fixing documentation badge and codeclimate configuration
1 parent 5daea7a commit 55bef51

File tree

2 files changed

+37
-12
lines changed

2 files changed

+37
-12
lines changed

.codeclimate.yml

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,33 @@
1-
engines:
2-
phpcodesniffer:
3-
enabled: true
4-
phpmd:
5-
enabled: true
6-
fixme:
7-
enabled: true
8-
ratings:
9-
paths:
10-
- "**.php"
11-
exclude_paths: []
1+
version: "2"
2+
checks:
3+
argument-count:
4+
config:
5+
threshold: 4
6+
complex-logic:
7+
config:
8+
threshold: 4
9+
file-lines:
10+
config:
11+
threshold: 250
12+
method-complexity:
13+
config:
14+
threshold: 5
15+
method-count:
16+
config:
17+
threshold: 20
18+
method-lines:
19+
config:
20+
threshold: 25
21+
nested-control-flow:
22+
config:
23+
threshold: 4
24+
return-statements:
25+
config:
26+
threshold: 4
27+
exclude_patterns:
28+
- 'docs/'
29+
- 'tests/'
30+
- 'vendor/'
1231
plugins:
1332
duplication:
1433
enabled: true
@@ -19,3 +38,9 @@ plugins:
1938
checks:
2039
Similar code:
2140
enabled: false
41+
fixme:
42+
enabled: true
43+
phpcodesniffer:
44+
enabled: true
45+
phpmd:
46+
enabled: true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Could potentially add support for other platforms if an interest is expressed.
77
[![Build Status](https://travis-ci.org/Alexandre-T/doctrine2-spatial.svg?branch=master)](https://travis-ci.org/Alexandre-T/doctrine2-spatial)
88
[![Code Climate](https://codeclimate.com/github/Alexandre-T/doctrine2-spatial/badges/gpa.svg)](https://codeclimate.com/github/Alexandre-T/doctrine2-spatial)
99
[![Coverage Status](https://coveralls.io/repos/Alexandre-T/doctrine2-spatial/badge.svg?branch=master&service=github)](https://coveralls.io/github/Alexandre-T/doctrine2-spatial?branch=master)
10-
[![Downloads](https://img.shields.io/packagist/dm/Alexandre-T/doctrine2-spatial.svg)](https://packagist.org/packages/Alexandre-T/doctrine2-spatial)
10+
[![Downloads](https://img.shields.io/packagist/dm/alexandret/doctrine2-spatial.svg)](https://packagist.org/packages/alexandret/doctrine2-spatial)
1111
[![Documentation Status](https://readthedocs.org/projects/doctrine2-spatial/badge/?version=latest)](https://doctrine2-spatial.readthedocs.io/en/latest/?badge=latest)
1212

1313
Documentation

0 commit comments

Comments
 (0)