Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from boite/symfony-5
Compatible with Symfony 5
- Loading branch information
Showing
17 changed files
with
252 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/.php_cs | ||
/.php_cs.cache | ||
vendor/* | ||
.env | ||
composer.lock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
$finder = PhpCsFixer\Finder::create() | ||
->in(__DIR__.'/src') | ||
; | ||
|
||
return PhpCsFixer\Config::create() | ||
->setRules([ | ||
'@PSR1' => true, | ||
'@PSR2' => true, | ||
'@Symfony' => true, | ||
'single_line_throw' => false, | ||
'no_superfluous_phpdoc_tags' => false, | ||
'ordered_imports' => true, | ||
'phpdoc_align' => false, | ||
'no_extra_consecutive_blank_lines' => false, | ||
'blank_line_before_statement' => [ | ||
'statements' => [ | ||
'declare', | ||
] | ||
], | ||
'array_syntax' => false, | ||
]) | ||
->setFinder($finder) | ||
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
UPGRADE FROM 1.9 to 2.0 | ||
======================= | ||
|
||
- The User class no longer implements Symfony's `AdvancedUserInterface` which | ||
it has been removed from Symfony 5. Use of the methods of this interface | ||
should be replaced by performing User and Account checks in UserCheckers. | ||
|
||
A temporary replacement for the removed interface is | ||
`UserBase\Client\Model\LegacyAdvancedUserInterface`, but use this only as a | ||
last resort and as a temporary fix. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.