Skip to content

Commit 4248f18

Browse files
authored
Merge pull request #593 from kukulich/psalm
Removed outdated @psalm-suppress
2 parents 390ef3f + 228e29f commit 4248f18

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

psalm-baseline.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="3.9.2@87d8947ff36d8b71f54b7e46b93384cf010681a0">
2+
<files psalm-version="3.11.2@d470903722cfcbc1cd04744c5491d3e6d13ec3d9">
33
<file src="src/BetterReflection.php">
44
<DocblockTypeContradiction occurrences="1">
55
<code>$this-&gt;sourceStubber</code>
66
</DocblockTypeContradiction>
77
</file>
88
<file src="src/Reflection/Adapter/ReflectionClass.php">
9-
<InvalidReturnType occurrences="1">
10-
<code>getProperties</code>
11-
</InvalidReturnType>
129
<MethodSignatureMismatch occurrences="5">
1310
<code>public function getName()</code>
1411
<code>public function getTraitNames()</code>
@@ -27,9 +24,6 @@
2724
</RedundantCondition>
2825
</file>
2926
<file src="src/Reflection/Adapter/ReflectionObject.php">
30-
<InvalidReturnType occurrences="1">
31-
<code>getProperties</code>
32-
</InvalidReturnType>
3327
<MethodSignatureMismatch occurrences="5">
3428
<code>public function getName()</code>
3529
<code>public function getTraitNames()</code>

src/Reflection/Adapter/ReflectionClass.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,6 @@ public function getReflectionConstant($name)
272272

273273
/**
274274
* {@inheritdoc}
275-
*
276-
* @psalm-suppress InvalidReturnType see #530
277275
*/
278276
public function getReflectionConstants()
279277
{
@@ -315,8 +313,6 @@ public function isInterface()
315313

316314
/**
317315
* {@inheritDoc}
318-
*
319-
* @psalm-suppress InvalidReturnType see #530
320316
*/
321317
public function getTraits()
322318
{

src/Reflection/Adapter/ReflectionObject.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,6 @@ public function isInterface()
268268

269269
/**
270270
* {@inheritDoc}
271-
*
272-
* @psalm-suppress InvalidReturnType see #530
273271
*/
274272
public function getTraits()
275273
{

0 commit comments

Comments
 (0)