thephpleague / tactician-bernard

Tactician integration with the Bernard queueing library
MIT License
19 stars 3 forks source link

PHP7 failure #25

Closed rosstuck closed 7 years ago

rosstuck commented 9 years ago

Not pressing, but seems like with the latest release there was a test failure only on PHP7. Haven't had a chance to check it out yet.

rosstuck commented 9 years ago

https://travis-ci.org/thephpleague/tactician-bernard/jobs/61768404

sagikazarmark commented 9 years ago

PHP 7 does not work with PHPSpec ATM. The problem is that the recoverable errors have been removed from PHP 7 which is used to hack the type hinting system.

See the issue I reported: phpspec/phpspec#659

So PHP 7 failure is allowed with a cause. If it won't get solved by the time PHP 7 is released, I will rewrite the tests to use annotations for mocking, but that is not as nice as the type hinting one IMO.

ciaranmcnulty commented 9 years ago

I aim to have this fixed before PHP7 is stable.

sagikazarmark commented 9 years ago

:+1: Awesome

ciaranmcnulty commented 9 years ago

(so 5.x codebases will run on the PHP7 engine but we might not support new PHP7 features)

sagikazarmark commented 9 years ago

For now, I think it is acceptable.

frankdejonge commented 8 years ago

@rosstuck I think this can be closed now.

ciaranmcnulty commented 8 years ago

The 'before PHP7 is stable' now may mean 'dev-master works' ;-P

rosstuck commented 8 years ago

Going to hold off until there's a stable PHPSpec release that we depend on in our composer. Then I know it's totally done. :)

ciaranmcnulty commented 8 years ago

2.4.0-alpha1 is out now and as far as I can see your tag 0.4.1 passes with this version so it'll likely be fine with the stable release when it comes.

sagikazarmark commented 8 years ago

Thanks for letting us know.

sagikazarmark commented 7 years ago

Done