Skip to content

Commit 6244f02

Browse files
committed
Fix CS errors
1 parent 111efd6 commit 6244f02

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"autoload-dev": {
3333
"psr-4": {
3434
"BryanCrowe\\ApiPagination\\": "src",
35-
"BryanCrowe\\ApiPagination\\Test\\": "tests"
35+
"BryanCrowe\\ApiPagination\\Test\\": "tests",
36+
"BryanCrowe\\ApiPagination\\TestApp\\": "tests/test_app/TestApp"
3637
}
3738
},
3839
"scripts": {

tests/ApiPaginationComponentTest.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,13 @@
22
namespace BryanCrowe\ApiPagination\Test;
33

44
use BryanCrowe\ApiPagination\Controller\Component\ApiPaginationComponent;
5-
use Cake\Controller\Controller;
5+
use BryanCrowe\ApiPagination\TestApp\Controller\ArticlesController;
66
use Cake\Event\Event;
77
use Cake\Network\Request;
88
use Cake\Network\Response;
99
use Cake\ORM\TableRegistry;
1010
use Cake\TestSuite\TestCase;
1111

12-
13-
class ArticlesController extends Controller
14-
{
15-
public $components = ['Paginator'];
16-
}
17-
1812
/**
1913
* ApiPaginationComponentTest class
2014
*/
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
namespace BryanCrowe\ApiPagination\TestApp\Controller;
3+
4+
use Cake\Controller\Controller;
5+
6+
class ArticlesController extends Controller
7+
{
8+
public $components = ['Paginator'];
9+
}

0 commit comments

Comments
 (0)