Skip to content

Commit 3907872

Browse files
authored
Merge pull request #11302 from greg0ire/3.0.x
Merge 2.18.x up into 3.0.x
2 parents 2a250b5 + 54cd700 commit 3907872

File tree

3 files changed

+1
-18
lines changed

3 files changed

+1
-18
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,6 @@ parameters:
125125
count: 1
126126
path: src/EntityRepository.php
127127

128-
-
129-
message: "#^Method Doctrine\\\\ORM\\\\Mapping\\\\ClassMetadata\\:\\:fullyQualifiedClassName\\(\\) should return class\\-string\\|null but returns string\\|null\\.$#"
130-
count: 1
131-
path: src/Mapping/ClassMetadata.php
132-
133128
-
134129
message: "#^If condition is always true\\.$#"
135130
count: 1

psalm-baseline.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -314,16 +314,7 @@
314314
</InvalidNullableReturnType>
315315
<InvalidPropertyAssignmentValue>
316316
<code>$definition</code>
317-
<code><![CDATA[$this->subClasses]]></code>
318317
</InvalidPropertyAssignmentValue>
319-
<LessSpecificReturnStatement>
320-
<code>$className</code>
321-
<code>$className</code>
322-
<code><![CDATA[$this->namespace . '\\' . $className]]></code>
323-
</LessSpecificReturnStatement>
324-
<MoreSpecificReturnType>
325-
<code>class-string|null</code>
326-
</MoreSpecificReturnType>
327318
<NullableReturnStatement>
328319
<code><![CDATA[$this->reflClass]]></code>
329320
</NullableReturnStatement>

src/Mapping/ClassMetadata.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2464,10 +2464,7 @@ public function getAssociationMappedByTargetField(string $assocName): string
24642464
return $assoc->mappedBy;
24652465
}
24662466

2467-
/**
2468-
* @return string|null null if the input value is null
2469-
* @psalm-return class-string|null
2470-
*/
2467+
/** @return string|null null if the input value is null */
24712468
public function fullyQualifiedClassName(string|null $className): string|null
24722469
{
24732470
if (empty($className)) {

0 commit comments

Comments
 (0)