You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .php-cs-fixer.dist.php
+3-7Lines changed: 3 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,12 @@
4
4
5
5
return (newPhpCsFixer\Config())
6
6
->setFinder($finder)
7
-
->setRules(array(
7
+
->setRules([
8
8
'@Symfony' => true,
9
9
'@Symfony:risky' => true,
10
10
'fopen_flags' => false,
11
-
'@PHPUnit48Migration:risky' => true,
12
-
'array_syntax' => ['syntax' => 'short'],
13
-
'ordered_imports' => true,
14
-
'php_unit_no_expectation_annotation' => false, // part of `PHPUnitXYMigration:risky` ruleset, to be enabled when PHPUnit 4.x support will be dropped, as we don't want to rewrite exceptions handling twice
thrownew \RuntimeException(sprintf('Please provide the name of the environment either by passing it as command line argument or by defining the "%s" variable in the ".env.local" file.', $envKey));
115
+
thrownew \RuntimeException(\sprintf('Please provide the name of the environment either by passing it as command line argument or by defining the "%s" variable in the ".env.local" file.', $envKey));
0 commit comments