File tree Expand file tree Collapse file tree 10 files changed +22
-10
lines changed Expand file tree Collapse file tree 10 files changed +22
-10
lines changed Original file line number Diff line number Diff line change 1818
1919 - uses : shivammathur/setup-php@v2
2020 with :
21- php-version : ' 7.4 '
21+ php-version : ' 8.2 '
2222 coverage : none
2323 extensions : mongodb, redis, :xdebug
2424 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
22FROM makasim/nginx-php-fpm:${PHP_VERSION}-all-exts
33
44ARG PHP_VERSION
Original file line number Diff line number Diff line change 1313use Interop \Queue \Processor ;
1414use Psr \Container \ContainerInterface ;
1515use Psr \Container \NotFoundExceptionInterface ;
16+ use Symfony \Component \Console \Attribute \AsCommand ;
1617use Symfony \Component \Console \Command \Command ;
1718use Symfony \Component \Console \Input \InputArgument ;
1819use Symfony \Component \Console \Input \InputInterface ;
1920use Symfony \Component \Console \Input \InputOption ;
2021use Symfony \Component \Console \Output \OutputInterface ;
2122
23+ #[AsCommand('enqueue:consume ' )]
2224class ConsumeCommand extends Command
2325{
26+ use ChooseLoggerCommandTrait;
2427 use LimitsExtensionsCommandTrait;
25- use SetupBrokerExtensionCommandTrait;
2628 use QueueConsumerOptionsCommandTrait;
27- use ChooseLoggerCommandTrait ;
29+ use SetupBrokerExtensionCommandTrait ;
2830
2931 protected static $ defaultName = 'enqueue:consume ' ;
3032
Original file line number Diff line number Diff line change 66use Enqueue \Client \ProducerInterface ;
77use Psr \Container \ContainerInterface ;
88use Psr \Container \NotFoundExceptionInterface ;
9+ use Symfony \Component \Console \Attribute \AsCommand ;
910use Symfony \Component \Console \Command \Command ;
1011use Symfony \Component \Console \Input \InputArgument ;
1112use Symfony \Component \Console \Input \InputInterface ;
1213use Symfony \Component \Console \Input \InputOption ;
1314use Symfony \Component \Console \Output \OutputInterface ;
1415
16+ #[AsCommand('enqueue:produce ' )]
1517class ProduceCommand extends Command
1618{
1719 protected static $ defaultName = 'enqueue:produce ' ;
Original file line number Diff line number Diff line change 66use Enqueue \Client \Route ;
77use Psr \Container \ContainerInterface ;
88use Psr \Container \NotFoundExceptionInterface ;
9+ use Symfony \Component \Console \Attribute \AsCommand ;
910use Symfony \Component \Console \Command \Command ;
1011use Symfony \Component \Console \Helper \Table ;
1112use Symfony \Component \Console \Helper \TableSeparator ;
1213use Symfony \Component \Console \Input \InputInterface ;
1314use Symfony \Component \Console \Input \InputOption ;
1415use Symfony \Component \Console \Output \OutputInterface ;
1516
17+ #[AsCommand('enqueue:routes ' )]
1618class RoutesCommand extends Command
1719{
1820 protected static $ defaultName = 'enqueue:routes ' ;
Original file line number Diff line number Diff line change 55use Enqueue \Client \DriverInterface ;
66use Psr \Container \ContainerInterface ;
77use Psr \Container \NotFoundExceptionInterface ;
8+ use Symfony \Component \Console \Attribute \AsCommand ;
89use Symfony \Component \Console \Command \Command ;
910use Symfony \Component \Console \Input \InputInterface ;
1011use Symfony \Component \Console \Input \InputOption ;
1112use Symfony \Component \Console \Logger \ConsoleLogger ;
1213use Symfony \Component \Console \Output \OutputInterface ;
1314
15+ #[AsCommand('enqueue:setup-broker ' )]
1416class SetupBrokerCommand extends Command
1517{
1618 protected static $ defaultName = 'enqueue:setup-broker ' ;
Original file line number Diff line number Diff line change 88use Enqueue \ProcessorRegistryInterface ;
99use Psr \Container \ContainerInterface ;
1010use Psr \Container \NotFoundExceptionInterface ;
11+ use Symfony \Component \Console \Attribute \AsCommand ;
1112use Symfony \Component \Console \Command \Command ;
1213use Symfony \Component \Console \Input \InputArgument ;
1314use Symfony \Component \Console \Input \InputInterface ;
1415use Symfony \Component \Console \Input \InputOption ;
1516use Symfony \Component \Console \Output \OutputInterface ;
1617
18+ #[AsCommand('enqueue:transport:consume ' )]
1719class ConfigurableConsumeCommand extends Command
1820{
21+ use ChooseLoggerCommandTrait;
1922 use LimitsExtensionsCommandTrait;
2023 use QueueConsumerOptionsCommandTrait;
21- use ChooseLoggerCommandTrait;
2224
2325 protected static $ defaultName = 'enqueue:transport:consume ' ;
2426
Original file line number Diff line number Diff line change 77use Enqueue \Consumption \QueueConsumerInterface ;
88use Psr \Container \ContainerInterface ;
99use Psr \Container \NotFoundExceptionInterface ;
10+ use Symfony \Component \Console \Attribute \AsCommand ;
1011use Symfony \Component \Console \Command \Command ;
1112use Symfony \Component \Console \Input \InputInterface ;
1213use Symfony \Component \Console \Input \InputOption ;
1314use Symfony \Component \Console \Output \OutputInterface ;
1415
16+ #[AsCommand('enqueue:transport:consume ' )]
1517class ConsumeCommand extends Command
1618{
19+ use ChooseLoggerCommandTrait;
1720 use LimitsExtensionsCommandTrait;
1821 use QueueConsumerOptionsCommandTrait;
19- use ChooseLoggerCommandTrait;
2022
2123 protected static $ defaultName = 'enqueue:transport:consume ' ;
2224
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public function testShouldAllowGetAwsClientIfSingleClientProvided()
1616 $ awsClient = (new Sdk (['Sns ' => [
1717 'key ' => '' ,
1818 'secret ' => '' ,
19- 'region ' => '' ,
19+ 'region ' => 'us-west-2 ' ,
2020 'version ' => '2010-03-31 ' ,
2121 'endpoint ' => 'http://localhost ' ,
2222 ]]))->createSns ();
@@ -31,7 +31,7 @@ public function testShouldAllowGetAwsClientIfMultipleClientProvided()
3131 $ awsClient = (new Sdk (['Sns ' => [
3232 'key ' => '' ,
3333 'secret ' => '' ,
34- 'region ' => '' ,
34+ 'region ' => 'us-west-2 ' ,
3535 'version ' => '2010-03-31 ' ,
3636 'endpoint ' => 'http://localhost ' ,
3737 ]]))->createMultiRegionSns ();
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public function testShouldAllowGetAwsClientIfSingleClientProvided()
1616 $ awsClient = (new Sdk (['Sqs ' => [
1717 'key ' => '' ,
1818 'secret ' => '' ,
19- 'region ' => '' ,
19+ 'region ' => 'us-west-2 ' ,
2020 'version ' => '2012-11-05 ' ,
2121 'endpoint ' => 'http://localhost ' ,
2222 ]]))->createSqs ();
@@ -31,7 +31,7 @@ public function testShouldAllowGetAwsClientIfMultipleClientProvided()
3131 $ awsClient = (new Sdk (['Sqs ' => [
3232 'key ' => '' ,
3333 'secret ' => '' ,
34- 'region ' => '' ,
34+ 'region ' => 'us-west-2 ' ,
3535 'version ' => '2012-11-05 ' ,
3636 'endpoint ' => 'http://localhost ' ,
3737 ]]))->createMultiRegionSqs ();
You can’t perform that action at this time.
0 commit comments