Skip to content

Commit

Permalink
Merge pull request #582 from jamiehannaford/dev-5.4
Browse files Browse the repository at this point in the history
Bump versions for development packages
  • Loading branch information
ycombinator committed Apr 2, 2015
2 parents d101346 + 2b0a696 commit 853dd17
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Expand Up @@ -3,7 +3,6 @@ php:
- "5.6"
- "5.5"
- "5.4"
- "5.3"
- hhvm

sudo: false
Expand Down Expand Up @@ -33,4 +32,4 @@ notifications:
- shaunak.kashyap@rackspace.com

env:
- secure: "bdrUeYb3nSGgBB+QtDZxUHVPw6B/wjb3KXLm8TgonWrQm4GPeWKK29qhmDnFZmQjwQPfuebe7wAk1ZxGoZKbEiELVpJJ+8XYVOt6W/6V53H31JL6FqiIE5+7qBwDe+9ziveM6GcTXHT1GI5mUeACIbeBDPZaNubIJH3U6MPim64="
- secure: "bdrUeYb3nSGgBB+QtDZxUHVPw6B/wjb3KXLm8TgonWrQm4GPeWKK29qhmDnFZmQjwQPfuebe7wAk1ZxGoZKbEiELVpJJ+8XYVOt6W/6V53H31JL6FqiIE5+7qBwDe+9ziveM6GcTXHT1GI5mUeACIbeBDPZaNubIJH3U6MPim64="
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -16,9 +16,11 @@ so that you can still use the SDK with a pure OpenStack instance

Requirements
------------
* PHP >=5.3.3
* PHP >=5.4
* cURL extension for PHP

**Note**: Since PHP 5.3 has reached [end of life](http://php.net/eol.php) and is no longer officially supported, we are moving to 5.4 as a minimum requirement. If upgrading is not an option and you still need a stable version of the SDK for 5.3, please follow [this guide](http://docs.php-opencloud.com/en/latest/using-php-5.3).

Installation
------------
You must install this library through Composer:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -26,7 +26,7 @@
}
},
"require": {
"php" : ">=5.3.3",
"php" : ">=5.4",
"guzzle/guzzle" : "~3.8",
"psr/log": "~1.0"
},
Expand All @@ -35,6 +35,6 @@
"satooshi/php-coveralls": "0.6.*@dev",
"jakub-onderka/php-parallel-lint": "0.*",
"fabpot/php-cs-fixer": "1.0.*@dev",
"apigen/apigen": "~2.8"
"apigen/apigen": "~4.0"
}
}
4 changes: 4 additions & 0 deletions doc/index.rst
Expand Up @@ -30,6 +30,10 @@ Read the :doc:`getting-started-with-openstack` or
:doc:`getting-started-with-rackspace` to help you get started with basic
Compute operations.

.. note::

If you are running PHP 5.3, please see our :doc:`using-php-5.3` guide.

Services
--------

Expand Down
20 changes: 20 additions & 0 deletions doc/using-php-5.3.rst
@@ -0,0 +1,20 @@
Using the SDK with PHP v5.3
===========================

Since PHP 5.3 has entered EOL and no longer receives security updates, we have bumped the minimum requirement to 5.4. Using 5.3 is still possible, however, but you will need to use an older stable version of the SDK. There are two ways to do this.

The first way is by requiring it through the command line:

.. code-block:: bash
composer require rackspace/php-opencloud:1.12
The second way is by updating your composer.json file, and specifying the appropriate version of the SDK:

.. code-block:: json
"require": {
"rackspace/php-opencloud": "~1.12"
}
Note that **1.12** is the last minor release supporting PHP 5.3. Version 1.13 and above has shifted to PHP 5.4.
2 changes: 1 addition & 1 deletion lib/OpenCloud/Version.php
Expand Up @@ -27,7 +27,7 @@
*/
class Version
{
const VERSION = '1.12.2';
const VERSION = '1.13.0';

/**
* @return string Indicate current SDK version.
Expand Down

0 comments on commit 853dd17

Please sign in to comment.