Fix tests

This commit is contained in:
Nicolas Grekas 2021-07-13 11:55:30 +02:00
parent bafecf2b49
commit becf11aa14
2 changed files with 5 additions and 2 deletions

View File

@ -139,7 +139,7 @@ jobs:
if: "${{ matrix.php == '8.0' && ! matrix.mode }}"
run: |
sed -i 's/"\*\*\/Tests\/"//' composer.json
composer install --optimize-autoloader
composer install -q --optimize-autoloader
SYMFONY_PATCH_TYPE_DECLARATIONS=force=1 php .github/patch-types.php
SYMFONY_PATCH_TYPE_DECLARATIONS=force=1 php .github/patch-types.php # ensure the script is idempotent
echo PHPUNIT="$PHPUNIT,legacy" >> $GITHUB_ENV

View File

@ -42,7 +42,10 @@ class ParentTestService
{
}
public function setContainer(ContainerInterface $container): ContainerInterface
/**
* @return ContainerInterface
*/
public function setContainer(ContainerInterface $container)
{
return $container;
}