fixed CS
This commit is contained in:
parent
6f73e62285
commit
03b0284810
@ -13,8 +13,6 @@ namespace Symfony\Component\Messenger\Event;
|
|||||||
|
|
||||||
use Symfony\Component\Messenger\Envelope;
|
use Symfony\Component\Messenger\Envelope;
|
||||||
|
|
||||||
/**
|
|
||||||
*/
|
|
||||||
abstract class AbstractWorkerMessageEvent
|
abstract class AbstractWorkerMessageEvent
|
||||||
{
|
{
|
||||||
private $envelope;
|
private $envelope;
|
||||||
|
@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
namespace Symfony\Component\Messenger\Transport\AmqpExt;
|
namespace Symfony\Component\Messenger\Transport\AmqpExt;
|
||||||
|
|
||||||
/**
|
|
||||||
*/
|
|
||||||
class AmqpFactory
|
class AmqpFactory
|
||||||
{
|
{
|
||||||
public function createConnection(array $credentials): \AMQPConnection
|
public function createConnection(array $credentials): \AMQPConnection
|
||||||
|
@ -153,7 +153,7 @@ class LdapBindAuthenticationProviderTest extends TestCase
|
|||||||
$query
|
$query
|
||||||
->expects($this->once())
|
->expects($this->once())
|
||||||
->method('execute')
|
->method('execute')
|
||||||
->will($this->returnValue($collection))
|
->willReturn($collection)
|
||||||
;
|
;
|
||||||
|
|
||||||
$ldap = $this->getMockBuilder(LdapInterface::class)->getMock();
|
$ldap = $this->getMockBuilder(LdapInterface::class)->getMock();
|
||||||
@ -161,7 +161,7 @@ class LdapBindAuthenticationProviderTest extends TestCase
|
|||||||
->expects($this->once())
|
->expects($this->once())
|
||||||
->method('escape')
|
->method('escape')
|
||||||
->with('foo', '')
|
->with('foo', '')
|
||||||
->will($this->returnValue('foo'))
|
->willReturn('foo')
|
||||||
;
|
;
|
||||||
$ldap
|
$ldap
|
||||||
->expects($this->at(1))
|
->expects($this->at(1))
|
||||||
@ -171,7 +171,7 @@ class LdapBindAuthenticationProviderTest extends TestCase
|
|||||||
->expects($this->once())
|
->expects($this->once())
|
||||||
->method('query')
|
->method('query')
|
||||||
->with('{username}', 'foobar')
|
->with('{username}', 'foobar')
|
||||||
->will($this->returnValue($query))
|
->willReturn($query)
|
||||||
;
|
;
|
||||||
|
|
||||||
$userChecker = $this->getMockBuilder(UserCheckerInterface::class)->getMock();
|
$userChecker = $this->getMockBuilder(UserCheckerInterface::class)->getMock();
|
||||||
|
Reference in New Issue
Block a user