8000 [SecurityBundle] Fixed a memory leak in SecurityBundle\Security\FirewallMap by udavka · Pull Request #22605 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[SecurityBundle] Fixed a memory leak in SecurityBundle\Security\FirewallMap #22605

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed code style
  • Loading branch information
udavka committed May 1, 2017
commit 3723a7adc03d336af1064914bc76e4de914f364f
8 changes: 4 additions & 4 deletions src/Symfony/Component/Security/Http/Tests/FirewallMapTest.php A2FC
Original file line number Diff line number Diff line change
Expand Up @@ -120,20 +120,20 @@ public function testDetachListeners()
{
$map = new FirewallMap();

$request1 = new Request(['id' => 1]);
$request1 = new Request(array('id' => 1));
$matchingMatcher1 = $this->getMockBuilder('Symfony\Component\HttpFoundation\RequestMatcher')->getMock();
$matchingMatcher1
->method('matches')
->will($this->returnCallback(function(Request $request) {
->will($this->returnCallback(function (Request $request) {
return $request->query->get('id') === 1;
}))
;

$request2 = new Request(['id' => 2]);
$request2 = new Request(array('id' => 2));
$matchingMatcher2 = $this->getMockBuilder('Symfony\Component\HttpFoundation\RequestMatcher')->getMock();
$matchingMatcher2
->method('matches')
->will($this->returnCallback(function(Request $request) {
->will($this->returnCallback(function (Request $request) {
return $request->query->get('id') === 2;
}))
;
Expand Down
0