-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from devdrops/phpmd-validations
Merged #4.
- Loading branch information
Showing
2 changed files
with
43 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,30 @@ | ||
# path to binaries | ||
# Path to binaries. | ||
PHPCS_BIN=/usr/local/bin/phpcs | ||
PHPMD_BIN=/usr/local/bin/phpmd | ||
|
||
# the coding standard, you can also specify a path to your own standard here | ||
# The PHP CodeSniffer coding standard, you can also specify a path to your | ||
# own standard here. | ||
# e. g. /path/to/my/standard/dir/ | ||
PHPCS_CODING_STANDARD=PSR2 | ||
|
||
# comma-separated list of file patterns being ignored | ||
# Comma-separated list of file patterns being ignored by PHP CodeSniffer. | ||
PHPCS_IGNORE= | ||
|
||
# comma-seperated list of sniffs from the standard that should be used | ||
# use `phpcs --standard=PSR1 -e` to list sniffs for your standard | ||
# Comma-seperated list of sniffs from PHP CodeSniffer that should be used. | ||
# Use `phpcs --standard=PSR1 -e` to list sniffs for your standard. | ||
PHPCS_SNIFFS=Generic.Files.ByteOrderMark,Generic.PHP.DisallowShortOpenTag | ||
|
||
# egrep compatible pattern of files to be checked | ||
# Egrep compatible pattern of files to be checked by PHP CodeSniffer. | ||
PHPCS_FILE_PATTERN="\.(php)$" | ||
|
||
# ignore warnings | ||
# Ignore PHP CodeSniffer warnings. | ||
PHPCS_IGNORE_WARNINGS=1 | ||
|
||
# encoding | ||
# PHP CodeSniffer Encoding. | ||
PHPCS_ENCODING=utf-8 | ||
|
||
# PHP Mess Detector output mode | ||
# PHP Mess Detector output mode (default: text). | ||
PHPMD_OUTPUT_MODE=text | ||
|
||
# PHP Mess Detector patterns | ||
# PHP Mess Detector patterns (defaults: cleancode). | ||
PHPMD_PATTERNS=cleancode,codesize,controversial,design,naming,unusedcode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters