Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit69e1127

Browse files
minor#51268 Psalm: Suppress UnusedConstructor errors (derrabus)
This PR was merged into the 5.4 branch.Discussion----------Psalm: Suppress UnusedConstructor errors| Q | A| ------------- | ---| Branch? | 5.4| Bug fix? | no| New feature? | no| Deprecations? | no| Tickets | N/A| License | MIT| Doc PR | N/AThe CI on our pull requests keeps failing because of `UnusedConstructor` Psalm errors. I believe that this class of errors is not relevant for this codebase.Commits-------74401f1 Psalm: Suppress UnusedConstructor errors
2 parentsb39fcef +74401f1 commit69e1127

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎psalm.xml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,14 @@
3636
<referencedClassname="UnitEnum"/>
3737
</errorLevel>
3838
</UndefinedDocblockClass>
39+
<UnusedConstructor>
40+
<errorLeveltype="suppress">
41+
<!--
42+
We use private constructors to avoid instantiation.
43+
This kind of error is bogus in most cases.
44+
-->
45+
<directoryname="src/Symfony" />
46+
</errorLevel>
47+
</UnusedConstructor>
3948
</issueHandlers>
4049
</psalm>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp