8
0

fix tests namespace

Dieser Commit ist enthalten in:
Daniel Seifert 2024-06-16 00:01:36 +02:00
Ursprung 6ab8a5c0f3
Commit 90b8a71e12
Signiert von: DanielS
GPG-Schlüssel-ID: 6A513E13AEE66170
7 geänderte Dateien mit 44 neuen und 6 gelöschten Zeilen

Datei anzeigen

@ -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
Datei anzeigen

@ -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"
}

Datei anzeigen

@ -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;

Datei anzeigen

@ -15,7 +15,7 @@
declare(strict_types=1);
namespace D3\DIContainerHandler\tests;
namespace D3\DIContainerHandler\tests\unit;
use D3\DIContainerHandler\d3DicException;
use InvalidArgumentException;

Datei anzeigen

@ -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;

Datei anzeigen

@ -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;

Datei anzeigen

@ -15,7 +15,7 @@
declare(strict_types=1);
namespace D3\DIContainerHandler\tests;
namespace D3\DIContainerHandler\tests\unit;
use Assert\InvalidArgumentException;
use D3\DIContainerHandler\definitionFileContainer;