Skip to content

Commit e080a50

Browse files
authored
Merge pull request #328 from norkunas/ci
Fix CI
2 parents 891316f + 026c4b7 commit e080a50

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.php-cs-fixer.dist.php

+11-15
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,17 @@
66
->in(__DIR__.'/src')
77
->in(__DIR__.'/tests')
88
->append([__FILE__]);
9-
$config = new PhpCsFixer\Config();
109

11-
$config->setRules([
12-
'@Symfony' => true,
13-
'@PHP80Migration:risky' => true,
14-
'global_namespace_import' => [
15-
'import_classes' => false,
16-
'import_functions' => false,
17-
'import_constants' => false,
18-
],
19-
'no_superfluous_phpdoc_tags' => false,
20-
]
21-
)
10+
return (new PhpCsFixer\Config())
2211
->setRiskyAllowed(true)
2312
->setFinder($finder)
24-
;
25-
26-
return $config;
13+
->setRules([
14+
'@Symfony' => true,
15+
'@PHP80Migration:risky' => true,
16+
'global_namespace_import' => [
17+
'import_classes' => false,
18+
'import_functions' => false,
19+
'import_constants' => false,
20+
],
21+
'no_superfluous_phpdoc_tags' => false,
22+
]);

tests/config/config.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ doctrine:
2525
dir: '%kernel.project_dir%/tests/Entity'
2626
prefix: 'Meilisearch\Bundle\Tests\Entity'
2727
alias: App
28+
controller_resolver:
29+
auto_mapping: false

tests/config/config_php7.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ doctrine:
2929
dir: '%kernel.project_dir%/tests/Entity'
3030
prefix: 'Meilisearch\Bundle\Tests\Entity'
3131
alias: App
32+
controller_resolver:
33+
auto_mapping: false

0 commit comments

Comments
 (0)