From 707c88a2686f8aeec66710009839f619e56fe946 Mon Sep 17 00:00:00 2001 From: Bryan Crowe Date: Sat, 23 Aug 2014 20:28:44 +0200 Subject: [PATCH] Fix CS errors --- src/Model/Behavior/TreeBehavior.php | 2 +- tests/TestCase/Console/ShellTest.php | 1 - tests/TestCase/Database/Type/FloatTypeTest.php | 1 - tests/TestCase/Database/Type/IntegerTypeTest.php | 1 - tests/TestCase/ORM/Association/HasManyTest.php | 1 - 5 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Model/Behavior/TreeBehavior.php b/src/Model/Behavior/TreeBehavior.php index ee3459234dd..f329b86aa05 100644 --- a/src/Model/Behavior/TreeBehavior.php +++ b/src/Model/Behavior/TreeBehavior.php @@ -646,7 +646,7 @@ protected function _recoverTree($counter = 0, $parentId = null) { $query = $this->_scope($this->_table->query()) ->select($pk) - ->where([$parent .' IS' => $parentId]) + ->where([$parent . ' IS' => $parentId]) ->order($pk) ->hydrate(false) ->bufferResults(false); diff --git a/tests/TestCase/Console/ShellTest.php b/tests/TestCase/Console/ShellTest.php index eba9653cb34..a9a4054105d 100644 --- a/tests/TestCase/Console/ShellTest.php +++ b/tests/TestCase/Console/ShellTest.php @@ -788,7 +788,6 @@ public function testShellNaming() { $this->assertEquals($expected, $this->Shell->TestApple->name); } - /** * Test reading params * diff --git a/tests/TestCase/Database/Type/FloatTypeTest.php b/tests/TestCase/Database/Type/FloatTypeTest.php index c28065ae261..df25cef1b8a 100644 --- a/tests/TestCase/Database/Type/FloatTypeTest.php +++ b/tests/TestCase/Database/Type/FloatTypeTest.php @@ -85,7 +85,6 @@ public function testMarshal() { $this->assertSame(2.51, $result); } - /** * Test that the PDO binding type is correct. * diff --git a/tests/TestCase/Database/Type/IntegerTypeTest.php b/tests/TestCase/Database/Type/IntegerTypeTest.php index f135a5eeca2..40a6f6c2f76 100644 --- a/tests/TestCase/Database/Type/IntegerTypeTest.php +++ b/tests/TestCase/Database/Type/IntegerTypeTest.php @@ -85,7 +85,6 @@ public function testMarshal() { $this->assertSame(0, $result); } - /** * Test that the PDO binding type is correct. * diff --git a/tests/TestCase/ORM/Association/HasManyTest.php b/tests/TestCase/ORM/Association/HasManyTest.php index 51186e3f479..d1d2db1e527 100644 --- a/tests/TestCase/ORM/Association/HasManyTest.php +++ b/tests/TestCase/ORM/Association/HasManyTest.php @@ -469,7 +469,6 @@ public function testEagerLoaderMultipleKeys() { $this->assertEquals($row, $result); } - /** * Test cascading deletes. *