aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/event/.php-cs-fixer.dist.php
blob: 319886c6b20dba6e6d9bf4dcd8351d6f1273ec9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

$finder = PhpCsFixer\Finder::create()
    ->exclude('vendor')
    ->in(__DIR__);

$config = new PhpCsFixer\Config();
$config->setRules([
    '@PSR1' => true,
    '@Symfony' => true,
    'blank_line_between_import_groups' => false,
    'nullable_type_declaration' => [
        'syntax' => 'question_mark',
    ],
    'nullable_type_declaration_for_default_null_value' => true,
]);
$config->setFinder($finder);
return $config;