Skip to content

Commit 999c249

Browse files
committed
Adjust psalm config
Signed-off-by: Joey Smith <jsmith@webinertia.net> Signed-off-by: Joey Smith <jsmith@webinertia.net>
1 parent 0f7551f commit 999c249

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

psalm-baseline.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,6 @@
134134
</PossiblyUnusedMethod>
135135
</file>
136136
<file src="src/Driver/Mysqli/Connection.php">
137-
<ClassMustBeFinal>
138-
<code><![CDATA[Connection]]></code>
139-
</ClassMustBeFinal>
140137
<InvalidReturnStatement>
141138
<code><![CDATA[$r[0]]]></code>
142139
</InvalidReturnStatement>
@@ -390,9 +387,6 @@
390387
</TypeDoesNotContainType>
391388
</file>
392389
<file src="src/Driver/Pdo/Pdo.php">
393-
<ClassMustBeFinal>
394-
<code><![CDATA[Pdo]]></code>
395-
</ClassMustBeFinal>
396390
<ImplementedParamTypeMismatch>
397391
<code><![CDATA[$resource]]></code>
398392
</ImplementedParamTypeMismatch>
@@ -579,9 +573,6 @@
579573
<ArgumentTypeCoercion>
580574
<code><![CDATA[$value]]></code>
581575
</ArgumentTypeCoercion>
582-
<ClassMustBeFinal>
583-
<code><![CDATA[Mysql]]></code>
584-
</ClassMustBeFinal>
585576
</file>
586577
<file src="src/Sql/Platform/Mysql/Ddl/AlterTableDecorator.php">
587578
<LessSpecificImplementedReturnType>

psalm.xml.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@
3535
</errorLevel>
3636
</MissingOverrideAttribute>
3737

38+
<ClassMustBeFinal>
39+
<errorLevel type="suppress">
40+
<directory name="src" />
41+
</errorLevel>
42+
</ClassMustBeFinal>
43+
3844
<PossiblyNullReference>
3945
<errorLevel type="suppress">
4046
<directory name="test" />

0 commit comments

Comments
 (0)