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
As already reported by PHPStan, PHPStorm, Scrutinizer-CI and other tools:
------ ---------------------------------------------------------------------------------------------------------------------
Line src/ProxyManager/Factory/AbstractBaseFactory.php
------ ---------------------------------------------------------------------------------------------------------------------
123 Method ProxyManager\ProxyGenerator\ProxyGeneratorInterface::generate() invoked with 3 parameters, 2 required.
127 Method ProxyManager\GeneratorStrategy\GeneratorStrategyInterface::generate() invoked with 2 parameters, 1 required.
------ ---------------------------------------------------------------------------------------------------------------------
That calls for a re-design of the interface.
The additional parameters were added due to BC compliance, but are obviously a smell. This probably calls for a "code generation context" containing all currently known information needed by the code generator.
The text was updated successfully, but these errors were encountered:
As already reported by PHPStan, PHPStorm, Scrutinizer-CI and other tools:
That calls for a re-design of the interface.
The additional parameters were added due to BC compliance, but are obviously a smell. This probably calls for a "code generation context" containing all currently known information needed by the code generator.
The text was updated successfully, but these errors were encountered: