You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
phpcbf breaks interface matching.
All Laminas\ServiceManager\Factory\FactoryInterface implementations is broken after autofix because of $requestedName parameter typed with phpdoc
Bug Report
Summary
phpcbf breaks interface matching.
All
Laminas\ServiceManager\Factory\FactoryInterface
implementations is broken after autofix because of$requestedName
parameter typed with phpdocCurrent behavior
converted to
regadless of interface method definition:
Declaration must be compatible with ITest->doIt(string: string)
Expected behavior
Don't convert phpdoc type hints automatically
Workaround
Exclude
SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint
The text was updated successfully, but these errors were encountered: