spork
spork copied to clipboard
Fatal error: Class Spork\EventDispatcher\WrappedEventDispatcher contains 1 abstract method and must therefore be declared abstract or implement the remaining methods
when running with --forks=4 i get a fatal error. I suspect spork is not compatible with some of the newer versions of symfony components.
Fatal error: Class Spork\EventDispatcher\WrappedEventDispatcher contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Symfony\Component\EventDispatcher\EventDispatcherInterface::getListenerPriority) in ..../sf/vendor/kriswallsmith/spork/src/Spork/EventDispatcher/WrappedEventDispatcher.php on line 79
Call Stack:
0.0005 224584 1. {main}() ..../sf/bin/console:0
0.2655 1345056 2. Symfony\Component\Console\Application->run(class Symfony\Component\Console\Input\ArgvInput, ???) ..../sf/bin/console:29
0.3133 1432272 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun(class Symfony\Component\Console\Input\ArgvInput, class Symfony\Component\Console\Output\ConsoleOutput) ..../sf/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:117
1.7341 4333360 4. Symfony\Component\Console\Application->doRun(class Symfony\Component\Console\Input\ArgvInput, class Symfony\Component\Console\Output\ConsoleOutput) ..../sf/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:80
1.7344 4334392 5. Symfony\Component\Console\Application->doRunCommand(class Symfony\Bundle\AsseticBundle\Command\DumpCommand, class Symfony\Component\Console\Input\ArgvInput, class Symfony\Component\Console\Output\ConsoleOutput) ..../sf/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:186
1.7951 4425144 6. Symfony\Component\Console\Command\Command->run(class Symfony\Component\Console\Input\ArgvInput, class Symfony\Component\Console\Output\ConsoleOutput) ..../sf/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:807
1.7955 4426592 7. Symfony\Bundle\AsseticBundle\Command\DumpCommand->initialize(class Symfony\Component\Console\Input\ArgvInput, class Symfony\Component\Console\Output\ConsoleOutput) ..../sf/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:228
1.8020 4435568 8. spl_autoload_call(string(44)) ..../sf/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:58
1.8021 4435632 9. Symfony\Component\Debug\DebugClassLoader->loadClass(string(44)) ..../sf/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:58
1.8065 4442592 10. require_once('..../sf/vendor/kriswallsmith/spork/src/Spork/EventDispatcher/WrappedEventDispatcher.php') ..../sf/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php:142
installed symfony components:
symfony/assetic-bundle v2.8.0 Integrates Assetic into Symfony2
symfony/monolog-bundle v2.10.0 Symfony MonologBundle
symfony/phpunit-bridge v2.8.4 Symfony PHPUnit Bridge
symfony/polyfill-intl-icu v1.1.1 Symfony polyfill for intl's ICU-related data and classes
symfony/polyfill-mbstring v1.1.1 Symfony polyfill for the Mbstring extension
symfony/polyfill-php56 v1.1.1 Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions
symfony/polyfill-php70 v1.1.1 Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions
symfony/polyfill-util v1.1.1 Symfony utilities for portability of PHP codes
symfony/security-acl v3.0.0 Symfony Security Component - ACL (Access Control List)
symfony/swiftmailer-bundle v2.3.11 Symfony SwiftmailerBundle
symfony/symfony v3.0.4 The Symfony PHP framework
kriswallsmith/assetic v1.3.2 Asset Management for PHP
kriswallsmith/spork v0.3 Asynchronous PHP
I already submitted a pull request for this.
https://github.com/kriswallsmith/spork/pull/39
But still no answer..
maybe the project is not maintained and abandoned, last update was a year ago :(
Hi,
It seems indeed. I've created a fork of this repo and we are using this one in our projects for the moment.
You can use it to if you want.
"repositories": [ { "type": "vcs", "url": "https://github.com/sandergo90/spork.git" } ],
and then in your require: "kriswallsmith/spork": "dev-eventdispatcher",
Cheers
@sandergo90 thanks!