Skip to content

Commit a393d48

Browse files
committed
Update psalm's config
1 parent ae6f928 commit a393d48

File tree

2 files changed

+2
-35
lines changed

2 files changed

+2
-35
lines changed

psalm.xml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -15,41 +15,6 @@
1515
</projectFiles>
1616

1717
<issueHandlers>
18-
<LessSpecificReturnType errorLevel="info" />
19-
20-
<!-- level 3 issues - slightly lazy code writing, but provably low false-negatives -->
21-
22-
<DeprecatedMethod errorLevel="info" />
23-
<DeprecatedProperty errorLevel="info" />
24-
<DeprecatedClass errorLevel="info" />
25-
<DeprecatedConstant errorLevel="info" />
26-
<DeprecatedInterface errorLevel="info" />
27-
<DeprecatedTrait errorLevel="info" />
28-
29-
<InternalMethod errorLevel="info" />
30-
<InternalProperty errorLevel="info" />
31-
<InternalClass errorLevel="info" />
32-
33-
<MissingClosureReturnType errorLevel="info" />
34-
<MissingReturnType errorLevel="info" />
35-
<MissingPropertyType errorLevel="info" />
36-
<InvalidDocblock errorLevel="info" />
37-
<MisplacedRequiredParam errorLevel="info" />
38-
3918
<PropertyNotSetInConstructor errorLevel="info" />
40-
<MissingConstructor errorLevel="info" />
41-
<MissingClosureParamType errorLevel="info" />
42-
<MissingParamType errorLevel="info" />
43-
44-
<RedundantCondition errorLevel="info" />
45-
46-
<DocblockTypeContradiction errorLevel="info" />
47-
<RedundantConditionGivenDocblockType errorLevel="info" />
48-
49-
<UnresolvableInclude errorLevel="info" />
50-
51-
<RawObjectIteration errorLevel="info" />
52-
53-
<InvalidStringClass errorLevel="info" />
5419
</issueHandlers>
5520
</psalm>

src/Command/I18nExtractCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,9 @@ protected function _searchFiles(): void
584584

585585
foreach ($this->_paths as $path) {
586586
$path = realpath($path) . DIRECTORY_SEPARATOR;
587+
/** @psalm-suppress InternalClass */
587588
$fs = new Filesystem();
589+
/** @psalm-suppress InternalMethod */
588590
$files = $fs->findRecursive($path, '/\.php$/');
589591
$files = array_keys(iterator_to_array($files));
590592
sort($files);

0 commit comments

Comments
 (0)