Skip to content

Commit 5a8e757

Browse files
authored
Merge pull request #4065 from MGatner/phpstan-8
PHPStan Ignore File
2 parents ac1aa13 + c16e491 commit 5a8e757

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.github/workflows/test-phpstan.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ on:
1010
paths:
1111
- 'app/**'
1212
- 'system/**'
13+
- phpstan.neon.dist
1314
push:
1415
branches:
1516
- 'develop'
1617
- '4.*'
1718
paths:
1819
- 'app/**'
1920
- 'system/**'
21+
- phpstan.neon.dist
2022

2123
jobs:
2224
build:

phpstan.neon.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ parameters:
2525
- system/Config/Routes.php
2626
- system/Debug/Toolbar/Views/toolbar.tpl.php
2727
- system/Images/Handlers/GDHandler.php
28+
- system/Test/Filters/CITestStreamFilter.php
2829
- system/ThirdParty/*
2930
- system/Validation/Views/single.php
3031
ignoreErrors:

system/Test/Filters/CITestStreamFilter.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ public function filter($in, $out, &$consumed, $closing)
4646
$consumed += $bucket->datalen;
4747
}
4848

49-
// @phpstan-ignore-next-line
5049
return PSFS_PASS_ON;
5150
}
5251
}

0 commit comments

Comments
 (0)