Skip to content

Commit 49fe10d

Browse files
committed
Add bin files to static analysis
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent 4d8eaf3 commit 49fe10d

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Diff for: phpstan.neon.dist

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ includes:
33
parameters:
44
level: max
55
paths:
6-
- bin
6+
- bin/highlight-query
7+
- bin/lint-query
8+
- bin/tokenize-query
79
- src
810
- tests
911
- tools

Diff for: psalm-baseline.xml

-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
<code>isset($component-&gt;field)</code>
3030
<code>isset($component-&gt;field) &amp;&amp; ($component-&gt;field !== '')</code>
3131
</RedundantConditionGivenDocblockType>
32-
<UnusedVariable occurrences="1">
33-
<code>$arrayKey</code>
34-
</UnusedVariable>
3532
</file>
3633
<file src="src/Components/Array2d.php">
3734
<InvalidReturnStatement occurrences="1">

Diff for: psalm.xml

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
errorBaseline="psalm-baseline.xml"
99
>
1010
<projectFiles>
11+
<file name="bin/highlight-query"/>
12+
<file name="bin/lint-query"/>
13+
<file name="bin/tokenize-query"/>
1114
<directory name="src"/>
1215
<directory name="tests"/>
1316
<directory name="tools"/>

0 commit comments

Comments
 (0)