Drop support for PHP 8.1, add support for PHP 8.5, Drop support for Symfony v6 components #2627
continuous-integration.yml
on: pull_request
ci
/
Generate job matrix
8s
Check for missing dependencies
19s
Check for Unused Dependencies
20s
Rector on Default PHP
25s
Matrix: ci / QA Checks
Annotations
12 errors
|
Rector on Default PHP:
src/Container/Middleware/MessageSenderMiddlewareStaticFactory.php#L12
ReadOnlyClassRector
--- Original
+++ New
@@ -12,10 +12,10 @@
use function assert;
-final class MessageSenderMiddlewareStaticFactory
+final readonly class MessageSenderMiddlewareStaticFactory
{
/** @param non-empty-string $busIdentifier */
- public function __construct(private readonly string $busIdentifier)
+ public function __construct(private string $busIdentifier)
{
}
|
|
Rector on Default PHP:
src/Container/Middleware/MessageHandlerMiddlewareStaticFactory.php#L12
ReadOnlyPropertyRector / ReadOnlyClassRector
--- Original
+++ New
@@ -12,7 +12,7 @@
use function assert;
-final class MessageHandlerMiddlewareStaticFactory
+final readonly class MessageHandlerMiddlewareStaticFactory
{
/** @param non-empty-string $busIdentifier */
public function __construct(private string $busIdentifier)
|
|
Rector on Default PHP:
src/Container/Middleware/BusNameStampMiddlewareStaticFactory.php#L8
ReadOnlyPropertyRector / ReadOnlyClassRector
--- Original
+++ New
@@ -8,7 +8,7 @@
use Psr\Container\ContainerInterface;
use Symfony\Component\Messenger\Middleware\AddBusNameStampMiddleware;
-final class BusNameStampMiddlewareStaticFactory
+final readonly class BusNameStampMiddlewareStaticFactory
{
/** @param non-empty-string $busIdentifier */
public function __construct(private string $busIdentifier)
|
|
Rector on Default PHP:
src/Container/MessageBusStaticFactory.php#L11
ReadOnlyPropertyRector / ReadOnlyClassRector
--- Original
+++ New
@@ -11,7 +11,7 @@
use function assert;
-final class MessageBusStaticFactory
+final readonly class MessageBusStaticFactory
{
/** @param non-empty-string $id */
public function __construct(private string $id)
|
|
Rector on Default PHP:
src/Container/FailureSendersProvider.php#L17
ReadOnlyClassRector
--- Original
+++ New
@@ -17,12 +17,12 @@
*
* @implements ServiceProviderInterface<TransportInterface>
*/
-final class FailureSendersProvider implements ServiceProviderInterface
+final readonly class FailureSendersProvider implements ServiceProviderInterface
{
/** @param array<non-empty-string, non-empty-string> $transportMap */
public function __construct(
- private readonly ContainerInterface $container,
- private readonly array $transportMap,
+ private ContainerInterface $container,
+ private array $transportMap,
) {
}
|
|
Rector on Default PHP:
src/Container/FailureReceiversProvider.php#L14
ReadOnlyClassRector
--- Original
+++ New
@@ -14,12 +14,12 @@
use function in_array;
/** @implements ServiceProviderInterface<TransportInterface> */
-final class FailureReceiversProvider implements ServiceProviderInterface
+final readonly class FailureReceiversProvider implements ServiceProviderInterface
{
/** @param list<non-empty-string> $transportNames */
public function __construct(
- private readonly ContainerInterface $container,
- private readonly array $transportNames,
+ private ContainerInterface $container,
+ private array $transportNames,
) {
}
|
|
Rector on Default PHP:
src/Container/DoctrineTransportFactory.php#L33
StrStartsWithRector / ReadOnlyPropertyRector / ReadOnlyClassRector
--- Original
+++ New
@@ -33,7 +33,7 @@
*
* @implements TransportFactoryInterface<TransportInterface>
*/
-final class DoctrineTransportFactory implements TransportFactoryInterface
+final readonly class DoctrineTransportFactory implements TransportFactoryInterface
{
public function __construct(private ContainerInterface $container)
{
@@ -67,6 +67,6 @@
/** @param mixed[] $options */
public function supports(string $dsn, array $options): bool
{
- return strpos($dsn, 'doctrine://') === 0;
+ return str_starts_with($dsn, 'doctrine://');
}
}
|
|
Rector on Default PHP:
src/Container/Command/FailureCommandAbstractFactory.php#L16
ReadOnlyClassRector
--- Original
+++ New
@@ -16,7 +16,7 @@
use function sprintf;
/** @phpcs:disable SlevomatCodingStandard.Classes.RequireConstructorPropertyPromotion */
-final class FailureCommandAbstractFactory
+final readonly class FailureCommandAbstractFactory
{
private const CAN_CREATE = [
FailedMessagesRemoveCommand::class,
@@ -24,7 +24,7 @@
];
/** @var value-of<self::CAN_CREATE> */
- private readonly string $commandName;
+ private string $commandName;
/** @param class-string $commandName */
public function __construct(string $commandName)
|
|
Rector on Default PHP:
src/HandlerLocator/OneToOneFqcnContainerHandlerLocator.php#L15
ReadOnlyClassRector
--- Original
+++ New
@@ -15,12 +15,12 @@
use function is_callable;
use function is_string;
-final class OneToOneFqcnContainerHandlerLocator implements HandlersLocatorInterface
+final readonly class OneToOneFqcnContainerHandlerLocator implements HandlersLocatorInterface
{
/** @param iterable<string, string|mixed> $handlers */
public function __construct(
- private readonly iterable $handlers,
- private readonly ContainerInterface $container,
+ private iterable $handlers,
+ private ContainerInterface $container,
) {
}
|
|
Rector on Default PHP:
src/HandlerLocator/OneToManyFqcnContainerHandlerLocator.php#L13
ReadOnlyClassRector
--- Original
+++ New
@@ -13,12 +13,12 @@
use function is_array;
use function is_string;
-final class OneToManyFqcnContainerHandlerLocator implements HandlersLocatorInterface
+final readonly class OneToManyFqcnContainerHandlerLocator implements HandlersLocatorInterface
{
/** @param iterable<string, list<string>|mixed> $handlers */
public function __construct(
- private readonly iterable $handlers,
- private readonly ContainerInterface $container,
+ private iterable $handlers,
+ private ContainerInterface $container,
) {
}
|
|
ci / QA Checks (PHPUnit [8.5, lowest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires vimeo/psalm ^5.26.1 -> satisfiable by vimeo/psalm[5.26.1].
- vimeo/psalm 5.26.1 requires php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.5.0RC1) does not satisfy that requirement.
Problem 2
- Root composer.json requires lctrs/psalm-psr-container-plugin ^1.10 -> satisfiable by lctrs/psalm-psr-container-plugin[1.10.0, 1.11.0].
- lctrs/psalm-psr-container-plugin 1.10.0 requires php ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.5.0RC1) does not satisfy that requirement.
- lctrs/psalm-psr-container-plugin 1.11.0 requires php ~8.2.27 || ~8.3.16 || ~8.4.3 -> your php version (8.5.0RC1) does not satisfy that requirement.
|
|
ci / QA Checks (PHPUnit [8.5, latest], ubuntu-latest, laminas/laminas-continuous-integration-action@v1...
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires vimeo/psalm ^5.26.1 -> satisfiable by vimeo/psalm[5.26.1].
- vimeo/psalm 5.26.1 requires php ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.5.0RC1) does not satisfy that requirement.
Problem 2
- Root composer.json requires lctrs/psalm-psr-container-plugin ^1.10 -> satisfiable by lctrs/psalm-psr-container-plugin[1.10.0, 1.11.0].
- lctrs/psalm-psr-container-plugin 1.10.0 requires php ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.5.0RC1) does not satisfy that requirement.
- lctrs/psalm-psr-container-plugin 1.11.0 requires php ~8.2.27 || ~8.3.16 || ~8.4.3 -> your php version (8.5.0RC1) does not satisfy that requirement.
|