Open alexgit2k opened 6 years ago
Zend_Rest_Route::assemble()
signature needs to be modified like so for compatibility with Zend_Controller_Router_Route_Module::assemble
.
library/Zend/Rest/Route.php: public function assemble($data = array(), $reset = false, $encode = true, $partial = false)
@shaneiseminger Have same issue
setDirectives() in Zend\Cache\Backend.php have to be modified too:
foreach ($directives as $name => $value) { ... }
What is the goal on this ticket? Has anyone created a 7.2 public forked project that these can be contributed to? Or is it just for everyone to maintain their own forks?
Never mind, just saw the discussion on discourse.
Please take a look at https://github.com/zf1s - a “composeable” zf1 with some fixes added. All components are available on packagist.org with zf1s/ namespace and we are still keeping php 7.2+ compatibility.
@unhawkable https://github.com/zf1s is a fork of https://github.com/zf1
Is / will it be (better) maintained? Is @deadbeef84 involved in this as well?
Mmm, seems I already asked this, 🤓 https://github.com/zf1/zend-application/pull/2#issuecomment-343936472
Sorry guys, I'm no longer involved in the PHP community; also I never intended to maintain this fork apart from mirroring the official library. Since zf1 reached its EOL more than 1½ year ago, I think it's about time to look for other frameworks :grin:.
If there's anyone willing to take over and maintain this repo, let me know and I'll consider it.
The PHP-functions each() and create_function() have been deprecated as of PHP 7.2.0, but are still used in ZF1:
documentation/manual/en/module_specs/Zend_Mobile_Push-Apns.xml:while(list($token, $time) = each($tokens)) {
library/Zend/Cache/Backend.php: while (list($name, $value) = each($directives)) { library/Zend/Config/Yaml.php: while (list($n, $line) = each($lines)) { library/Zend/Http/UserAgent/Features/Adapter/TeraWurfl.php: while (list ($key, $value) = each($group)) { library/Zend/XmlRpc/Value.php: list($type, $value) = each($xml); library/Zend/XmlRpc/Value.php: list($type, $value) = each($namespaceXml);
tests/Zend/XmlRpc/RequestTest.php: while (list( , $node) = each($result)) { tests/Zend/XmlRpc/RequestTest.php: while (list( , $node) = each($result)) { tests/runalltests.php: while(list(, $file)=each($files)) {
library/Zend/Feed/Element.php: return array_map(create_function('$e', 'return new Zend_Feed_Element($e);'), $nodes);