-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
71 lines (42 loc) · 1.29 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Berrybird PHP CodeSniffer lint rules
====================================
Current release: 0.1.0-dev
Description
-----------
PHP CodeSniffer (https://github.com/squizlabs/PHP_CodeSniffer) coding
standard rules we use at Berrybird. The coding standard is based on
PSR-2 (http://www.php-fig.org/psr/psr-2) with a couple of modifications
and additions. It also includes some quality assurance sniffs.
Installation
------------
Requirements:
- PHP 5.3.3 or newer
- PHP CodeSniffer
Installing using Composer:
'composer.json' definition
"repositories": [{
"type": "vcs",
"url": "https://github.com/berrybird/lint-phpcs"
}],
"require-dev": {
"berrybird/lint-phpcs": "dev-develop"
}
Add Berrybird standard to the PHP CodeSniffer include paths:
$ phpcs --config-set installed_paths /absolute/path/to/berrybird/src
Documentation
-------------
N/A
Contributing
------------
Open an issue or send a pull request on Github
(https://github.com/berrybird/lint-phpcs).
Authors
-------
Maintainer:
- Miodrag Tokić
Copyright
---------
Copyright (C) 2014-2016 Miodrag Tokić.
Released under the MIT License. See the LICENSE file for details.
This package includes sniff classes taken from other projects. Check
corresponding files for their authors and licenses.