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,18 +1,21 @@
<?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>
<directory>src/Wallabag/*Bundle/Tests</directory>
<directory>src/Wallabag/*Bundle/DataFixtures</directory>
</exclude>
</coverage>
<testsuites> <testsuites>
<testsuite name="wallabag"> <testsuite name="wallabag">
<directory>tests</directory> <directory>tests</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>
<php> <php>
<ini name="error_reporting" value="-1"/> <ini name="error_reporting" value="-1"/>
<server name="KERNEL_CLASS" value="AppKernel"/> <server name="KERNEL_CLASS" value="AppKernel"/>
@ -20,23 +23,9 @@
<server name="APP_DEBUG" value="0"/> <server name="APP_DEBUG" value="0"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/> <env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
</php> </php>
<filter>
<whitelist>
<directory>src</directory>
<exclude>
<directory>vendor</directory>
<directory>src/Wallabag/*Bundle/Resources</directory>
<directory>src/Wallabag/*Bundle/Tests</directory>
<directory>src/Wallabag/*Bundle/DataFixtures</directory>
</exclude>
</whitelist>
</filter>
<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;