MinkTestCase::getKernel should be a static function as WebTestCase::createKernel is. The whole chain to get the kernel should be static as it's dealing with a static member of the class.
Otherwise calling getKernel from a static environment requires to use error suppression to suppress the warnings.
MinkTestCase::getKernel
should be a static function asWebTestCase::createKernel
is. The whole chain to get the kernel should be static as it's dealing with a static member of the class. Otherwise callinggetKernel
from a static environment requires to use error suppression to suppress the warnings.