diff options
author | Andrew Dolgov <[email protected]> | 2022-03-22 12:24:31 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-03-22 12:24:31 +0300 |
commit | 1c4f7ab3b838b23afb2ee4dab14acbf75956e952 (patch) | |
tree | 0a19274107d717efe92d2c0376cd3105fead5a11 /vendor/webmozart/assert/.php_cs | |
parent | 711662948768492e8d05b778a7d80eacaec368d2 (diff) |
* add phpunit as a dev dependency
* add some basic tests for UrlHelper::rewrite_relative()
* fix UrlHelper::rewrite_relative() to work better on non-absolute
relative URL paths
Diffstat (limited to 'vendor/webmozart/assert/.php_cs')
-rw-r--r-- | vendor/webmozart/assert/.php_cs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/vendor/webmozart/assert/.php_cs b/vendor/webmozart/assert/.php_cs new file mode 100644 index 000000000..f7afd3ed7 --- /dev/null +++ b/vendor/webmozart/assert/.php_cs @@ -0,0 +1,24 @@ +<?php + +$finder = PhpCsFixer\Finder::create() + ->in(__DIR__.'/src') + ->in(__DIR__.'/tests') +; + +return PhpCsFixer\Config::create() + ->setRiskyAllowed(true) + ->setRules([ + '@PSR2' => true, + '@Symfony' => true, + 'ordered_imports' => true, + 'array_syntax' => ['syntax' => 'long'], + 'no_superfluous_phpdoc_tags' => false, + 'phpdoc_annotation_without_dot' => false, + 'phpdoc_types_order' => false, + 'phpdoc_summary' => false, + 'phpdoc_to_comment' => false, + 'phpdoc_align' => false, + 'yoda_style' => false, + ]) + ->setFinder($finder) +; |