Skip to content

Commit

Permalink
[TASK] Add style ci configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
georgringer committed Jan 3, 2017
1 parent 726ad6b commit b515bb6
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .styleci.yml
@@ -0,0 +1,34 @@
preset: psr2

enabled:
- no_leading_import_slash
- no_trailing_comma_in_singleline_array
- no_singleline_whitespace_before_semicolons
- no_unused_imports
- concat_with_spaces
- no_whitespace_in_blank_line
- ordered_imports
- single_quote
- no_extra_consecutive_blank_lines
- phpdoc_no_package
- phpdoc_scalar
- no_blank_lines_after_phpdoc
- short_array_syntax
- whitespace_after_comma_in_array
- function_typehint_space
- hash_to_slash_comment
- no_alias_functions
- lowercase_cast
- no_leading_namespace_whitespace
- native_function_casing
- no_empty_statement
- self_accessor
- no_short_bool_cast
- no_unneeded_control_parentheses

finder:
name:
- "*.php"
not-path:
- ".Build"
- "Documentation"

0 comments on commit b515bb6

Please sign in to comment.