fix tests namespace
This commit is contained in:
parent
6ab8a5c0f3
commit
90b8a71e12
@ -31,7 +31,8 @@
|
|||||||
"friendsofphp/php-cs-fixer": "~3.13.0",
|
"friendsofphp/php-cs-fixer": "~3.13.0",
|
||||||
"phpstan/phpstan": "^1.10",
|
"phpstan/phpstan": "^1.10",
|
||||||
"rector/rector": "^0.18.13",
|
"rector/rector": "^0.18.13",
|
||||||
"mikey179/vfsstream": "^1.6.8"
|
"mikey179/vfsstream": "^1.6.8",
|
||||||
|
"infection/infection": "^0.29.5"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
@ -55,6 +56,8 @@
|
|||||||
"phpunit": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --config=vendor/d3/oxid-dic-handler/tests/ --no-coverage",
|
"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",
|
"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"
|
"rector": "./vendor/bin/rector process --dry-run --config ./vendor/d3/oxid-dic-handler/rector.php"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
35
infection.json5
Normal file
35
infection.json5
Normal file
@ -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);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace D3\DIContainerHandler\tests\autoload;
|
namespace D3\DIContainerHandler\tests\unit\autoload;
|
||||||
|
|
||||||
use D3\DIContainerHandler\d3DicException;
|
use D3\DIContainerHandler\d3DicException;
|
||||||
use D3\TestingTools\Development\CanAccessRestricted;
|
use D3\TestingTools\Development\CanAccessRestricted;
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace D3\DIContainerHandler\tests;
|
namespace D3\DIContainerHandler\tests\unit;
|
||||||
|
|
||||||
use D3\DIContainerHandler\d3DicException;
|
use D3\DIContainerHandler\d3DicException;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace D3\DIContainerHandler\tests;
|
namespace D3\DIContainerHandler\tests\unit;
|
||||||
|
|
||||||
use D3\DIContainerHandler\d3DicException;
|
use D3\DIContainerHandler\d3DicException;
|
||||||
use D3\DIContainerHandler\d3DicHandler;
|
use D3\DIContainerHandler\d3DicHandler;
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace D3\DIContainerHandler\tests;
|
namespace D3\DIContainerHandler\tests\unit;
|
||||||
|
|
||||||
use D3\DIContainerHandler\d3DicHandler;
|
use D3\DIContainerHandler\d3DicHandler;
|
||||||
use D3\DIContainerHandler\d3DicUtilities;
|
use D3\DIContainerHandler\d3DicUtilities;
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace D3\DIContainerHandler\tests;
|
namespace D3\DIContainerHandler\tests\unit;
|
||||||
|
|
||||||
use Assert\InvalidArgumentException;
|
use Assert\InvalidArgumentException;
|
||||||
use D3\DIContainerHandler\definitionFileContainer;
|
use D3\DIContainerHandler\definitionFileContainer;
|
||||||
|
Loading…
Reference in New Issue
Block a user