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,42 +1,31 @@
<?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"
colors="true"
bootstrap="tests/bootstrap.php"
>
<testsuites>
<testsuite name="wallabag">
<directory>tests</directory>
</testsuite>
</testsuites>
<php>
<ini name="error_reporting" value="-1" />
<server name="KERNEL_CLASS" value="AppKernel" />
<server name="APP_ENV" value="test" />
<server name="APP_DEBUG" value="0" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
</php>
<filter>
<whitelist>
<directory>src</directory> <directory>src</directory>
</include>
<exclude> <exclude>
<directory>vendor</directory> <directory>vendor</directory>
<directory>src/Wallabag/*Bundle/Resources</directory> <directory>src/Wallabag/*Bundle/Resources</directory>
<directory>src/Wallabag/*Bundle/Tests</directory> <directory>src/Wallabag/*Bundle/Tests</directory>
<directory>src/Wallabag/*Bundle/DataFixtures</directory> <directory>src/Wallabag/*Bundle/DataFixtures</directory>
</exclude> </exclude>
</whitelist> </coverage>
</filter> <testsuites>
<testsuite name="wallabag">
<directory>tests</directory>
</testsuite>
</testsuites>
<php>
<ini name="error_reporting" value="-1"/>
<server name="KERNEL_CLASS" value="AppKernel"/>
<server name="APP_ENV" value="test"/>
<server name="APP_DEBUG" value="0"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
</php>
<extensions> <extensions>
<extension class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension" /> <extension class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension"/>
</extensions> </extensions>
<listeners> <listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/> <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners> </listeners>

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;