aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/xml/.php-cs-fixer.dist.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/xml/.php-cs-fixer.dist.php')
-rw-r--r--vendor/sabre/xml/.php-cs-fixer.dist.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/sabre/xml/.php-cs-fixer.dist.php b/vendor/sabre/xml/.php-cs-fixer.dist.php
new file mode 100644
index 000000000..f9d4b7a8d
--- /dev/null
+++ b/vendor/sabre/xml/.php-cs-fixer.dist.php
@@ -0,0 +1,17 @@
+<?php
+
+$finder = PhpCsFixer\Finder::create()
+ ->exclude('vendor')
+ ->in(__DIR__);
+
+$config = new PhpCsFixer\Config();
+$config->setRules([
+ '@PSR1' => true,
+ '@Symfony' => true,
+ 'nullable_type_declaration' => [
+ 'syntax' => 'question_mark',
+ ],
+ 'nullable_type_declaration_for_default_null_value' => true,
+]);
+$config->setFinder($finder);
+return $config; \ No newline at end of file