Skip to content
Permalink
Browse files

Fix CS errors

  • Loading branch information...
ADmad committed Jun 4, 2016
1 parent ee02ce9 commit 3eb93d3ef2d6fb53858e743d9056c1cf53d2963d
Showing with 18 additions and 18 deletions.
  1. +18 −18 tests/TestCase/Collection/CollectionTest.php
@@ -121,8 +121,8 @@ public function testFilterChaining()
$items = ['a' => 1, 'b' => 2, 'c' => 3];
$collection = new Collection($items);
$callable = $this->getMockBuilder(\StdClass::class)
->setMethods(['__invoke'])
->getMock();
->setMethods(['__invoke'])
->getMock();
$callable->expects($this->once())
->method('__invoke')
@@ -162,8 +162,8 @@ public function testEveryReturnTrue()
$items = ['a' => 1, 'b' => 2, 'c' => 3];
$collection = new Collection($items);
$callable = $this->getMockBuilder(\StdClass::class)
->setMethods(['__invoke'])
->getMock();
->setMethods(['__invoke'])
->getMock();
$callable->expects($this->at(0))
->method('__invoke')
@@ -190,8 +190,8 @@ public function testEveryReturnFalse()
$items = ['a' => 1, 'b' => 2, 'c' => 3];
$collection = new Collection($items);
$callable = $this->getMockBuilder(\StdClass::class)
->setMethods(['__invoke'])
->getMock();
->setMethods(['__invoke'])
->getMock();
$callable->expects($this->at(0))
->method('__invoke')
@@ -207,8 +207,8 @@ public function testEveryReturnFalse()
$items = [];
$collection = new Collection($items);
$callable = $this->getMockBuilder(\StdClass::class)
->setMethods(['__invoke'])
->getMock();
->setMethods(['__invoke'])
->getMock();
$callable->expects($this->never())
->method('__invoke');
@@ -225,8 +225,8 @@ public function testSomeReturnTrue()
$items = ['a' => 1, 'b' => 2, 'c' => 3];
$collection = new Collection($items);
$callable = $this->getMockBuilder(\StdClass::class)
->setMethods(['__invoke'])
->getMock();
->setMethods(['__invoke'])
->getMock();
$callable->expects($this->at(0))
->method('__invoke')
@@ -250,8 +250,8 @@ public function testSomeReturnFalse()
$items = ['a' => 1, 'b' => 2, 'c' => 3];
$collection = new Collection($items);
$callable = $this->getMockBuilder(\StdClass::class)
->setMethods(['__invoke'])
->getMock();
->setMethods(['__invoke'])
->getMock();
$callable->expects($this->at(0))
->method('__invoke')
@@ -310,8 +310,8 @@ public function testReduceWithInitialValue()
$items = ['a' => 1, 'b' => 2, 'c' => 3];
$collection = new Collection($items);
$callable = $this->getMockBuilder(\StdClass::class)
->setMethods(['__invoke'])
->getMock();
->setMethods(['__invoke'])
->getMock();
$callable->expects($this->at(0))
->method('__invoke')
@@ -338,8 +338,8 @@ public function testReduceWithoutInitialValue()
$items = ['a' => 1, 'b' => 2, 'c' => 3, 'd' => 4];
$collection = new Collection($items);
$callable = $this->getMockBuilder(\StdClass::class)
->setMethods(['__invoke'])
->getMock();
->setMethods(['__invoke'])
->getMock();
$callable->expects($this->at(0))
->method('__invoke')
@@ -786,8 +786,8 @@ public function testCompile()
$items = ['a' => 1, 'b' => 2, 'c' => 3];
$collection = new Collection($items);
$callable = $this->getMockBuilder(\StdClass::class)
->setMethods(['__invoke'])
->getMock();
->setMethods(['__invoke'])
->getMock();
$callable->expects($this->at(0))
->method('__invoke')

0 comments on commit 3eb93d3

Please sign in to comment.
You can’t perform that action at this time.