jonnnnyw / php-phantomjs

Execute PhantomJS commands through PHP
MIT License
1.44k stars 432 forks source link

Declaration of ServiceContainer::load() should be compatible with Container::load($file) #231

Open jae-jae opened 6 years ago

jae-jae commented 6 years ago

PHP Warning: Declaration of JonnyW\PhantomJs\DependencyInjection\ServiceContainer::load() should be compatible with Symfony\Component\DependencyInjection\Container::load($file) in /wwwroot/vendor/jonnyw/php-phantomjs/src/JonnyW/PhantomJs/DependencyInjection/ServiceContainer.php on line 20

axyr commented 6 years ago

metoo

vasilestefirta commented 6 years ago

Check out this similar issue 👍 https://github.com/jonnnnyw/php-phantomjs/issues/222

fifastar commented 6 years ago

This conflict issue occurs when I get '^4.6' from composer, do I have to get 5.0.x-dev instead to solve it? thanks.

buzz8year commented 6 years ago

https://github.com/jonnnnyw/php-phantomjs/issues/216 https://github.com/jonnnnyw/php-phantomjs/pull/217 https://github.com/jonnnnyw/php-phantomjs/issues/222 https://github.com/jonnnnyw/php-phantomjs/issues/225 https://github.com/jonnnnyw/php-phantomjs/issues/231 https://github.com/jonnnnyw/php-phantomjs/pull/232 https://github.com/jonnnnyw/php-phantomjs/pull/235 https://github.com/jonnnnyw/php-phantomjs/issues/247 https://github.com/jonnnnyw/php-phantomjs/issues/259 https://github.com/jonnnnyw/php-phantomjs/issues/275

robtesch commented 6 years ago

@cocostru , I have no doubt that I just don't know what I'm doing here, but is there any was we can install your fork directly? Looks like this package itself is no longer maintained.

buzz8year commented 6 years ago

@robtesch ok, i ve made a package, glance at readme file https://github.com/buzz8year/php-phantomjs https://packagist.org/packages/cocostru/php-phantomjs