8
0

OXDEV-3559 Fix tests autoloader

Dieser Commit ist enthalten in:
Florian Engelhardt 2020-07-29 11:53:01 +02:00
Ursprung cbcd2c8db5
Commit f3451e1c90
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 39B8DAD75A95B500

Datei anzeigen

@ -81,8 +81,10 @@ class Installer
$composerDefinition['name'] = $packageFull;
$composerDefinition['description'] = '';
$composerDefinition['autoload']['psr-4'] = ["{$vendor}\\GraphQL\\{$package}\\" => 'src/'];
$composerDefinition['autoload-dev']['psr-4'] = ["{$vendor}\\GraphQL\\{$package}\\Tests\\" => 'tests/'];
$composerDefinition['autoload']['psr-4'] = [
"{$vendor}\\GraphQL\\{$package}\\" => 'src/',
"{$vendor}\\GraphQL\\{$package}\\Tests\\" => 'tests/'
];
$composerDefinition['extra']['oxideshop']['target-directory'] = $packageFull;
return $composerDefinition;