php-phantomjs icon indicating copy to clipboard operation
php-phantomjs copied to clipboard

DependencyInjection Error!

Open Lukasss93 opened this issue 8 years ago • 2 comments

Today I launched composer update command, automatically updating symfony/dependency-injection from v3.3.9 to v3.4.0

Now I got this error: Declaration of JonnyW\PhantomJs\DependencyInjection\ServiceContainer::load() should be compatible with Symfony\Component\DependencyInjection\Container::load($file)

I've fixed this error adding "symfony/dependency-injection":"3.3.9" to composer.json file.

Please fix it.

Lukasss93 avatar Dec 01 '17 14:12 Lukasss93

Thanks for sharing. Are you saying the composer.json file in project folder or vendor sub folder?

yetaai avatar Jan 11 '18 00:01 yetaai

@yetaai project folder

Lukasss93 avatar Jan 11 '18 07:01 Lukasss93