summaryrefslogtreecommitdiff
path: root/vendor/league
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-06-22 22:37:36 +0100
committerGreg Roach <fisharebest@webtrees.net>2019-06-22 22:37:36 +0100
commit006094b96181be6e3cf9dda20ea8ffd849bc1c60 (patch)
tree884affce47597c6cdea2cd5d28dd187a60dc2de1 /vendor/league
parent50b23b0d007a750c2e92c88071f2224cb81db10e (diff)
downloadwebtrees-006094b96181be6e3cf9dda20ea8ffd849bc1c60.tar.gz
webtrees-006094b96181be6e3cf9dda20ea8ffd849bc1c60.tar.bz2
webtrees-006094b96181be6e3cf9dda20ea8ffd849bc1c60.zip
Fix: #2461 - use PHP arrays instead of .MO files
Diffstat (limited to 'vendor/league')
-rw-r--r--vendor/league/flysystem/.php_cs.dist32
1 files changed, 32 insertions, 0 deletions
diff --git a/vendor/league/flysystem/.php_cs.dist b/vendor/league/flysystem/.php_cs.dist
new file mode 100644
index 0000000000..dda6e19615
--- /dev/null
+++ b/vendor/league/flysystem/.php_cs.dist
@@ -0,0 +1,32 @@
+<?php
+
+$finder = PhpCsFixer\Finder::create()
+ ->in([__DIR__ . '/spec', __DIR__ . '/src', __DIR__ . '/stub', __DIR__ . '/tests'])
+;
+
+return PhpCsFixer\Config::create()
+ ->setRules([
+ '@PSR2' => true,
+ 'array_syntax' => ['syntax' => 'short'],
+ 'binary_operator_spaces' => true,
+ 'blank_line_before_return' => true,
+ 'cast_spaces' => true,
+ 'concat_space' => ['spacing' => 'one'],
+ 'no_singleline_whitespace_before_semicolons' => true,
+ 'not_operator_with_space' => true,
+ 'ordered_imports' => true,
+ 'phpdoc_align' => true,
+ 'phpdoc_indent' => true,
+ 'phpdoc_no_access' => true,
+ 'phpdoc_no_alias_tag' => true,
+ 'phpdoc_no_package' => true,
+ 'phpdoc_scalar' => true,
+ 'phpdoc_separation' => true,
+ 'phpdoc_summary' => true,
+ 'phpdoc_to_comment' => true,
+ 'phpdoc_trim' => true,
+ 'single_blank_line_at_eof' => true,
+ 'ternary_operator_spaces' => true,
+ ])
+ ->setFinder($finder)
+ ;