Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayn93 committed Jan 22, 2024
1 parent 60be5f8 commit 90d939b
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 100 deletions.
40 changes: 20 additions & 20 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<?php

use PhpCsFixer\{
Config, Finder
};
declare(strict_types=1);

use PhpCsFixer\Config;
use PhpCsFixer\Finder;

$finder = Finder::create()
->in(__DIR__ . '/src')
->name('*.php')
->ignoreDotFiles(true)
->exclude(['bin','views','out','translations', 'metadata'])
->exclude(['bin', 'views', 'out', 'translations', 'metadata'])
->notPath(['src/metadata.php'])
->ignoreVCS(true);

Expand All @@ -27,23 +28,22 @@
'operators' => [
'=' => 'align',
'=>' => 'align',
]
],
],
'blank_line_after_opening_tag' => true,
'line_ending' => true,
'class_attributes_separation' => false,
'blank_line_before_statement' => ['statements' => ['break', 'continue', 'declare', 'throw', 'try']],
'concat_space' => ['spacing' => 'one'],
'declare_strict_types' => true,
'increment_style' => ['style' => 'post'],
'no_superfluous_phpdoc_tags' => false,
'no_useless_else' => true,
'no_useless_return' => true,
'ordered_class_elements' => true,
'ordered_imports' => ['imports_order' => ['class', 'function', 'const']],
'strict_comparison' => true,
'yoda_style' => ['equal' => false, 'identical' => false, 'less_and_greater' => false],
'blank_line_after_opening_tag' => true,
'line_ending' => true,
'class_attributes_separation' => false,
'blank_line_before_statement' => ['statements' => ['break', 'continue', 'declare', 'throw', 'try']],
'concat_space' => ['spacing' => 'one'],
'declare_strict_types' => true,
'increment_style' => ['style' => 'post'],
'no_superfluous_phpdoc_tags' => false,
'no_useless_else' => true,
'no_useless_return' => true,
'ordered_class_elements' => true,
'ordered_imports' => ['imports_order' => ['class', 'function', 'const']],
'strict_comparison' => true,
'yoda_style' => ['equal' => false, 'identical' => false, 'less_and_greater' => false],
'nullable_type_declaration_for_default_null_value' => false,
])
->setFinder($finder);

Loading

0 comments on commit 90d939b

Please sign in to comment.