|
(1/1) Symfony\Component\DependencyInjection\Exception\InvalidArgumentException
|
|
Expected to find class "TYPO3\CMS\Styleguide\Command\GeneratorCommand" in file "/path/demoshop13/typo3conf/ext/styleguide/Classes/Command/GeneratorCommand.php" while importing services from resource "../Classes/*", but it was not found! Check the namespace prefix used with the resource.
|
|
|
|
in /path/typo3_src-13.4.0/vendor/symfony/dependency-injection/Loader/FileLoader.php line 338
|
|
continue;
|
|
}
|
|
// check to make sure the expected class exists
|
|
if (!$r) {
|
|
throw new InvalidArgumentException(sprintf('Expected to find class "%s" in file "%s" while importing services from resource "%s", but it was not found! Check the namespace prefix used with the resource.', $class, $path, $pattern));
|
|
}
|
|
|
|
if ($r->isInstantiable() || $r->isInterface()) {
|
|
$classes[$class] = null;
|
|
at Symfony\Component\DependencyInjection\Loader\FileLoader->findClasses('TYPO3\\CMS\\Styleguide\\', '../Classes/*', array(), object(Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass), '/path/demoshop13/typo3conf/ext/styleguide/Configuration//Services.yaml')
|
|
in /path/typo3_src-13.4.0/vendor/symfony/dependency-injection/Loader/FileLoader.php line 129
|
|
}
|
|
|
|
$autoconfigureAttributes = new RegisterAutoconfigureAttributesPass();
|
|
$autoconfigureAttributes = $autoconfigureAttributes->accept($prototype) ? $autoconfigureAttributes : null;
|
|
$classes = $this->findClasses($namespace, $resource, (array) $exclude, $autoconfigureAttributes, $source);
|
|
|
|
$getPrototype = static fn () => clone $prototype;
|
|
$serialized = serialize($prototype);
|
|
|
|
at Symfony\Component\DependencyInjection\Loader\FileLoader->registerClasses(object(Symfony\Component\DependencyInjection\Definition), 'TYPO3\\CMS\\Styleguide\\', '../Classes/*', null, '/path/demoshop13/typo3conf/ext/styleguide/Configuration//Services.yaml')
|
|
in /path/typo3_src-13.4.0/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php line 711
|
|
throw new InvalidArgumentException(sprintf('A "resource" attribute must be of type string for service "%s" in "%s". Check your YAML syntax.', $id, $file));
|
|
}
|
|
$exclude = $service['exclude'] ?? null;
|
|
$namespace = $service['namespace'] ?? $id;
|
|
$this->registerClasses($definition, $namespace, $service['resource'], $exclude, $file);
|
|
} else {
|
|
$this->setDefinition($id, $definition);
|
|
}
|
|
|
|
at Symfony\Component\DependencyInjection\Loader\YamlFileLoader->parseDefinition('TYPO3\\CMS\\Styleguide\\', array('resource' => '../Classes/*'), '/path/demoshop13/typo3conf/ext/styleguide/Configuration//Services.yaml', array('autowire' => true, 'autoconfigure' => true, 'public' => false), false, true)
|
|
in /path/typo3_src-13.4.0/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php line 259
|
|
|
|
$this->isLoadingInstanceof = false;
|
|
$defaults = $this->parseDefaults($content, $file);
|
|
foreach ($content['services'] as $id => $service) {
|
|
$this->parseDefinition($id, $service, $file, $defaults, false, $trackBindings);
|
|
}
|
|
}
|
|
|
|
/**
|
|
at Symfony\Component\DependencyInjection\Loader\YamlFileLoader->parseDefinitions(array('services' => array('TYPO3\CMS\Styleguide\' => array('resource' => '../Classes/*'), 'TYPO3\CMS\Styleguide\TcaDataGenerator\Generator' => array('arguments' => array('$tableHandler' => array('@TYPO3\\CMS\\Styleguide\\TcaDataGenerator\\TableHandler\\StaticData', '@TYPO3\\CMS\\Styleguide\\TcaDataGenerator\\TableHandler\\InlineMn', '@TYPO3\\CMS\\Styleguide\\TcaDataGenerator\\TableHandler\\InlineMnGroup', '@TYPO3\\CMS\\Styleguide\\TcaDataGenerator\\TableHandler\\InlineMnSymmetric', '@TYPO3\\CMS\\Styleguide\\TcaDataGenerator\\TableHandler\\InlineMnSymmetricGroup', '@TYPO3\\CMS\\Styleguide\\TcaDataGenerator\\TableHandler\\General'))), 'TYPO3\CMS\Styleguide\TcaDataGenerator\FieldGeneratorResolver' => array('arguments' => array('$fieldValueGenerators' => array('@TYPO3\\CMS\\Styleguide\\TcaDataGenerator\\FieldGenerator\\TypeDatetimeFormatDateDbTypeDate', '@TYPO3\\CMS\\Styleguide\\TcaDataGenerator\\FieldGenerator\\TypeDatetimeDbTypeDatetime', '@TYPO3\\CMS\\Styleguide\\TcaDataGenerator\\FieldGenerator\\TypePasswordHashedFalse',
|