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
while inspecting a generated factories cache file (e.i. ./cache/frontend/test/config/config_factories.yml.php I found out that the number of constructor arguments for class sfWebRequest does not match the signature.
Hi,
while inspecting a generated factories cache file (e.i.
./cache/frontend/test/config/config_factories.yml.php
I found out that the number of constructor arguments for classsfWebRequest
does not match the signature.Take a look at file sfFactoryConfigHandler:94 on line
It initializes a
$class
instance with 5 arguments:array()
hardcodedarray()
hardcodedFurthermore, the class
sfWebRequest
(parentsfRequest
) has only 4 arguments in constructor:$parameters = array()
$attributes = array()
$options = array()
I came to conclusion that the 5th argument in
sfFactoryConfigHandler
is unnecessary and won't break any BC if you drop it.P.S. The extra (e.i. 5th) argument was there for a long time since v1.2
P.P.S. IMHO, the priority of the issue is minor.
The text was updated successfully, but these errors were encountered: