Skip to content

Commit

Permalink
Re-add WpErrorParameterDynamicFunctionReturnTypeExtension
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Jul 27, 2023
1 parent 310e23f commit cdf558b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extension.neon
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ services:
class: SzepeViktor\PHPStan\WordPress\ApplyFiltersDynamicFunctionReturnTypeExtension
tags:
- phpstan.broker.dynamicFunctionReturnTypeExtension
-
class: SzepeViktor\PHPStan\WordPress\WpErrorParameterDynamicFunctionReturnTypeExtension
tags:
- phpstan.broker.dynamicFunctionReturnTypeExtension
-
class: SzepeViktor\PHPStan\WordPress\WpParseUrlFunctionDynamicReturnTypeExtension
tags:
Expand Down

3 comments on commit cdf558b

@szepeviktor
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@IanDelMar After a botched merge of master into 2.x it turned out WpErrorParameterDynamicFunctionReturnTypeExtension was not registered.
Could it be that tests do not catch that?

@IanDelMar
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This extension has been removed.

See #182 (comment), #182 (comment), and 44e8c5d.

@szepeviktor
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!!

Please sign in to comment.