fix tests namespace
Dieser Commit ist enthalten in:
Ursprung
6ab8a5c0f3
Commit
90b8a71e12
@ -31,7 +31,8 @@
|
||||
"friendsofphp/php-cs-fixer": "~3.13.0",
|
||||
"phpstan/phpstan": "^1.10",
|
||||
"rector/rector": "^0.18.13",
|
||||
"mikey179/vfsstream": "^1.6.8"
|
||||
"mikey179/vfsstream": "^1.6.8",
|
||||
"infection/infection": "^0.29.5"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
@ -55,6 +56,8 @@
|
||||
"phpunit": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --config=vendor/d3/oxid-dic-handler/tests/ --no-coverage",
|
||||
"phpunit-coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --config=vendor/d3/oxid-dic-handler/tests/ --coverage-html=reports/phpunit/oxid-dic-handler",
|
||||
|
||||
"infection": "./vendor/bin/infection --configuration=vendor/d3/oxid-dic-handler/infection.json5",
|
||||
|
||||
"rector": "./vendor/bin/rector process --dry-run --config ./vendor/d3/oxid-dic-handler/rector.php"
|
||||
}
|
||||
}
|
||||
|
35
infection.json5
Normale Datei
35
infection.json5
Normale Datei
@ -0,0 +1,35 @@
|
||||
{
|
||||
"source": {
|
||||
"directories": [
|
||||
"vendor/d3/oxid-dic-handler"
|
||||
],
|
||||
"excludes": [
|
||||
".php-cs-fixer.php",
|
||||
"rector.php",
|
||||
"tests"
|
||||
]
|
||||
},
|
||||
"timeout": 60,
|
||||
"logs": {
|
||||
"text": "../../../reports/infection/d3DICHandler/infection.log",
|
||||
"html": "../../../reports/infection/d3DICHandler/infection.html",
|
||||
"summary": "../../../reports/infection/d3DICHandler/summary.log",
|
||||
"json": "../../../reports/infection/d3DICHandler/infection-log.json",
|
||||
"perMutator": "../../../reports/infection/d3DICHandler/per-mutator.md",
|
||||
"summaryJson": "../../../reports/infection/d3DICHandler/summary.json"
|
||||
},
|
||||
"tmpDir": "./infection/tmp",
|
||||
"phpUnit": {
|
||||
"configDir": "tests"
|
||||
},
|
||||
"mutators": {
|
||||
"@default": true,
|
||||
"@function_signature": false,
|
||||
"global-ignoreSourceCodeByRegex": [
|
||||
".*\\sstartProfile\\(.*",
|
||||
".*\\sstopProfile\\(.*"
|
||||
]
|
||||
},
|
||||
"testFramework":"phpunit",
|
||||
"bootstrap":"source/bootstrap.php"
|
||||
}
|
@ -15,7 +15,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace D3\DIContainerHandler\tests\autoload;
|
||||
namespace D3\DIContainerHandler\tests\unit\autoload;
|
||||
|
||||
use D3\DIContainerHandler\d3DicException;
|
||||
use D3\TestingTools\Development\CanAccessRestricted;
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace D3\DIContainerHandler\tests;
|
||||
namespace D3\DIContainerHandler\tests\unit;
|
||||
|
||||
use D3\DIContainerHandler\d3DicException;
|
||||
use InvalidArgumentException;
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace D3\DIContainerHandler\tests;
|
||||
namespace D3\DIContainerHandler\tests\unit;
|
||||
|
||||
use D3\DIContainerHandler\d3DicException;
|
||||
use D3\DIContainerHandler\d3DicHandler;
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace D3\DIContainerHandler\tests;
|
||||
namespace D3\DIContainerHandler\tests\unit;
|
||||
|
||||
use D3\DIContainerHandler\d3DicHandler;
|
||||
use D3\DIContainerHandler\d3DicUtilities;
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace D3\DIContainerHandler\tests;
|
||||
namespace D3\DIContainerHandler\tests\unit;
|
||||
|
||||
use Assert\InvalidArgumentException;
|
||||
use D3\DIContainerHandler\definitionFileContainer;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren