-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
phpunit don't work (fatal error) on PHP 7.0.0 #373
Comments
Those bugs were fixed in 7.0.13. |
so there are 2 point of view.
|
Definitely not shooting for 7.1 minimum. I think it will be too long before enough hosting providers start supporting 7.1 to use that for now. I'm pretty sure this was working quite a bit prior to 7.0.13, though. It's entirely possible I messed something up a little bit during some refactoring of the bootstrap process last week. |
Is this the same problem?
PHP 7.0.5 |
@kenjis Yes, that's the one. |
I understand. That's right. It's a bit difficult to fix root problem... There is a little different between $ vi system/CodeIgniter.php
This code print the filepath declares
|
Due to recent changes, phpunit don't work (fatal error) on PHP 7.0.0.
On 7.0.14, it works.
I can't find differences between both of them, but root cause is that test-code eats application namespace.
/tests/_support/Services.php's namespace is
\CodeIgniter\Services
. This namespace is too rich for test-code.It is avoidable by using PHP latest version, but probably it will appear on latest version someday.
I will use 7.0.14 for a while. Now I want to make queue.
FYI.
The text was updated successfully, but these errors were encountered: