Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit daa6056

Browse files
committed
MAGETWO-65715: Upgrade zend Framework 1 to 1.12.20
- Merge tag '1.12.16-patch3' into MAGETWO-65715-1.12.20
2 parents 9f0bbc8 + 21985df commit daa6056

File tree

2,080 files changed

+10279
-10406
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,080 files changed

+10279
-10406
lines changed

README.md

Lines changed: 4 additions & 164 deletions
Original file line numberDiff line numberDiff line change
@@ -1,174 +1,14 @@
1-
![Logo](http://framework.zend.com/images/logos/ZendFramework-logo.png)
2-
3-
Welcome to the Zend Framework 1.12 Release!
4-
5-
Master: [![Build Status](https://api.travis-ci.org/zendframework/zf1.png?branch=master)](https://travis-ci.org/zendframework/zf1)
6-
7-
RELEASE INFORMATION
1+
INFORMATION
82
===================
93

10-
Zend Framework 1.12.17dev Release.
11-
Released on MMM DD, YYYY.
4+
This is a fork from Zend Framework 1.12.16 Release.
125

13-
IMPORTANT FIXES FOR 1.12.17
6+
PURPOSE
147
---------------------------
15-
16-
See http://framework.zend.com/changelog for full details.
17-
18-
NEW FEATURES
19-
============
20-
21-
Zend_Loader changes
22-
-------------------
23-
24-
A number of autoloaders and autoloader facilities were back ported from
25-
ZF2 to provide performant alternatives to those already available in the
26-
1.X releases. These include: Zend_Loader_StandardAutoloader, which
27-
improves on Zend_Loader_Autoloader by allowing the ability to specify a
28-
specific path to associate with a vendor prefix or namespace;
29-
Zend_Loader_ClassMapAutoloader, which provides the ability to use lookup
30-
tables for autoloading (which are typically the fastest possible way to
31-
autoload); and Zend_Loader_AutoloaderFactory, which can both create and
32-
update autoloaders for you, as well as register them with
33-
spl_autoload_register().
34-
35-
The Zend_Loader changes were back ported from ZF2 by Matthew Weier
36-
O’Phinney
37-
38-
Zend_EventManager
39-
-----------------
40-
41-
Zend_EventManager is a component that allows you to attach and detach
42-
listeners to named events, both on a per-instance basis as well as via
43-
shared collections; trigger events; and interrupt execution of
44-
listeners.
45-
46-
Zend_EventManager was back ported from ZF2 by Matthew Weier O’Phinney
47-
48-
Zend_Http_UserAgent_Features_Adapter_Browscap
49-
---------------------------------------------
50-
51-
This class provides a features adapter that calls get_browser() in order
52-
to discover mobile device capabilities to inject into UserAgent device
53-
instances.
54-
55-
Browscap (http://browsers.garykeith.com/) is an open project dedicated
56-
to collecting an disseminating a “database” of browser capabilities. PHP
57-
has built-in support for using these files via the get_browser()
58-
function. This function requires that your php.ini provides a browscap
59-
entry pointing to the PHP-specific php_browscap.ini file which is
60-
available at http://browsers.garykeith.com/stream.asp?PHP_BrowsCapINI.
61-
62-
Zend_Http_UserAgent_Features_Adapter_Browscap was created by Matthew
63-
Weier O’Phinney
64-
65-
Zend_Mobile_Push
66-
----------------
67-
68-
Zend_Mobile_Push is a component for implementing push notifications for
69-
the 3 major push notification platforms (Apple (Apns), Google (C2dm) and
70-
Microsoft (Mpns).
71-
72-
Zend_Mobile_Push was contributed by Mike Willbanks.
73-
74-
Zend_Gdata_Analytics
75-
--------------------
76-
77-
Zend_Gdata_Analytics is an extension to Zend_Gdata to allow interaction
78-
with Google’s Analytics Data Export API. This extension does not
79-
encompass any major changes in the overall operation of Zend_Gdata
80-
components.
81-
82-
Zend_Gdata_Analytics was contributed by Daniel Hartmann.
83-
84-
Removed features
85-
================
86-
87-
Zend_Http_UserAgent_Features_Adapter_WurflApi
88-
---------------------------------------------
89-
90-
Due to the changes in licensing of WURFL, we have removed the WurflApi
91-
adapter. We will be providing the WurflApi adapter to ScientiaMobile so
92-
that users of WURFL will still have that option.
93-
94-
Bug Fixes
95-
=========
96-
97-
In addition, over 200 reported issues in the tracker have been fixed.
98-
We’d like to particularly thank Adam Lundrigan, Frank Brückner and
99-
Martin Hujer for their efforts in making this happen. Thanks also to the
100-
many people who ran the ZF1 unit tests and reported their results!
101-
102-
For a complete list of closed issues beginning with 1.12.3, visit:
103-
104-
* https://github.com/zendframework/zf1/issues?labels=&milestone=&page=1&state=closed
105-
* http://framework.zend.com/changelog/
106-
107-
MIGRATION NOTES
108-
===============
109-
110-
A detailed list of migration notes may be found at:
111-
112-
http://framework.zend.com/manual/en/migration.html
113-
114-
SYSTEM REQUIREMENTS
115-
===================
116-
117-
Zend Framework requires PHP 5.2.11 or later. Please see our reference
118-
guide for more detailed system requirements:
119-
120-
http://framework.zend.com/manual/en/requirements.html
121-
122-
INSTALLATION
123-
============
124-
125-
Please see [INSTALL.md](INSTALL.md).
126-
127-
REPOSITORY HISTORY
128-
==================
129-
130-
This repository was created based on the release-1.12 branch of a Subversion
131-
repository, http://framework.zend.com/svn/framework/standard/. It contains a
132-
subset of the project history, dating from between the 1.5.0 and 1.6.0 releases,
133-
and only contains the tags for the 1.12 series. If you would like an older
134-
version, you may access the subversion repository linked above, or download an
135-
older version from http://framework.zend.com/downloads/archives.
136-
137-
CONTRIBUTING
138-
============
139-
140-
Please see [README-GIT.md](README-GIT.md) and
141-
[DEVELOPMENT_README.md](DEVELOPMENT_README.md).
142-
143-
QUESTIONS AND FEEDBACK
144-
======================
145-
146-
Online documentation can be found at http://framework.zend.com/manual.
147-
Questions that are not addressed in the manual should be directed to the
148-
appropriate mailing list:
149-
150-
- http://framework.zend.com/wiki/display/ZFDEV/Mailing+Lists
151-
152-
If you find code in this release behaving in an unexpected manner or
153-
contrary to its documented behavior, please create an issue in the Zend
154-
Framework issue tracker at:
155-
156-
- https://github.com/zendframework/zf1/issues
157-
158-
If you would like to be notified of new releases, you can subscribe to
159-
the fw-announce mailing list by sending a blank message to:
160-
161-
8+
Contains Zend Framework 1 plus performance improvements and bug fixes.
1629

16310
LICENSE
16411
=======
16512

16613
The files in this archive are released under the Zend Framework license.
16714
You can find a copy of this license in [LICENSE.txt](LICENSE.txt).
168-
169-
ACKNOWLEDGEMENTS
170-
================
171-
172-
The Zend Framework team would like to thank all the contributors to the Zend
173-
Framework project, our corporate sponsor, and you, the Zend Framework user.
174-
Please visit us sometime soon at http://framework.zend.com.

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "zendframework/zendframework1",
3-
"description": "Zend Framework 1",
2+
"name": "magento/zendframework1",
3+
"description": "Magento Zend Framework 1",
44
"type": "library",
55
"keywords": [
66
"framework",

library/Zend/Acl.php

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,31 +23,31 @@
2323
/**
2424
* @see Zend_Acl_Resource_Interface
2525
*/
26-
require_once 'Zend/Acl/Resource/Interface.php';
26+
#require_once 'Zend/Acl/Resource/Interface.php';
2727

2828

2929
/**
3030
* @see Zend_Acl_Role_Registry
3131
*/
32-
require_once 'Zend/Acl/Role/Registry.php';
32+
#require_once 'Zend/Acl/Role/Registry.php';
3333

3434

3535
/**
3636
* @see Zend_Acl_Assert_Interface
3737
*/
38-
require_once 'Zend/Acl/Assert/Interface.php';
38+
#require_once 'Zend/Acl/Assert/Interface.php';
3939

4040

4141
/**
4242
* @see Zend_Acl_Role
4343
*/
44-
require_once 'Zend/Acl/Role.php';
44+
#require_once 'Zend/Acl/Role.php';
4545

4646

4747
/**
4848
* @see Zend_Acl_Resource
4949
*/
50-
require_once 'Zend/Acl/Resource.php';
50+
#require_once 'Zend/Acl/Resource.php';
5151

5252

5353
/**
@@ -152,7 +152,7 @@ public function addRole($role, $parents = null)
152152
}
153153

154154
if (!$role instanceof Zend_Acl_Role_Interface) {
155-
require_once 'Zend/Acl/Exception.php';
155+
#require_once 'Zend/Acl/Exception.php';
156156
throw new Zend_Acl_Exception('addRole() expects $role to be of type Zend_Acl_Role_Interface');
157157
}
158158

@@ -287,14 +287,14 @@ public function addResource($resource, $parent = null)
287287
}
288288

289289
if (!$resource instanceof Zend_Acl_Resource_Interface) {
290-
require_once 'Zend/Acl/Exception.php';
290+
#require_once 'Zend/Acl/Exception.php';
291291
throw new Zend_Acl_Exception('addResource() expects $resource to be of type Zend_Acl_Resource_Interface');
292292
}
293293

294294
$resourceId = $resource->getResourceId();
295295

296296
if ($this->has($resourceId)) {
297-
require_once 'Zend/Acl/Exception.php';
297+
#require_once 'Zend/Acl/Exception.php';
298298
throw new Zend_Acl_Exception("Resource id '$resourceId' already exists in the ACL");
299299
}
300300

@@ -309,7 +309,7 @@ public function addResource($resource, $parent = null)
309309
}
310310
$resourceParent = $this->get($resourceParentId);
311311
} catch (Zend_Acl_Exception $e) {
312-
require_once 'Zend/Acl/Exception.php';
312+
#require_once 'Zend/Acl/Exception.php';
313313
throw new Zend_Acl_Exception("Parent Resource id '$resourceParentId' does not exist", 0, $e);
314314
}
315315
$this->_resources[$resourceParentId]['children'][$resourceId] = $resource;
@@ -361,7 +361,7 @@ public function get($resource)
361361
}
362362

363363
if (!$this->has($resource)) {
364-
require_once 'Zend/Acl/Exception.php';
364+
#require_once 'Zend/Acl/Exception.php';
365365
throw new Zend_Acl_Exception("Resource '$resourceId' not found");
366366
}
367367

@@ -408,7 +408,7 @@ public function inherits($resource, $inherit, $onlyParent = false)
408408
$resourceId = $this->get($resource)->getResourceId();
409409
$inheritId = $this->get($inherit)->getResourceId();
410410
} catch (Zend_Acl_Exception $e) {
411-
require_once 'Zend/Acl/Exception.php';
411+
#require_once 'Zend/Acl/Exception.php';
412412
throw new Zend_Acl_Exception($e->getMessage(), $e->getCode(), $e);
413413
}
414414

@@ -447,7 +447,7 @@ public function remove($resource)
447447
try {
448448
$resourceId = $this->get($resource)->getResourceId();
449449
} catch (Zend_Acl_Exception $e) {
450-
require_once 'Zend/Acl/Exception.php';
450+
#require_once 'Zend/Acl/Exception.php';
451451
throw new Zend_Acl_Exception($e->getMessage(), $e->getCode(), $e);
452452
}
453453

@@ -609,7 +609,7 @@ public function setRule($operation, $type, $roles = null, $resources = null, $pr
609609
// ensure that the rule type is valid; normalize input to uppercase
610610
$type = strtoupper($type);
611611
if (self::TYPE_ALLOW !== $type && self::TYPE_DENY !== $type) {
612-
require_once 'Zend/Acl/Exception.php';
612+
#require_once 'Zend/Acl/Exception.php';
613613
throw new Zend_Acl_Exception("Unsupported rule type; must be either '" . self::TYPE_ALLOW . "' or '"
614614
. self::TYPE_DENY . "'");
615615
}
@@ -788,7 +788,7 @@ public function setRule($operation, $type, $roles = null, $resources = null, $pr
788788
break;
789789

790790
default:
791-
require_once 'Zend/Acl/Exception.php';
791+
#require_once 'Zend/Acl/Exception.php';
792792
throw new Zend_Acl_Exception("Unsupported operation; must be either '" . self::OP_ADD . "' or '"
793793
. self::OP_REMOVE . "'");
794794
}
@@ -966,7 +966,7 @@ protected function _roleDFSVisitAllPrivileges(Zend_Acl_Role_Interface $role, Zen
966966
/**
967967
* @see Zend_Acl_Exception
968968
*/
969-
require_once 'Zend/Acl/Exception.php';
969+
#require_once 'Zend/Acl/Exception.php';
970970
throw new Zend_Acl_Exception('$dfs parameter may not be null');
971971
}
972972

@@ -1009,7 +1009,7 @@ protected function _roleDFSOnePrivilege(Zend_Acl_Role_Interface $role, Zend_Acl_
10091009
/**
10101010
* @see Zend_Acl_Exception
10111011
*/
1012-
require_once 'Zend/Acl/Exception.php';
1012+
#require_once 'Zend/Acl/Exception.php';
10131013
throw new Zend_Acl_Exception('$privilege parameter may not be null');
10141014
}
10151015

@@ -1055,15 +1055,15 @@ protected function _roleDFSVisitOnePrivilege(Zend_Acl_Role_Interface $role, Zend
10551055
/**
10561056
* @see Zend_Acl_Exception
10571057
*/
1058-
require_once 'Zend/Acl/Exception.php';
1058+
#require_once 'Zend/Acl/Exception.php';
10591059
throw new Zend_Acl_Exception('$privilege parameter may not be null');
10601060
}
10611061

10621062
if (null === $dfs) {
10631063
/**
10641064
* @see Zend_Acl_Exception
10651065
*/
1066-
require_once 'Zend/Acl/Exception.php';
1066+
#require_once 'Zend/Acl/Exception.php';
10671067
throw new Zend_Acl_Exception('$dfs parameter may not be null');
10681068
}
10691069

library/Zend/Acl/Assert/Interface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@
2323
/**
2424
* @see Zend_Acl
2525
*/
26-
require_once 'Zend/Acl.php';
26+
#require_once 'Zend/Acl.php';
2727

2828

2929
/**
3030
* @see Zend_Acl_Role_Interface
3131
*/
32-
require_once 'Zend/Acl/Role/Interface.php';
32+
#require_once 'Zend/Acl/Role/Interface.php';
3333

3434

3535
/**
3636
* @see Zend_Acl_Resource_Interface
3737
*/
38-
require_once 'Zend/Acl/Resource/Interface.php';
38+
#require_once 'Zend/Acl/Resource/Interface.php';
3939

4040

4141
/**

library/Zend/Acl/Exception.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/**
2424
* @see Zend_Exception
2525
*/
26-
require_once 'Zend/Exception.php';
26+
#require_once 'Zend/Exception.php';
2727

2828

2929
/**

library/Zend/Acl/Resource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/**
2424
* @see Zend_Acl_Resource_Interface
2525
*/
26-
require_once 'Zend/Acl/Resource/Interface.php';
26+
#require_once 'Zend/Acl/Resource/Interface.php';
2727

2828

2929
/**

library/Zend/Acl/Role.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/**
2424
* @see Zend_Acl_Role_Interface
2525
*/
26-
require_once 'Zend/Acl/Role/Interface.php';
26+
#require_once 'Zend/Acl/Role/Interface.php';
2727

2828

2929
/**

0 commit comments

Comments
 (0)