Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
"symfony/http-client": "Required for the remote hosts feature"
},
"scripts": {
"baseline:phpstan": "@php vendor/bin/phpstan --generate-baseline",
"check": ["@check:phpstan", "@check:phpmd", "@check:phpcs"],
"check:phpstan": "phpstan analyse",
"check:phpmd": "phpmd src,tests text phpmd.xml.dist",
Expand Down
6 changes: 6 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ parameters:
count: 1
path: src/DependencyInjection/Extension.php

-
message: '#^Property FD\\LogViewer\\Reader\\Stream\\AbstractStreamReader\:\:\$autoClose in isset\(\) is not nullable nor uninitialized\.$#'
identifier: isset.initializedProperty
count: 1
path: src/Reader/Stream/AbstractStreamReader.php

-
message: '#^Method FD\\LogViewer\\Reader\\String\\StringReader\:\:eol\(\) is marked as impure but does not have any side effects\.$#'
identifier: impureMethod.pure
Expand Down