Update all deps

- lock `shipmonk/composer-dependency-analyser` because I don't know how to workaround the error
- update parameter PHPDoc for `UserMailer` following `TwigSwiftMailer` update
- migrate PHPUnit config using `--migrate-configuration`
This commit is contained in:
Jeremy Benoist 2024-07-15 11:51:31 +02:00 committed by Jérémy Benoist
parent bb1d97284f
commit fa32abc62b
4 changed files with 354 additions and 366 deletions

View file

@ -179,7 +179,7 @@
"phpstan/phpstan-phpunit": "^1.3.16", "phpstan/phpstan-phpunit": "^1.3.16",
"phpstan/phpstan-symfony": "^1.3.7", "phpstan/phpstan-symfony": "^1.3.7",
"phpunit/phpunit": "^9.6.17", "phpunit/phpunit": "^9.6.17",
"shipmonk/composer-dependency-analyser": "^1.4", "shipmonk/composer-dependency-analyser": "~1.5.0",
"symfony/browser-kit": "^5.4.35", "symfony/browser-kit": "^5.4.35",
"symfony/css-selector": "^5.4.35", "symfony/css-selector": "^5.4.35",
"symfony/debug-bundle": "^5.4.35", "symfony/debug-bundle": "^5.4.35",

645
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,43 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="tests/bootstrap.php">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <coverage>
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd" <include>
backupGlobals="false" <directory>src</directory>
colors="true" </include>
bootstrap="tests/bootstrap.php" <exclude>
> <directory>vendor</directory>
<directory>src/Wallabag/*Bundle/Resources</directory>
<testsuites> <directory>src/Wallabag/*Bundle/Tests</directory>
<testsuite name="wallabag"> <directory>src/Wallabag/*Bundle/DataFixtures</directory>
<directory>tests</directory> </exclude>
</testsuite> </coverage>
</testsuites> <testsuites>
<testsuite name="wallabag">
<php> <directory>tests</directory>
<ini name="error_reporting" value="-1" /> </testsuite>
<server name="KERNEL_CLASS" value="AppKernel" /> </testsuites>
<server name="APP_ENV" value="test" /> <php>
<server name="APP_DEBUG" value="0" /> <ini name="error_reporting" value="-1"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" /> <server name="KERNEL_CLASS" value="AppKernel"/>
</php> <server name="APP_ENV" value="test"/>
<server name="APP_DEBUG" value="0"/>
<filter> <env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
<whitelist> </php>
<directory>src</directory> <extensions>
<exclude> <extension class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension"/>
<directory>vendor</directory> </extensions>
<directory>src/Wallabag/*Bundle/Resources</directory> <listeners>
<directory>src/Wallabag/*Bundle/Tests</directory> <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
<directory>src/Wallabag/*Bundle/DataFixtures</directory> </listeners>
</exclude>
</whitelist>
</filter>
<extensions>
<extension class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension" />
</extensions>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners>
</phpunit> </phpunit>

View file

@ -30,7 +30,7 @@ class UserMailer extends TwigSwiftMailer
protected $twig; protected $twig;
/** /**
* @var array * @var array{template: array{confirmation: string, resetting: string}, from_email: array{confirmation: array<string, string>|string, resetting: array<string, string>|string}}
*/ */
protected $parameters; protected $parameters;