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

Commit d1e5cd8

Browse files
committed
Merge pull request #1 from anupdugar/master
zf 1.12.10 Upgrade
2 parents 956e87d + 498ff6a commit d1e5cd8

File tree

4,328 files changed

+11879
-9842
lines changed

Some content is hidden

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

4,328 files changed

+11879
-9842
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/demos export-ignore
2+
/tests export-ignore
3+
/documentation export-ignore

.travis.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,22 @@ php:
1111
env: TMPDIR=/tmp
1212

1313
install:
14-
- sh ./tests/install_dependencies.sh
14+
- if [[ "$TRAVIS_PHP_VERSION" == "5.2" ]]; then sh ./tests/php52_install_dependencies.sh; fi
1515
- phpenv rehash
1616

1717
services:
1818
- memcached
1919

2020
before_script:
21+
- if [[ "$TRAVIS_PHP_VERSION" != "5.2" ]]; then travis_retry composer self-update; fi
22+
- if [[ "$TRAVIS_PHP_VERSION" != "5.2" ]]; then travis_retry composer install --no-interaction --prefer-source --dev; fi
23+
2124
- mysql -e 'create database zftest;'
2225
- psql -c 'create database zftest;' -U postgres
23-
- echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
24-
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
26+
27+
- if [[ "$TRAVIS_PHP_VERSION" != "5.2" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-add tests/config.ini; fi
28+
- if [[ "$TRAVIS_PHP_VERSION" == "5.2" ]]; then phpenv config-add tests/php52_config.ini; fi
29+
2530
- cp ./tests/TestConfiguration.travis.php ./tests/TestConfiguration.php
2631

2732
script:

DEVELOPMENT_README.md

Lines changed: 43 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,63 @@
1-
Development using a virtual machine
2-
###################################
1+
# Development using a virtual machine
32

43
You can set up a development virtual machine for ZF1 unit testing and library
54
development following these simple instructions.
65

7-
1. Install requirements for VM. (Note: these are not required by ZF1 itself)
8-
- VirtualBox (https://www.virtualbox.org/)
9-
- Ruby (http://www.ruby-lang.org/)
10-
- Vagrant (http://vagrantup.com/)
6+
### 1. Install requirements for VM. (Note: these are not required by ZF1 itself)
117

12-
2. Checkout repository to any location
13-
> git clone git://github.com:zendframework/zf1.git zf1-dev
14-
> cd zf1-dev
15-
16-
3. Start the process by running Vagrant.
17-
> vagrant up
8+
- VirtualBox (https://www.virtualbox.org/)
9+
- Ruby (http://www.ruby-lang.org/)
10+
- Vagrant (http://vagrantup.com/)
11+
12+
### 2. Checkout repository to any location
13+
14+
git clone git://github.com/zendframework/zf1.git zf1-dev
15+
cd zf1-dev
16+
17+
### 3. Start the process by running Vagrant.
18+
19+
vagrant up
20+
21+
This will take a long while as it has to download a VM image and then
22+
provision it. Once it has finished, it will exit and leave you back at the
23+
command prompt.
1824

19-
This will take a long while as it has to download a VM image and then
20-
provision it. Once it has finished, it will exit and leave you back at the
21-
command prompt.
25+
### 4. SSH into the VM
2226

23-
4. SSH into the VM
24-
> vagrant ssh
27+
vagrant ssh
2528

26-
5. Build a version of PHP.
27-
> php-build.sh 5.3.11
29+
### 5. Build a version of PHP.
2830

29-
This also takes a while as it compiles PHP for you!
31+
php-build.sh 5.3.11
32+
33+
This also takes a while as it compiles PHP for you!
3034

31-
6. Select PHP to use:
32-
> pe 5.3.11
35+
### 6. Select PHP to use:
36+
37+
pe 5.3.11
38+
39+
### 7. Run tests
3340

34-
7. Run tests
35-
> cd /vagrant/tests
36-
> phpunit --stderr -d memory_limit=-1 Zend/Acl/AclTest.php
37-
> phpunit --stderr -d memory_limit=-1 Zend/Amf/AllTests.php
38-
(etc...)
41+
cd /vagrant/tests
42+
phpunit --stderr -d memory_limit=-1 Zend/Acl/AclTest.php
43+
phpunit --stderr -d memory_limit=-1 Zend/Amf/AllTests.php
44+
(etc...)
3945

4046
Note that you can repeat items 5 and 6 to create any version if PHP.
4147

42-
43-
Notes:
48+
## Notes:
49+
4450
- The VM will be running in the background as VBoxHeadless
4551
- HTTP and SSH ports on the VM are forwarded to localhost (22 -> 2222, 80 -> 8081)
4652
- The zf1-dev directory you checked out will be mounted inside the VM at /vagrant
4753
- You can develop by editing the files you cloned in the IDE of you choice.
48-
- To stop the VM do one of the following:
49-
> vagrant suspend # if you plan on running it later
50-
> vagrant halt # if you wish to turn off the VM, but keep it around
51-
> vagrant destroy # if you wish to delete the VM completely
52-
- Also, when any of of the Puppet manifests change (.pp files), it is a good idea to rerun them:
53-
> vagrant provision
5454

55+
To stop the VM do one of the following:
56+
57+
vagrant suspend # if you plan on running it later
58+
vagrant halt # if you wish to turn off the VM, but keep it around
59+
vagrant destroy # if you wish to delete the VM completely
60+
61+
Also, when any of of the Puppet manifests change (.pp files), it is a good idea to rerun them:
5562

63+
vagrant provision

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2005-2014, Zend Technologies USA, Inc.
1+
Copyright (c) 2005-2015, Zend Technologies USA, Inc.
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
INFORMATION
22
===================
33

4-
This is a fork from Zend Framework 1.12.9 Release.
4+
This is a fork from Zend Framework 1.12.10 Release.
55

66
PURPOSE
77
---------------------------

bin/classmap_generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @category Zend
1616
* @package Zend_Loader
1717
* @subpackage Exception
18-
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
18+
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
1919
* @license http://framework.zend.com/license/new-bsd New BSD License
2020
*/
2121

bin/zf.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ REM obtain it through the world-wide-web, please send an email
1212
REM to [email protected] so we can send you a copy immediately.
1313
REM
1414
REM Zend
15-
REM Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
15+
REM Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
1616
REM http://framework.zend.com/license/new-bsd New BSD License
1717

1818

bin/zf.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @category Zend
1616
* @package Zend_Tool
1717
* @subpackage Framework
18-
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
18+
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
1919
* @license http://framework.zend.com/license/new-bsd New BSD License
2020
* @version $Id$
2121
*/
@@ -26,7 +26,7 @@
2626
* @category Zend
2727
* @package Zend_Tool
2828
* @subpackage Framework
29-
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
29+
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
3030
* @license http://framework.zend.com/license/new-bsd New BSD License
3131
*/
3232
class ZF

bin/zf.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# to [email protected] so we can send you a copy immediately.
1515
#
1616
# Zend
17-
# Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
17+
# Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
1818
# http://framework.zend.com/license/new-bsd New BSD License
1919
#############################################################################
2020

demos/Zend/Cloud/cloudexp/application/Bootstrap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
* @category Zend
1616
* @package Zend_Cloud
1717
* @subpackage examples
18-
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
18+
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
1919
* @license http://framework.zend.com/license/new-bsd New BSD License
2020
*/
2121

2222
/**
2323
* @category Zend
2424
* @package Zend_Cloud
2525
* @subpackage examples
26-
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
26+
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
2727
* @license http://framework.zend.com/license/new-bsd New BSD License
2828
*/
2929
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap

0 commit comments

Comments
 (0)