Skip to content

Commit 2d98690

Browse files
committed
Required config file
1 parent d2bef3a commit 2d98690

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

config

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# path to phpcs "binary"
2+
PHPCS_BIN=/usr/local/bin/phpcs
3+
4+
# the coding standard, you can also specify a path to your own standard here
5+
# e. g. /path/to/my/standard/dir/
6+
PHPCS_CODING_STANDARD=PSR2
7+
8+
# comma-separated list of file patterns being ignored
9+
PHPCS_IGNORE=
10+
11+
# comma-seperated list of sniffs from the standard that should be used
12+
# use `phpcs --standard=PSR1 -e` to list sniffs for your standard
13+
PHPCS_SNIFFS=Generic.Files.ByteOrderMark,Generic.PHP.DisallowShortOpenTag
14+
15+
# egrep compatible pattern of files to be checked
16+
PHPCS_FILE_PATTERN="\.(php)$"
17+
18+
# ignore warnings
19+
PHPCS_IGNORE_WARNINGS=1
20+
21+
# encoding
22+
PHPCS_ENCODING=utf-8

0 commit comments

Comments
 (0)