chore(SF7): Allow Symfony 7

This commit is contained in:
2025-02-26 18:04:17 +01:00
parent fa6f9d1080
commit efb3518138
31 changed files with 42 additions and 42 deletions

View File

@@ -12,16 +12,16 @@
"require": { "require": {
"php": "^8.1", "php": "^8.1",
"digital-craftsman/ids": "0.5.*", "digital-craftsman/ids": "0.5.*",
"symfony/messenger": "^6.2", "symfony/messenger": "^6.4|^7.2",
"psr/clock": "^1.0.0", "psr/clock": "^1.0.0",
"symfony/uid": "^6.2" "symfony/uid": "^6.4|^7.2"
}, },
"require-dev": { "require-dev": {
"dg/bypass-finals": "^1.4", "dg/bypass-finals": "^1.4",
"friendsofphp/php-cs-fixer": "^3.12", "friendsofphp/php-cs-fixer": "^3.12",
"phpunit/phpunit": "^9.5", "phpunit/phpunit": "^9.5",
"zapoyok/phpunit-php": "@dev", "zapoyok/phpunit-php": "@dev",
"symfony/phpunit-bridge": "^6.2" "symfony/phpunit-bridge": "^6.4|^7.2"
}, },
"repositories": [ "repositories": [
{ {

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.
@@ -22,7 +22,7 @@ trait MessageTrait
public function stampIds( public function stampIds(
?MessageId $messageId = null, ?MessageId $messageId = null,
?MessageId $replyToId = null, ?MessageId $replyToId = null,
?MessageId $correlationId = null ?MessageId $correlationId = null,
): static { ): static {
$this->messageId = $messageId; $this->messageId = $messageId;
$this->replyToId = $replyToId; $this->replyToId = $replyToId;
@@ -44,7 +44,7 @@ trait MessageTrait
public function stampAsResponse( public function stampAsResponse(
?MessageId $replyTo, ?MessageId $replyTo,
?MessageId $correlationId ?MessageId $correlationId,
): static { ): static {
return $this->stampIds( return $this->stampIds(
MessageId::nextId(), MessageId::nextId(),

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/** /**
* This file is part of the zapoyok.info project. * This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info> * (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
* *
* For the full copyright and license information, please view the LICENSE * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code. * file that was distributed with this source code.