Skip to content

Commit 487f178

Browse files
authored
minor #301 [ci] handle phpstan baseline squawks
1 parent 3099289 commit 487f178

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
parameters:
22
ignoreErrors:
3-
-
4-
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeParentInterface\\:\\:integerNode\\(\\)\\.$#"
5-
count: 1
6-
path: src/DependencyInjection/Configuration.php
7-
8-
-
9-
message: "#^Method SymfonyCasts\\\\Bundle\\\\ResetPassword\\\\Model\\\\ResetPasswordToken\\:\\:getExpirationMessageData\\(\\) return type has no value type specified in iterable type array\\.$#"
10-
count: 1
11-
path: src/Model/ResetPasswordToken.php
12-
133
-
144
message: "#^PHPDoc tag @param references unknown parameter\\: \\$resetRequestLifetime$#"
155
count: 1

src/DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function getConfigTreeBuilder(): TreeBuilder
2525
/** @var ArrayNodeDefinition $rootNode */
2626
$rootNode = $treeBuilder->getRootNode();
2727

28-
$rootNode
28+
$rootNode /** @phpstan-ignore-line method.notFound (The last end() call) */
2929
->children()
3030
->scalarNode('request_password_repository')
3131
->isRequired()

src/Model/ResetPasswordToken.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ public function getExpirationMessageKey(): string
116116
}
117117

118118
/**
119+
* @return array<string, int>
120+
*
119121
* @throws \LogicException
120122
*/
121123
public function getExpirationMessageData(): array

0 commit comments

Comments
 (0)