Skip to content

Commit 85d7f6c

Browse files
committed
fix: test CS
1 parent 200b35e commit 85d7f6c

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

composer.json

+5
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@
4444
"Vrok\\": "src/"
4545
}
4646
},
47+
"autoload-dev": {
48+
"psr-4": {
49+
"VrokLibTest\\": "test/"
50+
}
51+
},
4752
"extra": {
4853
"branch-alias": {
4954
"dev-dev": "5.0.x-dev",

test/TestConfig.php.dist

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?php
2+
define('APPLICATION_ENV', 'dev');
3+
24
return array(
35
'modules' => array(
46
'Zend\Router',

test/bootstrap.php

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
<?php
2+
// @codingStandardsIgnoreFile
23

34
namespace VrokLibTest;
45

56
use Zend\Mvc\Service\ServiceManagerConfig;
67
use Zend\ServiceManager\ServiceManager;
78
use Zend\Stdlib\ArrayUtils;
89

9-
error_reporting(E_ALL | E_STRICT);
10-
define('APPLICATION_ENV', 'dev');
11-
require __DIR__ . '/../vendor/autoload.php';
12-
1310
class Bootstrap
1411
{
1512
protected static $serviceManager;
@@ -85,4 +82,6 @@ protected static function findParentPath($path)
8582
}
8683
}
8784

85+
error_reporting(E_ALL | E_STRICT);
86+
require __DIR__ . '/../vendor/autoload.php';
8887
Bootstrap::init();

0 commit comments

Comments
 (0)