Skip to content

Commit

Permalink
Apply latest cs fixes
Browse files Browse the repository at this point in the history
The removal of &MockObject is a known bug in PHP-CS-Fixer, but I am not
sure we can afford to wait for it to be fixed and released. Since this
was the only occurence of this in the project, I think it is acceptable
to drop it for now.

See PHP-CS-Fixer/PHP-CS-Fixer#4913
See PHP-CS-Fixer/PHP-CS-Fixer#4915
  • Loading branch information
greg0ire committed Apr 14, 2020
1 parent d9a57a3 commit df94e19
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/Controller/CRUDControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class CRUDControllerTest extends TestCase
private $translator;

/**
* @var LoggerInterface&MockObject
* @var LoggerInterface|MockObject
*/
private $logger;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
*/
class AddDependencyCallsCompilerPassTest extends TestCase
{
/** @var SonataAdminExtension $extension */
/** @var SonataAdminExtension */
private $extension;

/** @var array $config */
/** @var array */
private $config;

public function setUp(): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@

class ExtensionCompilerPassTest extends TestCase
{
/** @var SonataAdminExtension $extension */
/** @var SonataAdminExtension */
private $extension;

/** @var array $config */
/** @var array */
private $config;

/**
Expand Down

0 comments on commit df94e19

Please sign in to comment.