Skip to content

Fix phpcq 2 issues #268

Fix phpcq 2 issues

Fix phpcq 2 issues #268

Triggered via pull request July 7, 2023 17:28
Status Failure
Total duration 2m 36s
Artifacts 4
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

diagnostics.yml

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

Annotations

40 errors and 1 warning
PHP: 8.0 Contao: ~4.13.0
Report file was not produced: /tmp/phpcq-64a84b59cea5f/phpunit64a84b59d1887.junit-log.xml (reported by phpunit)
PHP: 8.0 Contao: ~4.13.0: composer.json#L1
Unknown symbols found: "mixed" - is there a dependency missing? (reported by composer-require-checker)
PHP: 8.0 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L177
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 8.0 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L206
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 8.0 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L231
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 8.0 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L266
CASE statements must be defined using a colon (reported by phpcs: PSR2.ControlStructures.SwitchDeclaration.WrongOpenercase)
PHP: 8.0 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L270
CASE statements must be defined using a colon (reported by phpcs: PSR2.ControlStructures.SwitchDeclaration.WrongOpenercase)
PHP: 8.0 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L273
CASE statements must be defined using a colon (reported by phpcs: PSR2.ControlStructures.SwitchDeclaration.WrongOpenercase)
PHP: 8.0 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L296
UndefinedClass: Class, interface or enum named ContaoTwigInitializeEvent does not exist (reported by psalm)
PHP: 8.0 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L399
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 7.4 Contao: ~4.13.0
Report file was not produced: /tmp/phpcq-64a84b597b8b0/phpunit64a84b597e769.junit-log.xml (reported by phpunit)
PHP: 7.4 Contao: ~4.13.0: composer.json#L1
Unknown symbols found: "mixed" - is there a dependency missing? (reported by composer-require-checker)
PHP: 7.4 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L177
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 7.4 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L206
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 7.4 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L231
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 7.4 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L266
CASE statements must be defined using a colon (reported by phpcs: PSR2.ControlStructures.SwitchDeclaration.WrongOpenercase)
PHP: 7.4 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L270
CASE statements must be defined using a colon (reported by phpcs: PSR2.ControlStructures.SwitchDeclaration.WrongOpenercase)
PHP: 7.4 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L273
CASE statements must be defined using a colon (reported by phpcs: PSR2.ControlStructures.SwitchDeclaration.WrongOpenercase)
PHP: 7.4 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L296
UndefinedClass: Class, interface or enum named ContaoTwigInitializeEvent does not exist (reported by psalm)
PHP: 7.4 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L399
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 8.1 Contao: ~4.13.0
Report file was not produced: /tmp/phpcq-64a84b6b3a6e9/phpunit64a84b6b3d33c.junit-log.xml (reported by phpunit)
PHP: 8.1 Contao: ~4.13.0: composer.json#L1
Unknown symbols found: "mixed" - is there a dependency missing? (reported by composer-require-checker)
PHP: 8.1 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L177
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 8.1 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L206
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 8.1 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L231
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 8.1 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L266
CASE statements must be defined using a colon (reported by phpcs: PSR2.ControlStructures.SwitchDeclaration.WrongOpenercase)
PHP: 8.1 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L270
CASE statements must be defined using a colon (reported by phpcs: PSR2.ControlStructures.SwitchDeclaration.WrongOpenercase)
PHP: 8.1 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L273
CASE statements must be defined using a colon (reported by phpcs: PSR2.ControlStructures.SwitchDeclaration.WrongOpenercase)
PHP: 8.1 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L296
UndefinedClass: Class, interface or enum named ContaoTwigInitializeEvent does not exist (reported by psalm)
PHP: 8.1 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L399
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 8.2 Contao: ~4.13.0
Report file was not produced: /tmp/phpcq-64a84b6db0c6f/phpunit64a84b6db44da.junit-log.xml (reported by phpunit)
PHP: 8.2 Contao: ~4.13.0: composer.json#L1
Unknown symbols found: "mixed" - is there a dependency missing? (reported by composer-require-checker)
PHP: 8.2 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L177
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 8.2 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L206
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 8.2 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L231
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 8.2 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L266
CASE statements must be defined using a colon (reported by phpcs: PSR2.ControlStructures.SwitchDeclaration.WrongOpenercase)
PHP: 8.2 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L270
CASE statements must be defined using a colon (reported by phpcs: PSR2.ControlStructures.SwitchDeclaration.WrongOpenercase)
PHP: 8.2 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L273
CASE statements must be defined using a colon (reported by phpcs: PSR2.ControlStructures.SwitchDeclaration.WrongOpenercase)
PHP: 8.2 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L296
UndefinedClass: Class, interface or enum named ContaoTwigInitializeEvent does not exist (reported by psalm)
PHP: 8.2 Contao: ~4.13.0: src/Contao/Event/Subscriber.php#L399
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (reported by phpcs: Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace)
PHP: 7.4 Contao: ~4.13.0: composer.json#L1
Did not understand the following tool output: In PluginManager.php line 762: [UnexpectedValueException] php-http/discovery contains a Composer plugin which is blocked by your allo w-plugins config. You may add it to the list if you consider it safe. You can run "composer config --no-plugins allow-plugins.php-http/discovery [true|false]" to enable it (true) or disable it explicitly and suppress thi s exception (false) See https://getcomposer.org/allow-plugins Exception trace: at phar:///home/runner/work/dc-general/dc-general/.phpcq/plugins/composer-normalize/tools/composer-normalize~2.28.3.phar/vendor/composer/composer/src/Composer/Plugin/PluginManager.php:762 Composer\Plugin\PluginManager->isPluginAllowed() at phar:///home/runner/work/dc-general/dc-general/.phpcq/plugins/composer-normalize/tools/composer-normalize~2.28.3.phar/vendor/composer/composer/src/Composer/Plugin/PluginManager.php:158 Composer\Plugin\PluginManager->registerPackage() at phar:///home/runner/work/dc-general/dc-general/.phpcq/plugins/composer-normalize/tools/composer-normalize~2.28.3.phar/vendor/composer/composer/src/Composer/Plugin/PluginManager.php:489 Composer\Plugin\PluginManager->loadRepository() at phar:///home/runner/work/dc-general/dc-general/.phpcq/plugins/composer-normalize/tools/composer-normalize~2.28.3.phar/vendor/composer/composer/src/Composer/Plugin/PluginManager.php:96 Composer\Plugin\PluginManager->loadInstalledPlugins() at phar:///home/runner/work/dc-general/dc-general/.phpcq/plugins/composer-normalize/tools/composer-normalize~2.28.3.phar/vendor/composer/composer/src/Composer/Factory.php:430 Composer\Factory->createComposer() at phar:///home/runner/work/dc-general/dc-general/.phpcq/plugins/composer-normalize/tools/composer-normalize~2.28.3.phar/vendor/composer/composer/src/Composer/Factory.php:618 Composer\Factory::create() at phar:///home/runner/work/dc-general/dc-general/.phpcq/plugins/composer-normalize/tools/composer-normalize~2.28.3.phar/vendor/composer/composer/src/Composer/Console/Application.php:470 Composer\Console\Application->getComposer() at phar:///home/runner/work/dc-general/dc-general/.phpcq/plugins/composer-normalize/tools/composer-normalize~2.28.3.phar/vendor/composer/composer/src/Composer/Command/BaseCommand.php:122 Composer\Command\BaseCommand->tryComposer() at phar:///home/runner/work/dc-general/dc-general/.phpcq/plugins/composer-normalize/tools/composer-normalize~2.28.3.phar/vendor/composer/composer/src/Composer/Command/BaseCommand.php:200 Composer\Command\BaseCommand->initialize() at phar:///home/runner/work/dc-general/dc-general/.phpcq/plugins/composer-normalize/tools/composer-normalize~2.28.3.phar/vendor/symfony/console/Command/Command.php:264 Symfony\Component\Console\Command\Command->run() at phar:///home/runner/work/dc-general/dc-general/.phpcq/plugins/composer-normalize/tools/composer-normalize~2.28.3.phar/vendor/symfony/console/Application.php:1024 Symfony\Component\Console\Application->doRunCommand() at phar:///home/runner/work/dc-general/dc-general/.phpcq/plugins/composer-normalize/tools/composer-normalize~2.28.3.phar/vendor/symfony/console/Application.php:299 Symfony\Component\Console\Application->doRun() at phar:///home/runner/work/dc-general/dc-general/.phpcq/plugins/composer-normalize/tools/composer-normalize~2.28.3.phar/vendor/composer/composer/src/Composer/Console/Application.php:335 Composer\Console\Application->doRun() at phar:///home/runner/work/dc-general/dc-general/.phpcq/plugins/composer-normalize/tools/composer-normalize~2.28.3.phar/vendor/symfony/console/Application.php:171 Symfony\Component\Console\Application->run() at phar:///home/runner/work/dc-general/dc-general/.phpcq/plugins/composer-normalize/tools/composer-normalize~2.28.3.phar/vendor/composer/composer/src/Composer/Console/Application.php:130 Composer\Console\Application->run() at phar:///home/runner/work/dc-general/dc-general/.phpcq/plugins/composer-normalize/tools/composer-normalize~2.28.3.phar/phar/composer-normalize.php:49 require() at /home/runner/work/dc-general/dc-general/.phpcq/plugins/composer-normalize/tools/composer-no

Artifacts

Produced during runtime
Name Size
phpcq-builds-php-7.4-~4.13.0 Expired
755 KB
phpcq-builds-php-8.0-~4.13.0 Expired
745 KB
phpcq-builds-php-8.1-~4.13.0 Expired
771 KB
phpcq-builds-php-8.2-~4.13.0 Expired
771 KB