Skip to content

Does not work on PHP7.1 #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
inviqa-nmh opened this issue Jan 31, 2018 · 2 comments
Closed

Does not work on PHP7.1 #39

inviqa-nmh opened this issue Jan 31, 2018 · 2 comments

Comments

@inviqa-nmh
Copy link

Versions:
"symfony/symfony": "2.8.30",
"wrep/daemonizable-command": "1.3"

Line:

public function setCode(callable $code)

Exception:

[Symfony\Component\Debug\Exception\ContextErrorException]                                                                                                                      
  Warning: Declaration of Wrep\Daemonizable\Command\EndlessCommand::setCode(callable $code) should be compatible with Symfony\Component\Console\Command\Command::setCode($code)
@mac-cain13
Copy link
Owner

Seems more like a Symfony version issue where the signature of EndlessComment::setCode is not compatible with Command::setCode. We've done some fixes on this a while ago, could you check if there is a newer version that works for you?

@r-martins
Copy link
Contributor

Still have the issue on 3.1.0 with symfony/framework-bundle:5.4.24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants