summaryrefslogtreecommitdiff
path: root/vendor/monolog/monolog/.php_cs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/monolog/monolog/.php_cs')
-rw-r--r--vendor/monolog/monolog/.php_cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/monolog/monolog/.php_cs b/vendor/monolog/monolog/.php_cs
new file mode 100644
index 00000000..2511e98c
--- /dev/null
+++ b/vendor/monolog/monolog/.php_cs
@@ -0,0 +1,15 @@
+<?php
+
+$finder = Symfony\CS\Finder\DefaultFinder::create()
+ ->files()
+ ->name('*.php')
+ ->in(__DIR__.'/src')
+ ->in(__DIR__.'/tests')
+;
+
+return Symfony\CS\Config\Config::create()
+ ->fixers(array(
+ 'psr0', 'encoding', 'short_tag', 'braces', 'elseif', 'eof_ending', 'function_declaration', 'indentation', 'line_after_namespace', 'linefeed', 'lowercase_constants', 'lowercase_keywords', 'multiple_use', 'php_closing_tag', 'trailing_spaces', 'visibility', 'duplicate_semicolon', 'extra_empty_lines', 'include', 'namespace_no_leading_whitespace', 'object_operator', 'operators_spaces', 'phpdoc_params', 'return', 'single_array_no_trailing_comma', 'spaces_cast', 'standardize_not_equal', 'ternary_spaces', 'unused_use', 'whitespacy_lines',
+ ))
+ ->finder($finder)
+;