Skip to content

adjust tests

adjust tests #138

Triggered via push October 29, 2023 20:09
Status Failure
Total duration 2m 32s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: push
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 6 warnings
PHP 8.1
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires contao/core-bundle 5.2.* -> satisfiable by contao/core-bundle[5.2.0, ..., 5.2.4]. - heimrichhannot/contao-utils-bundle 2.231.0 requires contao/core-bundle ^4.4 -> satisfiable by contao/contao[4.13.0, ..., 4.13.32]. - Only one of these can be installed: contao/contao[4.13.0, ..., 4.13.32], contao/core-bundle[5.2.0, ..., 5.2.4]. contao/contao replaces contao/core-bundle and thus cannot coexist with it. - Root composer.json requires heimrichhannot/contao-utils-bundle ^2.231.0 -> satisfiable by heimrichhannot/contao-utils-bundle[2.231.0].
PHP 8.1
Process completed with exit code 2.
PHP 8.2
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires contao/core-bundle 5.2.* -> satisfiable by contao/core-bundle[5.2.0, ..., 5.2.4]. - heimrichhannot/contao-utils-bundle 2.231.0 requires contao/core-bundle ^4.4 -> satisfiable by contao/contao[4.13.0, ..., 4.13.32]. - Only one of these can be installed: contao/contao[4.13.0, ..., 4.13.32], contao/core-bundle[5.2.0, ..., 5.2.4]. contao/contao replaces contao/core-bundle and thus cannot coexist with it. - Root composer.json requires heimrichhannot/contao-utils-bundle ^2.231.0 -> satisfiable by heimrichhannot/contao-utils-bundle[2.231.0].
PHP 8.2
Process completed with exit code 2.
PHP 8.2
Process completed with exit code 2.
PHP 8.1
Process completed with exit code 2.
phpstan: src/Collection/ConfigurationCollection.php#L33
Default value of the parameter #1 $options (array{}) of method HeimrichHannot\EncoreBundle\Collection\ConfigurationCollection::getJsEntries() is incompatible with type array{array: bool}.
phpstan: src/DependencyInjection/EncoreConfigCompilerPass.php#L16
Used constant HeimrichHannot\UtilsBundle\Choice\AbstractChoice not found.
phpstan: tests/Asset/PageEntrypointsTest.php#L25
Property HeimrichHannot\EncoreBundle\Test\Asset\PageEntrypointsTest::$containerUtilMock has unknown class HeimrichHannot\UtilsBundle\Util\ModelUtil as its type.
phpstan: tests/Asset/PageEntrypointsTest.php#L32
Class HeimrichHannot\UtilsBundle\Util\ModelUtil not found.
phpstan: tests/Asset/PageEntrypointsTest.php#L375
Call to method method() on an unknown class HeimrichHannot\UtilsBundle\Util\ModelUtil.
phpstan: tests/DcaField/EncoreEntriesSelectFieldListenerTest.php#L34
Offset 'fields' does not exist on array{}.
phpstan: tests/DcaField/EncoreEntriesSelectFieldListenerTest.php#L35
Offset 'fields' does not exist on array{}.
phpstan: tests/DcaField/EncoreEntriesSelectFieldListenerTest.php#L36
Offset 'fields' does not exist on array{}.
phpstan: tests/DcaField/EncoreEntriesSelectFieldListenerTest.php#L47
Offset 'fields' does not exist on array{}.
phpstan: tests/DcaField/EncoreEntriesSelectFieldListenerTest.php#L48
Offset 'fields' does not exist on array{}.
coverage
Process completed with exit code 2.
PHP 8.1
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.2
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.2
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.1
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
phpstan
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/