Skip to content

Commit 7e07385

Browse files
committed
AC-9499::Update Symfony dependency packages to the latest LTS versions 6.4
1 parent c8f94fb commit 7e07385

File tree

2 files changed

+3
-182
lines changed

2 files changed

+3
-182
lines changed

app/code/Magento/MessageQueue/Console/StartConsumerCommand.php

Lines changed: 0 additions & 179 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@
55
*/
66
namespace Magento\MessageQueue\Console;
77

8-
use Symfony\Component\Console\Application;
98
use Symfony\Component\Console\Command\Command;
10-
use Symfony\Component\Console\Helper\HelperSet;
119
use Symfony\Component\Console\Input\InputArgument;
12-
use Symfony\Component\Console\Input\InputDefinition;
1310
use Symfony\Component\Console\Input\InputInterface;
1411
use Symfony\Component\Console\Input\InputOption;
1512
use Symfony\Component\Console\Output\OutputInterface;
@@ -64,182 +61,6 @@ public function __construct(
6461
parent::__construct($name);
6562
}
6663

67-
/**
68-
* @inheritdoc
69-
*/
70-
public function getHelperSet(): ?HelperSet
71-
{
72-
return parent::getHelperSet();
73-
}
74-
75-
/**
76-
* @inheritdoc
77-
*/
78-
public function getApplication(): ?Application
79-
{
80-
return parent::getApplication();
81-
}
82-
83-
/**
84-
* {@inheritdoc}
85-
*/
86-
public function setCode(callable $code): static
87-
{
88-
return parent::setCode($code);
89-
}
90-
91-
/**
92-
* {@inheritdoc}
93-
*/
94-
public function mergeApplicationDefinition(bool $mergeArgs = true): void
95-
{
96-
97-
}
98-
99-
/**
100-
* {@inheritdoc}
101-
*/
102-
public function setDefinition(InputDefinition|array $definition): static
103-
{
104-
return parent::setDefinition($definition);
105-
}
106-
107-
/**
108-
* {@inheritdoc}
109-
*/
110-
public function getNativeDefinition(): InputDefinition
111-
{
112-
return parent::getNativeDefinition();
113-
}
114-
115-
/**
116-
* {@inheritdoc}
117-
*/
118-
public function addArgument(string $name, int $mode = null, string $description = '', mixed $default = null): static
119-
{
120-
return parent::addArgument($name, $mode, $description, $default);
121-
}
122-
123-
/**
124-
* {@inheritdoc}
125-
*/
126-
public function setName(string $name): static
127-
{
128-
return parent::setName($name);
129-
}
130-
131-
/**
132-
* {@inheritdoc}
133-
*/
134-
public function getName(): ?string
135-
{
136-
return parent::getName();
137-
}
138-
139-
/**
140-
* {@inheritdoc}
141-
*/
142-
public function setHidden(bool $hidden = true): static
143-
{
144-
return parent::setHidden($hidden);
145-
}
146-
147-
/**
148-
* {@inheritdoc}
149-
*/
150-
public function isHidden(): bool
151-
{
152-
return parent::isHidden();
153-
}
154-
155-
/**
156-
* {@inheritdoc}
157-
*/
158-
public function setDescription(string $description): static
159-
{
160-
return parent::setDescription($description);
161-
}
162-
163-
/**
164-
* {@inheritdoc}
165-
*/
166-
public function getDescription(): string
167-
{
168-
return parent::getDescription();
169-
}
170-
171-
/**
172-
* {@inheritdoc}
173-
*/
174-
public function setHelp(string $help): static
175-
{
176-
return parent::setHelp($help);
177-
}
178-
179-
/**
180-
* {@inheritdoc}
181-
*/
182-
public function getHelp(): string
183-
{
184-
return parent::getHelp();
185-
}
186-
187-
/**
188-
* {@inheritdoc}
189-
*/
190-
public function getProcessedHelp(): string
191-
{
192-
return parent::getProcessedHelp();
193-
}
194-
195-
/**
196-
* {@inheritdoc}
197-
*/
198-
public function setAliases(iterable $aliases): static
199-
{
200-
return parent::setAliases($aliases);
201-
}
202-
203-
/**
204-
* {@inheritdoc}
205-
*/
206-
public function getAliases(): array
207-
{
208-
return parent::getAliases();
209-
}
210-
211-
/**
212-
* {@inheritdoc}
213-
*/
214-
public function getSynopsis(bool $short = false): string
215-
{
216-
return parent::getSynopsis($short);
217-
}
218-
219-
/**
220-
* {@inheritdoc}
221-
*/
222-
public function addUsage(string $usage): static
223-
{
224-
return parent::addUsage($usage);
225-
}
226-
227-
/**
228-
* {@inheritdoc}
229-
*/
230-
public function getUsages(): array
231-
{
232-
return parent::getUsages();
233-
}
234-
235-
/**
236-
* {@inheritdoc}
237-
*/
238-
public function getHelper(string $name): mixed
239-
{
240-
return parent::getHelper($name);
241-
}
242-
24364
/**
24465
* @inheritdoc
24566
*/

lib/internal/Magento/Framework/Code/Reader/ArgumentsReader.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ private function processType(\ReflectionClass $class, \Laminas\Code\Reflection\P
109109
}
110110

111111
// In PHP8, $parameterType could be an instance of ReflectionUnionType, which doesn't have isBuiltin method
112-
if ($parameterClass === null) {
113-
return null;
114-
}
112+
// if ($parameterClass === null) {
113+
// return null;
114+
// }
115115
$type = $parameter->detectType();
116116

117117
/**

0 commit comments

Comments
 (0)