Skip to content

Commit fab9ec4

Browse files
authored
Merge pull request #285 from SenseException/static-analysis
Use correct workflow name for static analysis
2 parents 017c028 + d7dd2ee commit fab9ec4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ on:
2424
jobs:
2525
static-analysis:
2626
name: "Static Analysis"
27-
uses: "doctrine/.github/.github/workflows/static-analysis.yml@13.1.0"
27+
uses: "doctrine/.github/.github/workflows/phpstan.yml@13.1.0"

phpstan.neon.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,9 @@ parameters:
1212

1313
ignoreErrors:
1414
- '#Variable method call on Doctrine\\RST\\Nodes\\DocumentNode\.#'
15+
-
16+
message: '#Only booleans are allowed in a ternary operator condition, string given\.#'
17+
path: lib/Span/SpanProcessor.php
18+
-
19+
message: '#Only booleans are allowed in an if condition, string given\.#'
20+
path: lib/Span/SpanProcessor.php

0 commit comments

Comments
 (0)