Skip to content

Commit 72a674d

Browse files
vjikStyleCIBot
andauthored
Finalize classes + Update composer deps (#242)
* Finalize classes + Update composer deps * Apply fixes from StyleCI --------- Co-authored-by: StyleCI Bot <bot@styleci.io>
1 parent 05ab1c0 commit 72a674d

File tree

7 files changed

+17
-18
lines changed

7 files changed

+17
-18
lines changed

composer.json

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,24 @@
3636
"minimum-stability": "dev",
3737
"prefer-stable": true,
3838
"require": {
39-
"php": "^8.1",
40-
"psr/container": "^1.0|^2.0",
41-
"psr/log": "^2.0|^3.0",
42-
"symfony/console": "^5.4|^6.0|^7.0",
39+
"php": "8.1 - 8.4",
40+
"psr/container": "^1.0 || ^2.0",
41+
"psr/log": "^2.0 || ^3.0",
42+
"symfony/console": "^5.4 || ^6.0 || ^7.0",
4343
"yiisoft/definitions": "^3.3.1",
4444
"yiisoft/factory": "^1.3",
4545
"yiisoft/friendly-exception": "^1.0",
4646
"yiisoft/injector": "^1.0"
4747
},
4848
"require-dev": {
49-
"maglnet/composer-require-checker": "^4.7",
50-
"phpbench/phpbench": "^1.3",
51-
"phpunit/phpunit": "^10.5",
52-
"rector/rector": "^2.0",
53-
"roave/infection-static-analysis-plugin": "^1.34",
54-
"infection/infection": "^0.27.8||^0.29.0",
55-
"spatie/phpunit-watcher": "^1.23",
56-
"vimeo/psalm": "^5.20||^6.0",
57-
"yiisoft/test-support": "^3.0",
49+
"maglnet/composer-require-checker": "^4.7.1",
50+
"phpbench/phpbench": "^1.4.1",
51+
"phpunit/phpunit": "^10.5.45",
52+
"rector/rector": "^2.0.11",
53+
"roave/infection-static-analysis-plugin": "^1.35",
54+
"spatie/phpunit-watcher": "^1.24",
55+
"vimeo/psalm": "^5.26.1 || ^6.10",
56+
"yiisoft/test-support": "^3.0.2",
5857
"yiisoft/yii-debug": "dev-master"
5958
},
6059
"suggest": {

psalm.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
errorLevel="2"
44
findUnusedBaselineEntry="true"
55
findUnusedCode="false"
6+
ensureOverrideAttribute="false"
67
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
78
xmlns="https://getpsalm.org/schema/config"
89
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"

src/Cli/SignalLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Yiisoft\Queue\Cli;
66

7-
class SignalLoop implements LoopInterface
7+
final class SignalLoop implements LoopInterface
88
{
99
use SoftLimitTrait;
1010

src/Cli/SimpleLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Yiisoft\Queue\Cli;
66

7-
class SimpleLoop implements LoopInterface
7+
final class SimpleLoop implements LoopInterface
88
{
99
use SoftLimitTrait;
1010

src/Exception/AdapterConfiguration/AdapterNotConfiguredException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Yiisoft\Queue\Provider\QueueProviderInterface;
1010
use Yiisoft\Queue\Queue;
1111

12-
class AdapterNotConfiguredException extends RuntimeException implements FriendlyExceptionInterface
12+
final class AdapterNotConfiguredException extends RuntimeException implements FriendlyExceptionInterface
1313
{
1414
protected $message = 'Queue adapter is not configured';
1515

src/Exception/JobFailureException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Yiisoft\Queue\Message\MessageInterface;
1010
use Yiisoft\Queue\Message\IdEnvelope;
1111

12-
class JobFailureException extends RuntimeException
12+
final class JobFailureException extends RuntimeException
1313
{
1414
public function __construct(private MessageInterface $queueMessage, Throwable $previous)
1515
{

src/Middleware/InvalidMiddlewareDefinitionException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace Yiisoft\Queue\Middleware;
66

77
use InvalidArgumentException;
8-
98
use Throwable;
109

1110
use function is_array;

0 commit comments

Comments
 (0)