-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Compatibility issues with php 7.3? #447
Comments
what command did you use to create the project? |
@xtreamwayz |
Running php 7.3 here and I did not have any warnings while running |
I guess you mean you have the warning and notices while running a local server. |
@xtreamwayz Never happened before to me either. Interestingly enough, updating zend-component-installer caused a cascade of updates (a LOT of patches) AND fixed the issue. And yes, I'm running a local server, which I was before (re: never happened). Anyway: updating after correcting the zend-component-installer dependency fixed the issue. Ah, thank you btw =) |
The zend-component-installer is running during a composer installation and update and not when running a server, hence my confusion. I'm guessing something else is/was causing the notices and warning. |
But running |
Yes, some previous version of one of the components is the culprit: in one of the more extreme cases (zend-view, interestingly enough) it jumped from 2.8.1 to 2.11.2. |
Full update:
|
One additional information: I applied the same fix in an older project (which didn't had the problem) and only zend-component-installer was updated, since it was already at version 1.1.1. And now I know exactly what's happening: On new projects - created with |
Running Running the update command on a new install gets me this: - Updating zendframework/zend-component-installer (0.7.0 => 1.1.1): Loading from cache
- Installing zendframework/zend-json (3.1.1): Loading from cache
- Updating zendframework/zend-stdlib (3.1.0 => 3.2.1): Loading from cache
- Updating zendframework/zend-loader (2.5.1 => 2.6.1): Loading from cache
- Updating zendframework/zend-eventmanager (3.1.0 => 3.2.1): Loading from cache
- Updating zendframework/zend-view (2.8.1 => 2.11.2): Loading from cache
- Updating zendframework/zend-servicemanager (3.3.0 => 3.4.0): Loading from cache
- Updating zendframework/zend-validator (2.8.2 => 2.12.0): Loading from cache
- Updating zendframework/zend-escaper (2.5.2 => 2.6.1): Loading from cache
- Updating zendframework/zend-uri (2.5.2 => 2.7.0): Loading from cache
- Updating zendframework/zend-http (2.6.0 => 2.10.0): Loading from cache
- Updating zendframework/zend-router (3.0.2 => 3.3.0): Loading from cache
- Updating zendframework/zend-config (2.6.0 => 3.3.0): Loading from cache
- Updating zendframework/zend-modulemanager (2.7.2 => 2.8.2): Loading from cache
- Updating zendframework/zend-mvc (3.0.4 => 3.1.1): Loading from cache
- Updating zfcampus/zf-development-mode (3.1.0 => 3.2.0): Loading from cache But it is weird. The skeleton installer should install the latest versions, respecting the constraints. Running |
Yes, my point exactly; The older project is one I update regularly, hence the issue never happening. |
This should be resolved with the 3.1.0 version of the skeleton. |
The MVC skeleton-application is generating the following warning and notices after installation:
Happens both with and without
-s dev
.Not sure if it's related, but I saw a tweet from the devel account about the release of zend-component-installer 2.1.2, which supports php 7.3, while the skeleton-applicaton installs the version 0.7.0 of the same component.
I even tried clearing composer's cache and running it again. Same results.
The text was updated successfully, but these errors were encountered: