Skip to content

Commit

Permalink
Fix-up StyleCI compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Zegnat committed Apr 18, 2020
1 parent 68a7948 commit 798e852
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ $config = PhpCsFixer\Config::create()
'ordered_imports' => true,
'declare_strict_types' => true,
'single_import_per_statement' => false,
// Required for compatibility with StyleCI Symfony preset
'blank_line_before_statement' => [
'statements' => ['break', 'continue', 'declare', 'return', 'throw', 'try'],
],
])
->setRiskyAllowed(true)
->setUsingCache(true)
Expand Down
1 change: 1 addition & 0 deletions src/ServerRequestCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public function fromGlobals(): ServerRequestInterface
['application/x-www-form-urlencoded', 'multipart/form-data']
)) {
$post = $_POST;

break;
}
}
Expand Down

0 comments on commit 798e852

Please sign in to comment.