Skip to content

Commit

Permalink
Update scrutinizer config
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Nov 6, 2014
1 parent 1594dcc commit d066daa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .scrutinizer.yml
Expand Up @@ -33,6 +33,10 @@ tools:
command: phpcs
config:
standard: PSR2
sniffs:
generic:
files:
one_class_per_file_sniff: false
filter:
excluded_paths:
- 'docs/*'
Expand Down Expand Up @@ -113,6 +117,7 @@ tools:
- vendor

# Runs Scrutinizer's PHP Analyzer Tool
# https://scrutinizer-ci.com/docs/tools/php/php-analyzer/config_reference
php_analyzer:
enabled: true
config:
Expand All @@ -122,8 +127,10 @@ tools:
enabled: true
property_name: ^[_a-zA-Z][a-zA-Z0-9_]*$ #Allow underscores & caps
method_name: ^(?:[_a-zA-Z]|__)[a-zA-Z0-9_]*$ #Allow underscores & caps
parameter_name: ^[a-z][a-zA-Z0-9_]*$ # Allow underscores
local_variable: ^[a-zA-Z][a-zA-Z0-9_]*$ #Allow underscores & caps
exception_name: ^[a-zA-Z][a-zA-Z0-9]*Exception$
isser_method_name: ^(?:[_a-zA-Z]|__)[a-zA-Z0-9]*$ #Allow underscores & caps
local_variable: ^[a-zA-Z][a-zA-Z0-9_]*$ #Allow caps
filter:
excluded_paths:
- 'docs/*'
Expand Down

0 comments on commit d066daa

Please sign in to comment.