Browse Source

Fix CS errors.

ADmad 7 years ago
parent
commit
dc0b8fcd9e

+ 1 - 0
src/TestSuite/Constraint/Response/HeaderNotContains.php

@@ -1,4 +1,5 @@
 <?php
+declare(strict_types=1);
 /**
  * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)

+ 0 - 1
tests/TestCase/Shell/Task/ExtractTaskTest.php

@@ -18,7 +18,6 @@ namespace Cake\Test\TestCase\Shell\Task;
 use Cake\Core\Plugin;
 use Cake\Filesystem\Folder;
 use Cake\TestSuite\TestCase;
-use PHPUnit\Framework\MockObject\MockObject;
 
 /**
  * ExtractTaskTest class

+ 1 - 1
tests/TestCase/TestSuite/EmailTraitTest.php

@@ -50,7 +50,7 @@ class EmailTraitTest extends TestCase
             'from' => 'alternate@example.com',
         ]);
         TransportFactory::setConfig('test_tools', [
-            'className' => TestEmailTransport::class
+            'className' => TestEmailTransport::class,
         ]);
 
         TestEmailTransport::replaceAllTransports();

+ 2 - 2
tests/TestCase/TestSuite/TestEmailTransportTest.php

@@ -38,10 +38,10 @@ class TestEmailTransportTest extends TestCase
         TransportFactory::drop('transport_alternate');
 
         TransportFactory::setConfig('transport_default', [
-            'className' => DebugTransport::class
+            'className' => DebugTransport::class,
         ]);
         TransportFactory::setConfig('transport_alternate', [
-            'className' => DebugTransport::class
+            'className' => DebugTransport::class,
         ]);
 
         Email::setConfig('default', [