File tree 10 files changed +22
-10
lines changed
10 files changed +22
-10
lines changed Original file line number Diff line number Diff line change 18
18
19
19
- uses : shivammathur/setup-php@v2
20
20
with :
21
- php-version : ' 7.4 '
21
+ php-version : ' 8.2 '
22
22
coverage : none
23
23
extensions : mongodb, redis, :xdebug
24
24
ini-values : memory_limit=2048M
Original file line number Diff line number Diff line change 1
- ARG PHP_VERSION=7.4
1
+ ARG PHP_VERSION=8.2
2
2
FROM makasim/nginx-php-fpm:${PHP_VERSION}-all-exts
3
3
4
4
ARG PHP_VERSION
Original file line number Diff line number Diff line change 13
13
use Interop \Queue \Processor ;
14
14
use Psr \Container \ContainerInterface ;
15
15
use Psr \Container \NotFoundExceptionInterface ;
16
+ use Symfony \Component \Console \Attribute \AsCommand ;
16
17
use Symfony \Component \Console \Command \Command ;
17
18
use Symfony \Component \Console \Input \InputArgument ;
18
19
use Symfony \Component \Console \Input \InputInterface ;
19
20
use Symfony \Component \Console \Input \InputOption ;
20
21
use Symfony \Component \Console \Output \OutputInterface ;
21
22
23
+ #[AsCommand('enqueue:consume ' )]
22
24
class ConsumeCommand extends Command
23
25
{
26
+ use ChooseLoggerCommandTrait;
24
27
use LimitsExtensionsCommandTrait;
25
- use SetupBrokerExtensionCommandTrait;
26
28
use QueueConsumerOptionsCommandTrait;
27
- use ChooseLoggerCommandTrait ;
29
+ use SetupBrokerExtensionCommandTrait ;
28
30
29
31
protected static $ defaultName = 'enqueue:consume ' ;
30
32
Original file line number Diff line number Diff line change 6
6
use Enqueue \Client \ProducerInterface ;
7
7
use Psr \Container \ContainerInterface ;
8
8
use Psr \Container \NotFoundExceptionInterface ;
9
+ use Symfony \Component \Console \Attribute \AsCommand ;
9
10
use Symfony \Component \Console \Command \Command ;
10
11
use Symfony \Component \Console \Input \InputArgument ;
11
12
use Symfony \Component \Console \Input \InputInterface ;
12
13
use Symfony \Component \Console \Input \InputOption ;
13
14
use Symfony \Component \Console \Output \OutputInterface ;
14
15
16
+ #[AsCommand('enqueue:produce ' )]
15
17
class ProduceCommand extends Command
16
18
{
17
19
protected static $ defaultName = 'enqueue:produce ' ;
Original file line number Diff line number Diff line change 6
6
use Enqueue \Client \Route ;
7
7
use Psr \Container \ContainerInterface ;
8
8
use Psr \Container \NotFoundExceptionInterface ;
9
+ use Symfony \Component \Console \Attribute \AsCommand ;
9
10
use Symfony \Component \Console \Command \Command ;
10
11
use Symfony \Component \Console \Helper \Table ;
11
12
use Symfony \Component \Console \Helper \TableSeparator ;
12
13
use Symfony \Component \Console \Input \InputInterface ;
13
14
use Symfony \Component \Console \Input \InputOption ;
14
15
use Symfony \Component \Console \Output \OutputInterface ;
15
16
17
+ #[AsCommand('enqueue:routes ' )]
16
18
class RoutesCommand extends Command
17
19
{
18
20
protected static $ defaultName = 'enqueue:routes ' ;
Original file line number Diff line number Diff line change 5
5
use Enqueue \Client \DriverInterface ;
6
6
use Psr \Container \ContainerInterface ;
7
7
use Psr \Container \NotFoundExceptionInterface ;
8
+ use Symfony \Component \Console \Attribute \AsCommand ;
8
9
use Symfony \Component \Console \Command \Command ;
9
10
use Symfony \Component \Console \Input \InputInterface ;
10
11
use Symfony \Component \Console \Input \InputOption ;
11
12
use Symfony \Component \Console \Logger \ConsoleLogger ;
12
13
use Symfony \Component \Console \Output \OutputInterface ;
13
14
15
+ #[AsCommand('enqueue:setup-broker ' )]
14
16
class SetupBrokerCommand extends Command
15
17
{
16
18
protected static $ defaultName = 'enqueue:setup-broker ' ;
Original file line number Diff line number Diff line change 8
8
use Enqueue \ProcessorRegistryInterface ;
9
9
use Psr \Container \ContainerInterface ;
10
10
use Psr \Container \NotFoundExceptionInterface ;
11
+ use Symfony \Component \Console \Attribute \AsCommand ;
11
12
use Symfony \Component \Console \Command \Command ;
12
13
use Symfony \Component \Console \Input \InputArgument ;
13
14
use Symfony \Component \Console \Input \InputInterface ;
14
15
use Symfony \Component \Console \Input \InputOption ;
15
16
use Symfony \Component \Console \Output \OutputInterface ;
16
17
18
+ #[AsCommand('enqueue:transport:consume ' )]
17
19
class ConfigurableConsumeCommand extends Command
18
20
{
21
+ use ChooseLoggerCommandTrait;
19
22
use LimitsExtensionsCommandTrait;
20
23
use QueueConsumerOptionsCommandTrait;
21
- use ChooseLoggerCommandTrait;
22
24
23
25
protected static $ defaultName = 'enqueue:transport:consume ' ;
24
26
Original file line number Diff line number Diff line change 7
7
use Enqueue \Consumption \QueueConsumerInterface ;
8
8
use Psr \Container \ContainerInterface ;
9
9
use Psr \Container \NotFoundExceptionInterface ;
10
+ use Symfony \Component \Console \Attribute \AsCommand ;
10
11
use Symfony \Component \Console \Command \Command ;
11
12
use Symfony \Component \Console \Input \InputInterface ;
12
13
use Symfony \Component \Console \Input \InputOption ;
13
14
use Symfony \Component \Console \Output \OutputInterface ;
14
15
16
+ #[AsCommand('enqueue:transport:consume ' )]
15
17
class ConsumeCommand extends Command
16
18
{
19
+ use ChooseLoggerCommandTrait;
17
20
use LimitsExtensionsCommandTrait;
18
21
use QueueConsumerOptionsCommandTrait;
19
- use ChooseLoggerCommandTrait;
20
22
21
23
protected static $ defaultName = 'enqueue:transport:consume ' ;
22
24
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public function testShouldAllowGetAwsClientIfSingleClientProvided()
16
16
$ awsClient = (new Sdk (['Sns ' => [
17
17
'key ' => '' ,
18
18
'secret ' => '' ,
19
- 'region ' => '' ,
19
+ 'region ' => 'us-west-2 ' ,
20
20
'version ' => '2010-03-31 ' ,
21
21
'endpoint ' => 'http://localhost ' ,
22
22
]]))->createSns ();
@@ -31,7 +31,7 @@ public function testShouldAllowGetAwsClientIfMultipleClientProvided()
31
31
$ awsClient = (new Sdk (['Sns ' => [
32
32
'key ' => '' ,
33
33
'secret ' => '' ,
34
- 'region ' => '' ,
34
+ 'region ' => 'us-west-2 ' ,
35
35
'version ' => '2010-03-31 ' ,
36
36
'endpoint ' => 'http://localhost ' ,
37
37
]]))->createMultiRegionSns ();
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public function testShouldAllowGetAwsClientIfSingleClientProvided()
16
16
$ awsClient = (new Sdk (['Sqs ' => [
17
17
'key ' => '' ,
18
18
'secret ' => '' ,
19
- 'region ' => '' ,
19
+ 'region ' => 'us-west-2 ' ,
20
20
'version ' => '2012-11-05 ' ,
21
21
'endpoint ' => 'http://localhost ' ,
22
22
]]))->createSqs ();
@@ -31,7 +31,7 @@ public function testShouldAllowGetAwsClientIfMultipleClientProvided()
31
31
$ awsClient = (new Sdk (['Sqs ' => [
32
32
'key ' => '' ,
33
33
'secret ' => '' ,
34
- 'region ' => '' ,
34
+ 'region ' => 'us-west-2 ' ,
35
35
'version ' => '2012-11-05 ' ,
36
36
'endpoint ' => 'http://localhost ' ,
37
37
]]))->createMultiRegionSqs ();
You can’t perform that action at this time.
0 commit comments