Skip to content

Fix composer for phpcq #95

Fix composer for phpcq

Fix composer for phpcq #95

Triggered via pull request July 27, 2023 06:47
Status Failure
Total duration 2m 6s
Artifacts 2

diagnostics.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 4 warnings
PHP: 8.1 Contao: ~4.13.0: composer.json#L1
Unknown symbols found: "BackendTemplate", "ContaoCommunityAlliance\Contao\Bindings\ContaoEvents", "ContaoCommunityAlliance\Contao\Bindings\Events\Widget\GetAttributesFromDcaEvent", "Doctrine\DBAL\Connection", "FrontendUser", "Symfony\Component\Config\FileLocator", "Symfony\Component\DependencyInjection\ContainerBuilder", "Symfony\Component\DependencyInjection\Extension\Extension", "Symfony\Component\DependencyInjection\Loader\YamlFileLoader", "Symfony\Component\HttpFoundation\RequestStack", "Symfony\Component\HttpKernel\Bundle\Bundle", "Symfony\Contracts\Translation\TranslatorInterface" - is there a dependency missing? (reported by composer-require-checker)
PHP: 8.1 Contao: ~4.13.0: composer.json#L1
composer.json is not normalized. (reported by composer-normalize)
PHP: 8.1 Contao: ~4.13.0: src/CcaDcGeneralContaoFrontendBundle.php#L28
Opening brace must not be followed by a blank line (reported by phpcs: PSR12.Classes.OpeningBraceSpace.Found)
PHP: 8.1 Contao: ~4.13.0: src/DependencyInjection/CcaDcGeneralContaoFrontendExtension.php#L31
Opening brace must not be followed by a blank line (reported by phpcs: PSR12.Classes.OpeningBraceSpace.Found)
PHP: 8.1 Contao: ~4.13.0: src/DependencyInjection/CcaDcGeneralContaoFrontendExtension.php#L46
MissingReturnType: Method ContaoCommunityAlliance\DcGeneral\ContaoFrontend\DependencyInjection\CcaDcGeneralContaoFrontendExtension::load does not have a return type, expecting void (reported by psalm)
PHP: 8.1 Contao: ~4.13.0: src/DependencyInjection/CcaDcGeneralContaoFrontendExtension.php#L49
MixedAssignment: Unable to determine the type that $file is being assigned to (reported by psalm)
PHP: 8.1 Contao: ~4.13.0: src/Event/BuildWidgetEvent.php#L44
PropertyNotSetInConstructor: Property ContaoCommunityAlliance\DcGeneral\ContaoFrontend\Event\BuildWidgetEvent::$widget is not defined in constructor of ContaoCommunityAlliance\DcGeneral\ContaoFrontend\Event\BuildWidgetEvent or in any methods called in the constructor (reported by psalm)
PHP: 8.1 Contao: ~4.13.0: src/FrontendEditor.php#L83
MixedAssignment: Unable to determine the type that $actionName is being assigned to (reported by psalm)
PHP: 8.1 Contao: ~4.13.0: src/FrontendEditor.php#L84
MixedArgument: Argument 1 of ContaoCommunityAlliance\DcGeneral\Action::__construct cannot be non-empty-mixed|string, expecting string (reported by psalm)
PHP: 8.1 Contao: ~4.13.0: src/Listener/HandleSubmitListener.php#L34
Opening brace must not be followed by a blank line (reported by phpcs: PSR12.Classes.OpeningBraceSpace.Found)
PHP: 8.2 Contao: ~4.13.0: composer.json#L1
Unknown symbols found: "BackendTemplate", "ContaoCommunityAlliance\Contao\Bindings\ContaoEvents", "ContaoCommunityAlliance\Contao\Bindings\Events\Widget\GetAttributesFromDcaEvent", "Doctrine\DBAL\Connection", "FrontendUser", "Symfony\Component\Config\FileLocator", "Symfony\Component\DependencyInjection\ContainerBuilder", "Symfony\Component\DependencyInjection\Extension\Extension", "Symfony\Component\DependencyInjection\Loader\YamlFileLoader", "Symfony\Component\HttpFoundation\RequestStack", "Symfony\Component\HttpKernel\Bundle\Bundle", "Symfony\Contracts\Translation\TranslatorInterface" - is there a dependency missing? (reported by composer-require-checker)
PHP: 8.2 Contao: ~4.13.0: composer.json#L1
composer.json is not normalized. (reported by composer-normalize)
PHP: 8.2 Contao: ~4.13.0: src/CcaDcGeneralContaoFrontendBundle.php#L28
Opening brace must not be followed by a blank line (reported by phpcs: PSR12.Classes.OpeningBraceSpace.Found)
PHP: 8.2 Contao: ~4.13.0: src/DependencyInjection/CcaDcGeneralContaoFrontendExtension.php#L31
Opening brace must not be followed by a blank line (reported by phpcs: PSR12.Classes.OpeningBraceSpace.Found)
PHP: 8.2 Contao: ~4.13.0: src/DependencyInjection/CcaDcGeneralContaoFrontendExtension.php#L46
MissingReturnType: Method ContaoCommunityAlliance\DcGeneral\ContaoFrontend\DependencyInjection\CcaDcGeneralContaoFrontendExtension::load does not have a return type, expecting void (reported by psalm)
PHP: 8.2 Contao: ~4.13.0: src/DependencyInjection/CcaDcGeneralContaoFrontendExtension.php#L49
MixedAssignment: Unable to determine the type that $file is being assigned to (reported by psalm)
PHP: 8.2 Contao: ~4.13.0: src/Event/BuildWidgetEvent.php#L44
PropertyNotSetInConstructor: Property ContaoCommunityAlliance\DcGeneral\ContaoFrontend\Event\BuildWidgetEvent::$widget is not defined in constructor of ContaoCommunityAlliance\DcGeneral\ContaoFrontend\Event\BuildWidgetEvent or in any methods called in the constructor (reported by psalm)
PHP: 8.2 Contao: ~4.13.0: src/FrontendEditor.php#L83
MixedAssignment: Unable to determine the type that $actionName is being assigned to (reported by psalm)
PHP: 8.2 Contao: ~4.13.0: src/FrontendEditor.php#L84
MixedArgument: Argument 1 of ContaoCommunityAlliance\DcGeneral\Action::__construct cannot be non-empty-mixed|string, expecting string (reported by psalm)
PHP: 8.2 Contao: ~4.13.0: src/Listener/HandleSubmitListener.php#L34
Opening brace must not be followed by a blank line (reported by phpcs: PSR12.Classes.OpeningBraceSpace.Found)
PHP: 8.1 Contao: ~4.13.0: src/Event/DcGeneralFrontendEvents.php#L32
Visibility must be declared on all constants if your project supports PHP 7.1 or later (reported by phpcs: PSR12.Properties.ConstantVisibility.NotFound)
PHP: 8.1 Contao: ~4.13.0: src/Event/DcGeneralFrontendEvents.php#L39
Visibility must be declared on all constants if your project supports PHP 7.1 or later (reported by phpcs: PSR12.Properties.ConstantVisibility.NotFound)
PHP: 8.2 Contao: ~4.13.0: src/Event/DcGeneralFrontendEvents.php#L32
Visibility must be declared on all constants if your project supports PHP 7.1 or later (reported by phpcs: PSR12.Properties.ConstantVisibility.NotFound)
PHP: 8.2 Contao: ~4.13.0: src/Event/DcGeneralFrontendEvents.php#L39
Visibility must be declared on all constants if your project supports PHP 7.1 or later (reported by phpcs: PSR12.Properties.ConstantVisibility.NotFound)

Artifacts

Produced during runtime
Name Size
phpcq-builds-php-8.1-~4.13.0 Expired
196 KB
phpcq-builds-php-8.2-~4.13.0 Expired
196 KB