Skip to content

Commit

Permalink
Fix PHPStan ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Apr 10, 2024
1 parent 6661328 commit 04ae6b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
// also prevent bounding of unwanted variables for GC
'use_arrow_functions' => false,

# TODO
// TODO
'align_multiline_comment' => false,
'array_indentation' => false,
'binary_operator_spaces' => false,
Expand Down
16 changes: 0 additions & 16 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@ parameters:
message: '~^Constant RCMAIL_VERSION not found\.$~'
path: 'src/ExtensionInstaller.php'
count: 3
-
message: '~^Call to static method db_init\(\) on an unknown class rcmail_utils\.$~'
path: 'src/ExtensionInstaller.php'
count: 1
-
message: '~^Call to static method db_update\(\) on an unknown class rcmail_utils\.$~'
path: 'src/ExtensionInstaller.php'
count: 1
-
message: '~^Method Roundcube\\Composer\\ExtensionInstaller::install\(\) should return React\\Promise\\PromiseInterface<void\|null>|null but return statement is missing\.$~'
path: 'src/ExtensionInstaller.php'
Expand All @@ -43,14 +35,6 @@ parameters:
message: '~^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$~'
path: 'src/ExtensionInstaller.php'
count: 1
-
message: '~^Instantiated class rcube_config not found\.$~'
path: 'src/ExtensionInstaller.php'
count: 1
-
message: '~^Call to method resolve_paths\(\) on an unknown class rcube_config\.$~'
path: 'src/ExtensionInstaller.php'
count: 1
-
message: '~^Call to function in_array\(\) requires parameter #3 to be set\.$~'
path: 'src/PluginInstaller.php'
Expand Down

0 comments on commit 04ae6b2

Please sign in to comment.