Skip to content

Commit 015d501

Browse files
committed
[CS] Remove @inheritdoc PHPDoc
1 parent 7da2b23 commit 015d501

File tree

1,090 files changed

+1
-8714
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,090 files changed

+1
-8714
lines changed

.php-cs-fixer.dist.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
'protected_to_private' => false,
3232
'native_constant_invocation' => ['strict' => false],
3333
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => false],
34+
'no_superfluous_phpdoc_tags' => ['remove_inheritdoc' => true],
3435
'header_comment' => ['header' => $fileHeaderComment],
3536
'modernize_strpos' => true,
3637
])

src/Symfony/Bridge/Doctrine/ArgumentResolver/EntityValueResolver.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ public function __construct(
3838
) {
3939
}
4040

41-
/**
42-
* {@inheritdoc}
43-
*/
4441
public function resolve(Request $request, ArgumentMetadata $argument): array
4542
{
4643
$options = $this->getMapEntityAttribute($argument);

src/Symfony/Bridge/Doctrine/CacheWarmer/ProxyCacheWarmer.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ public function isOptional(): bool
4040
}
4141

4242
/**
43-
* {@inheritdoc}
44-
*
4543
* @return string[] A list of files to preload on PHP 7.4+
4644
*/
4745
public function warmUp(string $cacheDir): array

src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ public function __construct(ContainerInterface $container, array $subscriberIds
4444
$this->subscribers = $subscriberIds;
4545
}
4646

47-
/**
48-
* {@inheritdoc}
49-
*/
5047
public function dispatchEvent($eventName, EventArgs $eventArgs = null): void
5148
{
5249
if (!$this->initializedSubscribers) {
@@ -68,8 +65,6 @@ public function dispatchEvent($eventName, EventArgs $eventArgs = null): void
6865
}
6966

7067
/**
71-
* {@inheritdoc}
72-
*
7368
* @return object[][]
7469
*/
7570
public function getListeners($event = null): array
@@ -94,9 +89,6 @@ public function getListeners($event = null): array
9489
return $this->listeners;
9590
}
9691

97-
/**
98-
* {@inheritdoc}
99-
*/
10092
public function hasListeners($event): bool
10193
{
10294
if (!$this->initializedSubscribers) {
@@ -106,9 +98,6 @@ public function hasListeners($event): bool
10698
return isset($this->listeners[$event]) && $this->listeners[$event];
10799
}
108100

109-
/**
110-
* {@inheritdoc}
111-
*/
112101
public function addEventListener($events, $listener): void
113102
{
114103
if (!$this->initializedSubscribers) {
@@ -130,9 +119,6 @@ public function addEventListener($events, $listener): void
130119
}
131120
}
132121

133-
/**
134-
* {@inheritdoc}
135-
*/
136122
public function removeEventListener($events, $listener): void
137123
{
138124
if (!$this->initializedSubscribers) {

src/Symfony/Bridge/Doctrine/DataCollector/DoctrineDataCollector.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ public function addLogger(string $name, DebugStack $logger)
5353
$this->loggers[$name] = $logger;
5454
}
5555

56-
/**
57-
* {@inheritdoc}
58-
*/
5956
public function collect(Request $request, Response $response, \Throwable $exception = null)
6057
{
6158
$this->data = [
@@ -132,17 +129,11 @@ public function getTime()
132129
return $time;
133130
}
134131

135-
/**
136-
* {@inheritdoc}
137-
*/
138132
public function getName(): string
139133
{
140134
return 'db';
141135
}
142136

143-
/**
144-
* {@inheritdoc}
145-
*/
146137
protected function getCasters(): array
147138
{
148139
return parent::getCasters() + [

src/Symfony/Bridge/Doctrine/DataFixtures/ContainerAwareLoader.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ public function __construct(ContainerInterface $container)
3232
$this->container = $container;
3333
}
3434

35-
/**
36-
* {@inheritdoc}
37-
*/
3835
public function addFixture(FixtureInterface $fixture)
3936
{
4037
if ($fixture instanceof ContainerAwareInterface) {

src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/DoctrineValidationPass.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ public function __construct(string $managerType)
2828
$this->managerType = $managerType;
2929
}
3030

31-
/**
32-
* {@inheritdoc}
33-
*/
3431
public function process(ContainerBuilder $container)
3532
{
3633
$this->updateValidatorMappingFiles($container, 'xml', 'xml');

src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ public function __construct(string $connectionsParameter, string $managerTemplat
5353
$this->tagPrefix = $tagPrefix;
5454
}
5555

56-
/**
57-
* {@inheritdoc}
58-
*/
5956
public function process(ContainerBuilder $container)
6057
{
6158
if (!$container->hasParameter($this->connectionsParameter)) {

src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterUidTypePass.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919

2020
final class RegisterUidTypePass implements CompilerPassInterface
2121
{
22-
/**
23-
* {@inheritdoc}
24-
*/
2522
public function process(ContainerBuilder $container)
2623
{
2724
if (!class_exists(AbstractUid::class)) {

src/Symfony/Bridge/Doctrine/Form/ChoiceList/DoctrineChoiceLoader.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ public function __construct(ObjectManager $manager, string $class, IdReader $idR
5050
$this->objectLoader = $objectLoader;
5151
}
5252

53-
/**
54-
* {@inheritdoc}
55-
*/
5653
protected function loadChoices(): iterable
5754
{
5855
return $this->objectLoader

0 commit comments

Comments
 (0)