diff --git a/tests/TestCase/Core/InstanceConfigTraitTest.php b/tests/TestCase/Core/InstanceConfigTraitTest.php index 7bcef06e1a7..7211293234b 100644 --- a/tests/TestCase/Core/InstanceConfigTraitTest.php +++ b/tests/TestCase/Core/InstanceConfigTraitTest.php @@ -103,7 +103,7 @@ public function setUp() */ public function testDefaultsAreSet() { - $this->deprecated(function() { + $this->deprecated(function () { $this->assertSame( [ 'some' => 'string', diff --git a/tests/TestCase/Core/StaticConfigTraitTest.php b/tests/TestCase/Core/StaticConfigTraitTest.php index 43ca06fdeac..065ed30f8e5 100644 --- a/tests/TestCase/Core/StaticConfigTraitTest.php +++ b/tests/TestCase/Core/StaticConfigTraitTest.php @@ -247,7 +247,7 @@ public function testParseDsnPathSetting() */ public function testCanUpdateClassMap() { - $this->deprecated(function() { + $this->deprecated(function () { $expected = [ 'console' => 'Cake\Log\Engine\ConsoleLog', 'file' => 'Cake\Log\Engine\FileLog', @@ -283,7 +283,7 @@ public function testCanUpdateClassMap() */ public function testConfigBC() { - $this->deprecated(function() { + $this->deprecated(function () { $result = TestLogStaticConfig::config(404); $this->assertNull($result); });