Move InMemoryRepositories.php from require_once workaround to composer files-autoload. Enables PSR-4 autoloading of test-double classes and scales for 5+ future test files. All 8 tests pass with require_once removed.
11 lines
307 B
JSON
11 lines
307 B
JSON
{
|
|
"name": "move-detect/cloud",
|
|
"type": "project",
|
|
"require": { "php": ">=8.2" },
|
|
"require-dev": { "phpunit/phpunit": "^11" },
|
|
"autoload": { "psr-4": { "App\\": "src/" } },
|
|
"autoload-dev": {
|
|
"psr-4": { "App\\Tests\\": "tests/" },
|
|
"files": ["tests/Support/InMemoryRepositories.php"]
|
|
}
|
|
}
|