-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
Replace ZF1Future with ZF1S #4118
Conversation
* Rector: CQ - UnusedForeachValueToArrayKeysRector See Rector\CodeQuality\Rector\Foreach_\UnusedForeachValueToArrayKeysRector * fixes + phpstan See fix at rector: rectorphp/rector-src#6164
What are the advantages changing ZF1- Future with ZF1S? |
IMHO ... we dont have to add the complete Zend framework ... only the parts/packages we need. And ... i'd like fix #3462 #4117 did not solve it. As @elidrissidev and my tests confirmed ZF1S works for some reason. I'm to lazy to search for ... better spent a few hours here. I already did it with ZF1Future so it will not take that long again ... |
Green for now ...
... done :) |
There are some important changes that |
Thanks. If follow ZF1Future too and make a diff later. (btw ... i'd like to have casting to int/not casting to string, .... drop php 7!!! :P) |
I prefer that too, but there will be a lot of hard to find bugs, so I suggest leaving it as is for a separate PR in the future. |
Don't fix something that works :) I would not drop support for PHP 7.4, I am using servers running Debian 11 and it is entering the LTS program until June 2026 and which I will not upgrade any time soon. Debian LTS: https://wiki.debian.org/LTS |
Let us dream ... :P O/c thats something that will not happen in near future. |
Zend_Mime isn't used anywhere.
Added Zend_Mime
Added Zend_Form
+1 to drop php 7 support |
On hold. There are a lot of fixes in ZF1Future, but not in ZF1S. I already started to prepare PRs, but this will take some time to make it good. I like that mono-repo idea, but atm it seems to be a step backwards. So we have to search for the not working autoloading from app/local|community|core ... |
We have droped php7.3 support in 03/2023. Imho it would be great to could make use of fancy php8 stuff. https://accesto.com/blog/php-performance-improvement-features/ Its arround 20% that still use latest releases with php7.4. https://packagist.org/packages/openmage/magento-lts/php-stats#20.10 |
Later ... maybe. |
zf1s as I understand, split the ZF components into individual composer packages. The intention is to change the dead ZF1 gradually to something non-dead. So, for example, Zend PDF can be swapped with FPDF. The problems:
|
Only if a not included Zend_* module is not included. The biggest problem are the differencies between ZF1Future and ZF1S. |
... later ...
ToDo: