Skip to content

Commit

Permalink
Fix for php 7.2 compatibility and updated package name
Browse files Browse the repository at this point in the history
  • Loading branch information
buskamuza committed Dec 22, 2017
1 parent e2693f0 commit 2185777
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
@@ -1,5 +1,5 @@
{
"name": "magento/zendframework1",
"name": "magento-architects/zendframework1",
"description": "Magento Zend Framework 1",
"type": "library",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Cache/Backend.php
Expand Up @@ -76,7 +76,7 @@ public function __construct(array $options = array())
public function setDirectives($directives)
{
if (!is_array($directives)) Zend_Cache::throwException('Directives parameter must be an array');
while (list($name, $value) = each($directives)) {
foreach ($directives as $name => $value) {
if (!is_string($name)) {
Zend_Cache::throwException("Incorrect option name : $name");
}
Expand Down

0 comments on commit 2185777

Please sign in to comment.