From 2982c2cf483f211c31133e5b44d3e4c3d0f5ff1c Mon Sep 17 00:00:00 2001 From: Aleksei Khudiakov Date: Tue, 7 Mar 2017 07:37:06 +1000 Subject: [PATCH 01/14] Drop php 5.5, add php ^7.0 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7d8ce02..8cd7d48 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ } }, "require": { - "php": ">=5.5", + "php": "^5.6 || ^7.0", "zendframework/zend-http": "~2.0", "zendframework/zendrest": "~2.0", "zendframework/zend-crypt": "~2.0 || ~3.0", From 853ff792ad03ee74a33ac48b5aee10a3973e8501 Mon Sep 17 00:00:00 2001 From: Aleksei Khudiakov Date: Tue, 7 Mar 2017 07:43:19 +1000 Subject: [PATCH 02/14] Added CHANGELOG for #65 --- CHANGELOG.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b3571d..16b1c5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file, in reverse - [#63](https://github.com/zendframework/ZendService_Amazon/pull/63) added support for zend-crypt v3 and zend-json v3 +- [#65](https://github.com/zendframework/ZendService_Amazon/pull/65) added php 7 ### Deprecated @@ -15,8 +16,8 @@ All notable changes to this project will be documented in this file, in reverse ### Removed -- [#63](https://github.com/zendframework/ZendService_Amazon/pull/63) dropped - php <5.5 support +- [#65](https://github.com/zendframework/ZendService_Amazon/pull/65) dropped + php <5.6 support ### Fixed From 3d6f1229c8a22e3c7f2ee64fbfcecc103d92611b Mon Sep 17 00:00:00 2001 From: Demian Katz Date: Tue, 7 Mar 2017 15:32:26 -0500 Subject: [PATCH 03/14] Renamed/reflowed LICENSE.txt to LICENSE.md --- LICENSE.txt => LICENSE.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) rename LICENSE.txt => LICENSE.md (59%) diff --git a/LICENSE.txt b/LICENSE.md similarity index 59% rename from LICENSE.txt rename to LICENSE.md index 5ad81e9..dbb1b49 100644 --- a/LICENSE.txt +++ b/LICENSE.md @@ -1,19 +1,20 @@ -Copyright (c) 2005-2014, Zend Technologies USA, Inc. +Copyright (c) 2005-2015, Zend Technologies USA, Inc. + All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. +- Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. +- Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. - * Neither the name of Zend Technologies USA, Inc. nor the names of its - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. +- Neither the name of Zend Technologies USA, Inc. nor the names of its + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED From 273fc3452fcd40a5f67a0110be84884e04698db6 Mon Sep 17 00:00:00 2001 From: Demian Katz Date: Tue, 7 Mar 2017 15:36:17 -0500 Subject: [PATCH 04/14] Base CONTRIBUTING.md. --- CONTRIBUTING.md | 171 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 171 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..fc7d900 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,171 @@ +# CONTRIBUTING + +## RESOURCES + +If you wish to contribute to Zend Framework, please be sure to +read/subscribe to the following resources: + + - [Coding Standards](https://github.com/zendframework/zf2/wiki/Coding-Standards) + - [Contributor's Guide](http://framework.zend.com/participate/contributor-guide) + - ZF Contributor's mailing list: + Archives: http://zend-framework-community.634137.n4.nabble.com/ZF-Contributor-f680267.html + Subscribe: zf-contributors-subscribe@lists.zend.com + - ZF Contributor's IRC channel: + #zftalk.dev on Freenode.net + +If you are working on new features or refactoring [create a proposal](https://github.com/zendframework/ZendService_Amazon/issues/new). + +## Reporting Potential Security Issues + +If you have encountered a potential security vulnerability, please **DO NOT** report it on the public +issue tracker: send it to us at [zf-security@zend.com](mailto:zf-security@zend.com) instead. +We will work with you to verify the vulnerability and patch it as soon as possible. + +When reporting issues, please provide the following information: + +- Component(s) affected +- A description indicating how to reproduce the issue +- A summary of the security vulnerability and impact + +We request that you contact us via the email address above and give the project +contributors a chance to resolve the vulnerability and issue a new release prior +to any public exposure; this helps protect users and provides them with a chance +to upgrade and/or update in order to protect their applications. + +For sensitive email communications, please use [our PGP key](http://framework.zend.com/zf-security-pgp-key.asc). + +## Recommended Workflow for Contributions + +Your first step is to establish a public repository from which we can +pull your work into the master repository. We recommend using +[GitHub](https://github.com), as that is where the component is already hosted. + +1. Setup a [GitHub account](http://github.com/), if you haven't yet +2. Fork the repository (http://github.com/zendframework/ZendService_Amazon) +3. Clone the canonical repository locally and enter it. + + ```console + $ git clone git://github.com:zendframework/ZendService_Amazon.git + $ cd ZendService_Amazon + ``` + +4. Add a remote to your fork; substitute your GitHub username in the command + below. + + ```console + $ git remote add {username} git@github.com:{username}/ZendService_Amazon.git + $ git fetch {username} + ``` + +### Keeping Up-to-Date + +Periodically, you should update your fork or personal repository to +match the canonical ZF repository. Assuming you have setup your local repository +per the instructions above, you can do the following: + + +```console +$ git checkout master +$ git fetch origin +$ git rebase origin/master +# OPTIONALLY, to keep your remote up-to-date - +$ git push {username} master:master +``` + +If you're tracking other branches -- for example, the "develop" branch, where +new feature development occurs -- you'll want to do the same operations for that +branch; simply substitute "develop" for "master". + +### Working on a patch + +We recommend you do each new feature or bugfix in a new branch. This simplifies +the task of code review as well as the task of merging your changes into the +canonical repository. + +A typical workflow will then consist of the following: + +1. Create a new local branch based off either your master or develop branch. +2. Switch to your new local branch. (This step can be combined with the + previous step with the use of `git checkout -b`.) +3. Do some work, commit, repeat as necessary. +4. Push the local branch to your remote repository. +5. Send a pull request. + +The mechanics of this process are actually quite trivial. Below, we will +create a branch for fixing an issue in the tracker. + +```console +$ git checkout -b hotfix/9295 +Switched to a new branch 'hotfix/9295' +``` + +... do some work ... + + +```console +$ git commit +``` + +... write your log message ... + + +```console +$ git push {username} hotfix/9295:hotfix/9295 +Counting objects: 38, done. +Delta compression using up to 2 threads. +Compression objects: 100% (18/18), done. +Writing objects: 100% (20/20), 8.19KiB, done. +Total 20 (delta 12), reused 0 (delta 0) +To ssh://git@github.com/{username}/ZendService_Amazon.git + b5583aa..4f51698 HEAD -> master +``` + +To send a pull request, you have two options. + +If using GitHub, you can do the pull request from there. Navigate to +your repository, select the branch you just created, and then select the +"Pull Request" button in the upper right. Select the user/organization +"zendframework" as the recipient. + +If using your own repository - or even if using GitHub - you can use `git +format-patch` to create a patchset for us to apply; in fact, this is +**recommended** for security-related patches. If you use `format-patch`, please +send the patches as attachments to: + +- zf-devteam@zend.com for patches without security implications +- zf-security@zend.com for security patches + +#### What branch to issue the pull request against? + +Which branch should you issue a pull request against? + +- For fixes against the stable release, issue the pull request against the + "master" branch. +- For new features, or fixes that introduce new elements to the public API (such + as new public methods or properties), issue the pull request against the + "develop" branch. + +### Branch Cleanup + +As you might imagine, if you are a frequent contributor, you'll start to +get a ton of branches both locally and on your remote. + +Once you know that your changes have been accepted to the master +repository, we suggest doing some cleanup of these branches. + +- Local branch cleanup + + ```console + $ git branch -d + ``` + +- Remote branch removal + + ```console + $ git push {username} : + ``` + + +## Conduct + +Please see our [CONDUCT.md](CONDUCT.md) to understand expected behavior when interacting with others in the project. From ac724de9f455feba455422737b8cc76e1a3cb36b Mon Sep 17 00:00:00 2001 From: Demian Katz Date: Tue, 7 Mar 2017 15:28:12 -0500 Subject: [PATCH 05/14] Updated to PHPUnit ^6.0 || ^5.7 - changed `PHPUnit_Framework_TestCase` to `PHPUnit\Framework\TestCase` - changed `setExpectedException` to `expectException` - added assertions to risky tests - work around legacy PHPUnit_Runner_Version check --- composer.json | 2 +- tests/Bootstrap.php | 7 --- .../Amazon/Authentication/S3Test.php | 3 +- .../Amazon/Authentication/V1Test.php | 3 +- .../Amazon/Authentication/V2Test.php | 3 +- tests/ZendService/Amazon/Ec2/AbstractTest.php | 9 +-- .../Amazon/Ec2/AvailabilityZonesTest.php | 3 +- .../ZendService/Amazon/Ec2/CloudWatchTest.php | 3 +- tests/ZendService/Amazon/Ec2/EbsTest.php | 3 +- tests/ZendService/Amazon/Ec2/Ec2Test.php | 11 ++-- .../ZendService/Amazon/Ec2/ElasticIpTest.php | 3 +- tests/ZendService/Amazon/Ec2/ImageTest.php | 9 +-- .../Amazon/Ec2/InstanceReservedTest.php | 3 +- tests/ZendService/Amazon/Ec2/InstanceTest.php | 9 +-- .../Amazon/Ec2/InstanceWindowsTest.php | 3 +- tests/ZendService/Amazon/Ec2/KeypairTest.php | 14 ++--- tests/ZendService/Amazon/Ec2/RegionTest.php | 3 +- .../Amazon/Ec2/SecurityGroupsTest.php | 3 +- tests/ZendService/Amazon/OfflineTest.php | 27 ++++----- tests/ZendService/Amazon/OnlineTest.php | 42 ++++++-------- tests/ZendService/Amazon/S3/OfflineTest.php | 3 +- tests/ZendService/Amazon/S3/OnlineTest.php | 55 ++++++++----------- tests/ZendService/Amazon/S3/S3RestTest.php | 16 +++--- tests/ZendService/Amazon/S3/StreamTest.php | 4 +- .../Amazon/SimpleDb/OnlineTest.php | 3 +- tests/ZendService/Amazon/Sqs/OnlineTest.php | 4 +- 26 files changed, 120 insertions(+), 128 deletions(-) diff --git a/composer.json b/composer.json index 8cd7d48..cd19ef8 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ }, "require-dev": { "fabpot/php-cs-fixer": "~1.7.0", - "phpunit/phpunit": "~4.0", + "phpunit/phpunit": "^6.0.8 || ^5.7.15", "zendframework/zend-i18n": "~2.0" }, "suggest": { diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php index a1daad2..a1e5920 100644 --- a/tests/Bootstrap.php +++ b/tests/Bootstrap.php @@ -13,13 +13,6 @@ */ error_reporting(E_ALL | E_STRICT); -$phpUnitVersion = PHPUnit_Runner_Version::id(); -if ('@package_version@' !== $phpUnitVersion && version_compare($phpUnitVersion, '3.5.0', '<')) { - echo 'This version of PHPUnit (' . PHPUnit_Runner_Version::id() . ') is not supported in Zend Framework 2.x unit tests.' . PHP_EOL; - exit(1); -} -unset($phpUnitVersion); - /* * Determine the root, library, and tests directories of the framework * distribution. diff --git a/tests/ZendService/Amazon/Authentication/S3Test.php b/tests/ZendService/Amazon/Authentication/S3Test.php index 9648a66..e1190c8 100644 --- a/tests/ZendService/Amazon/Authentication/S3Test.php +++ b/tests/ZendService/Amazon/Authentication/S3Test.php @@ -10,6 +10,7 @@ namespace ZendServiceTest\Amazon\Authentication; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\Authentication; /** @@ -19,7 +20,7 @@ * @package Zend_Service_Amazon_Authentication * @subpackage UnitTests */ -class S3Test extends \PHPUnit_Framework_TestCase +class S3Test extends TestCase { /** diff --git a/tests/ZendService/Amazon/Authentication/V1Test.php b/tests/ZendService/Amazon/Authentication/V1Test.php index 50337c9..864d8b3 100644 --- a/tests/ZendService/Amazon/Authentication/V1Test.php +++ b/tests/ZendService/Amazon/Authentication/V1Test.php @@ -10,6 +10,7 @@ namespace ZendServiceTest\Amazon\Authentication; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\Authentication; /** @@ -19,7 +20,7 @@ * @package Zend_Service_Amazon_Authentication * @subpackage UnitTests */ -class V1Test extends \PHPUnit_Framework_TestCase +class V1Test extends TestCase { /** diff --git a/tests/ZendService/Amazon/Authentication/V2Test.php b/tests/ZendService/Amazon/Authentication/V2Test.php index 336f616..8692ff4 100644 --- a/tests/ZendService/Amazon/Authentication/V2Test.php +++ b/tests/ZendService/Amazon/Authentication/V2Test.php @@ -10,6 +10,7 @@ namespace ZendServiceTest\Amazon\Authentication; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\Authentication; /** @@ -19,7 +20,7 @@ * @package Zend_Service_Amazon_Authentication * @subpackage UnitTests */ -class V2Test extends \PHPUnit_Framework_TestCase +class V2Test extends TestCase { /** diff --git a/tests/ZendService/Amazon/Ec2/AbstractTest.php b/tests/ZendService/Amazon/Ec2/AbstractTest.php index 109b037..bacbaf0 100644 --- a/tests/ZendService/Amazon/Ec2/AbstractTest.php +++ b/tests/ZendService/Amazon/Ec2/AbstractTest.php @@ -10,7 +10,9 @@ namespace ZendServiceTest\Amazon\Ec2; +use PHPUnit\Framework\TestCase; use ZendService\Amazon; +use ZendService\Amazon\Ec2\Exception\InvalidArgumentException; /** * @category Zend @@ -20,7 +22,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_Ec2 */ -class AbstractTest extends \PHPUnit_Framework_TestCase +class AbstractTest extends TestCase { public function testSetRegion() { @@ -32,9 +34,8 @@ public function testSetRegion() public function testSetInvalidRegionThrowsException() { $ec2 = new TestAmazonAbstract('TestAccessKey', 'TestSecretKey'); - $this->setExpectedException( - 'ZendService\Amazon\Ec2\Exception\InvalidArgumentException', - 'Invalid Amazon Ec2 Region'); + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage('Invalid Amazon Ec2 Region'); $ec2->setRegion('eu-west-1a'); } diff --git a/tests/ZendService/Amazon/Ec2/AvailabilityZonesTest.php b/tests/ZendService/Amazon/Ec2/AvailabilityZonesTest.php index cae8588..4b767d6 100644 --- a/tests/ZendService/Amazon/Ec2/AvailabilityZonesTest.php +++ b/tests/ZendService/Amazon/Ec2/AvailabilityZonesTest.php @@ -10,6 +10,7 @@ namespace ZendServiceTest\Amazon\Ec2; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\Ec2; use Zend\Http\Client as HttpClient; use Zend\Http\Client\Adapter\Test as HttpClientTestAdapter; @@ -24,7 +25,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_Ec2 */ -class AvailabilityZonesTest extends \PHPUnit_Framework_TestCase +class AvailabilityZonesTest extends TestCase { /** diff --git a/tests/ZendService/Amazon/Ec2/CloudWatchTest.php b/tests/ZendService/Amazon/Ec2/CloudWatchTest.php index e030a39..e2af842 100644 --- a/tests/ZendService/Amazon/Ec2/CloudWatchTest.php +++ b/tests/ZendService/Amazon/Ec2/CloudWatchTest.php @@ -10,6 +10,7 @@ namespace ZendServiceTest\Amazon\Ec2; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\Ec2; use Zend\Http\Client as HttpClient; use Zend\Http\Client\Adapter\Test as HttpClientTestAdapter; @@ -24,7 +25,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_Ec2 */ -class CloudWatchTest extends \PHPUnit_Framework_TestCase +class CloudWatchTest extends TestCase { /** diff --git a/tests/ZendService/Amazon/Ec2/EbsTest.php b/tests/ZendService/Amazon/Ec2/EbsTest.php index 816c00a..e426faa 100644 --- a/tests/ZendService/Amazon/Ec2/EbsTest.php +++ b/tests/ZendService/Amazon/Ec2/EbsTest.php @@ -10,6 +10,7 @@ namespace ZendServiceTest\Amazon\Ec2; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\Ec2; use Zend\Http\Client as HttpClient; use Zend\Http\Client\Adapter\Test as HttpClientTestAdapter; @@ -25,7 +26,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_Ec2 */ -class EbsTest extends \PHPUnit_Framework_TestCase +class EbsTest extends TestCase { /** diff --git a/tests/ZendService/Amazon/Ec2/Ec2Test.php b/tests/ZendService/Amazon/Ec2/Ec2Test.php index 44b18f5..08679eb 100644 --- a/tests/ZendService/Amazon/Ec2/Ec2Test.php +++ b/tests/ZendService/Amazon/Ec2/Ec2Test.php @@ -10,7 +10,9 @@ namespace ZendServiceTest\Amazon\Ec2; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\Ec2; +use ZendService\Amazon\Ec2\Exception\RuntimeException; /** * ZendService\Amazon\Ec2 test case. @@ -22,7 +24,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_Ec2 */ -class Ec2Test extends \PHPUnit_Framework_TestCase +class Ec2Test extends TestCase { /** @@ -74,10 +76,7 @@ public function testFactoryReturnsSecurityGroupsObject() public function testFactoryWillFailInvalidSection() { - try { - $object = Ec2\Ec2::factory('avaavaavailabilityzones', 'access_key', 'secret_access_key'); - $this->fail('RuntimeException was expected but not thrown'); - } catch (Ec2\Exception\RuntimeException $e) { - } + $this->expectException(RuntimeException::class); + $object = Ec2\Ec2::factory('avaavaavailabilityzones', 'access_key', 'secret_access_key'); } } diff --git a/tests/ZendService/Amazon/Ec2/ElasticIpTest.php b/tests/ZendService/Amazon/Ec2/ElasticIpTest.php index 610d945..021998c 100644 --- a/tests/ZendService/Amazon/Ec2/ElasticIpTest.php +++ b/tests/ZendService/Amazon/Ec2/ElasticIpTest.php @@ -10,6 +10,7 @@ namespace ZendServiceTest\Amazon\Ec2; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\Ec2; use Zend\Http\Client as HttpClient; use Zend\Http\Client\Adapter\Test as HttpClientTestAdapter; @@ -24,7 +25,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_Ec2 */ -class ElasticIpTest extends \PHPUnit_Framework_TestCase +class ElasticIpTest extends TestCase { /** diff --git a/tests/ZendService/Amazon/Ec2/ImageTest.php b/tests/ZendService/Amazon/Ec2/ImageTest.php index 4bad447..405595f 100644 --- a/tests/ZendService/Amazon/Ec2/ImageTest.php +++ b/tests/ZendService/Amazon/Ec2/ImageTest.php @@ -10,7 +10,9 @@ namespace ZendServiceTest\Amazon\Ec2; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\Ec2; +use ZendService\Amazon\Ec2\Exception\InvalidArgumentException; use Zend\Http\Client as HttpClient; use Zend\Http\Client\Adapter\Test as HttpClientTestAdapter; @@ -24,7 +26,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_Ec2 */ -class ImageTest extends \PHPUnit_Framework_TestCase +class ImageTest extends TestCase { /** @@ -526,9 +528,8 @@ public function testModifyAttributeMultipleLaunchPermission() public function testModifyAttributeThrowsExceptionOnInvalidAttribute() { - $this->setExpectedException( - 'ZendService\Amazon\Ec2\Exception\InvalidArgumentException', - 'Invalid attribute passed in.'); + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage('Invalid attribute passed in.'); $return = $this->ec2ImageInstance->modifyAttribute('ami-61a54008', 'invalidPermission', 'add', '495219933132', 'all'); } diff --git a/tests/ZendService/Amazon/Ec2/InstanceReservedTest.php b/tests/ZendService/Amazon/Ec2/InstanceReservedTest.php index 07a7661..450b445 100644 --- a/tests/ZendService/Amazon/Ec2/InstanceReservedTest.php +++ b/tests/ZendService/Amazon/Ec2/InstanceReservedTest.php @@ -10,6 +10,7 @@ namespace ZendServiceTest\Amazon\Ec2; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\Ec2\ReservedInstance; use Zend\Http\Client as HttpClient; use Zend\Http\Client\Adapter\Test as HttpClientTestAdapter; @@ -25,7 +26,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_Ec2 */ -class InstanceReservedTest extends \PHPUnit_Framework_TestCase +class InstanceReservedTest extends TestCase { /** diff --git a/tests/ZendService/Amazon/Ec2/InstanceTest.php b/tests/ZendService/Amazon/Ec2/InstanceTest.php index 58a396b..53dd126 100644 --- a/tests/ZendService/Amazon/Ec2/InstanceTest.php +++ b/tests/ZendService/Amazon/Ec2/InstanceTest.php @@ -10,7 +10,9 @@ namespace ZendServiceTest\Amazon\Ec2; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\Ec2\Instance; +use ZendService\Amazon\Ec2\Exception\InvalidArgumentException; use Zend\Http\Client as HttpClient; use Zend\Http\Client\Adapter\Test as HttpClientTestAdapter; @@ -25,7 +27,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_Ec2 */ -class InstanceTest extends \PHPUnit_Framework_TestCase +class InstanceTest extends TestCase { /** @@ -283,9 +285,8 @@ public function testDescribeByImageId() public function testRunThrowsExceptionWhenNoImageIdPassedIn() { - $this->setExpectedException( - 'ZendService\Amazon\Ec2\Exception\InvalidArgumentException', - 'No Image Id Provided'); + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage('No Image Id Provided'); $arrStart = array( 'maxStart' => 3, 'keyName' => 'example-key-name', diff --git a/tests/ZendService/Amazon/Ec2/InstanceWindowsTest.php b/tests/ZendService/Amazon/Ec2/InstanceWindowsTest.php index 79caed2..0c8b394 100644 --- a/tests/ZendService/Amazon/Ec2/InstanceWindowsTest.php +++ b/tests/ZendService/Amazon/Ec2/InstanceWindowsTest.php @@ -10,6 +10,7 @@ namespace ZendServiceTest\Amazon\Ec2; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\Ec2\WindowsInstance; use Zend\Http\Client as HttpClient; use Zend\Http\Client\Adapter\Test as HttpClientTestAdapter; @@ -26,7 +27,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_Ec2 */ -class InstanceWindowsTest extends \PHPUnit_Framework_TestCase +class InstanceWindowsTest extends TestCase { /** diff --git a/tests/ZendService/Amazon/Ec2/KeypairTest.php b/tests/ZendService/Amazon/Ec2/KeypairTest.php index c9b8ee9..0f002ef 100644 --- a/tests/ZendService/Amazon/Ec2/KeypairTest.php +++ b/tests/ZendService/Amazon/Ec2/KeypairTest.php @@ -10,7 +10,9 @@ namespace ZendServiceTest\Amazon\Ec2; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\Ec2; +use ZendService\Amazon\Ec2\Exception\InvalidArgumentException; use Zend\Http\Client as HttpClient; use Zend\Http\Client\Adapter\Test as HttpClientTestAdapter; @@ -24,7 +26,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_Ec2 */ -class KeypairTest extends \PHPUnit_Framework_TestCase +class KeypairTest extends TestCase { /** @@ -55,9 +57,8 @@ protected function setUp() public function testCreateKeyPairNoNameThrowsException() { - $this->setExpectedException( - 'ZendService\Amazon\Ec2\Exception\InvalidArgumentException', - 'Invalid Key Name'); + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage('Invalid Key Name'); $this->keypairInstance->create(''); } @@ -185,9 +186,8 @@ public function testDescribeMultipleKeyPair() public function testDeleteKeyPairNoNameThrowsException() { - $this->setExpectedException( - 'ZendService\Amazon\Ec2\Exception\InvalidArgumentException', - 'Invalid Key Name'); + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage('Invalid Key Name'); $this->keypairInstance->delete(''); } diff --git a/tests/ZendService/Amazon/Ec2/RegionTest.php b/tests/ZendService/Amazon/Ec2/RegionTest.php index 4317c68..8290409 100644 --- a/tests/ZendService/Amazon/Ec2/RegionTest.php +++ b/tests/ZendService/Amazon/Ec2/RegionTest.php @@ -10,6 +10,7 @@ namespace ZendServiceTest\Amazon\Ec2; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\Ec2; use Zend\Http\Client as HttpClient; use Zend\Http\Client\Adapter\Test as HttpClientTestAdapter; @@ -25,7 +26,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_Ec2 */ -class RegionTest extends \PHPUnit_Framework_TestCase +class RegionTest extends TestCase { /** diff --git a/tests/ZendService/Amazon/Ec2/SecurityGroupsTest.php b/tests/ZendService/Amazon/Ec2/SecurityGroupsTest.php index 93436d6..5a58138 100644 --- a/tests/ZendService/Amazon/Ec2/SecurityGroupsTest.php +++ b/tests/ZendService/Amazon/Ec2/SecurityGroupsTest.php @@ -10,6 +10,7 @@ namespace ZendServiceTest\Amazon\Ec2; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\Ec2; use Zend\Http\Client as HttpClient; use Zend\Http\Client\Adapter\Test as HttpClientTestAdapter; @@ -25,7 +26,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_Ec2 */ -class SecurityGroupsTest extends \PHPUnit_Framework_TestCase +class SecurityGroupsTest extends TestCase { /** diff --git a/tests/ZendService/Amazon/OfflineTest.php b/tests/ZendService/Amazon/OfflineTest.php index 494136d..eac8903 100644 --- a/tests/ZendService/Amazon/OfflineTest.php +++ b/tests/ZendService/Amazon/OfflineTest.php @@ -10,7 +10,10 @@ namespace ZendServiceTest\Amazon; +use PHPUnit\Framework\TestCase; use ZendService\Amazon; +use ZendService\Amazon\Exception\ExceptionInterface; +use ZendService\Amazon\Exception\InvalidArgumentException; use Zend\Http\Client\Adapter\Test as HttpClientAdapter; /** @@ -22,7 +25,7 @@ * @group Zend_Service * @group Zend_Service_Amazon */ -class OfflineTest extends \PHPUnit_Framework_TestCase +class OfflineTest extends TestCase { /** * Reference to Amazon service consumer object @@ -57,10 +60,8 @@ public function setUp() */ public function testConstructExceptionCountryCodeInvalid() { - $this->setExpectedException( - 'ZendService\Amazon\Exception\InvalidArgumentException', - 'Unknown country code: oops' - ); + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage('Unknown country code: oops'); $amazon = new Amazon\Amazon(constant('TESTS_ZEND_SERVICE_AMAZON_ONLINE_ACCESSKEYID'), 'oops'); } @@ -105,6 +106,7 @@ public function testSimilarProductConstructorMissingAttributeDoesNotThrowNotice( $product->appendChild($asin); $similarproduct = new Amazon\SimilarProduct($product); + $this->assertTrue(is_object($similarproduct)); } /** @@ -325,7 +327,7 @@ public function testAmazonComponentHandlesEmptyBookResults() $result = new Amazon\ResultSet($dom); - $this->setExpectedException('ZendService\Amazon\Exception\ExceptionInterface'); + $this->expectException(ExceptionInterface::class); $result->current(); } @@ -339,12 +341,7 @@ public function testNoticeErrorDoesNotHappenInTotalResults() $dom->loadXML($xml); $result = new Amazon\ResultSet($dom); - - try { - $result->totalResults(); - } catch (\PHPUnit_Framework_Error_Notice $e) { - $this->fail('totalResult method should not be occurred NOTICE error.'); - } + $this->assertEquals(0, $result->totalResults()); } /** @@ -358,10 +355,6 @@ public function testNoticeErrorDoesNotHappenInTotalPages() $result = new Amazon\ResultSet($dom); - try { - $result->totalPages(); - } catch (\PHPUnit_Framework_Error_Notice $e) { - $this->fail('totalResult method should not be occurred NOTICE error.'); - } + $this->assertEquals(0, $result->totalPages()); } } diff --git a/tests/ZendService/Amazon/OnlineTest.php b/tests/ZendService/Amazon/OnlineTest.php index 0a53bd6..5fdce20 100644 --- a/tests/ZendService/Amazon/OnlineTest.php +++ b/tests/ZendService/Amazon/OnlineTest.php @@ -10,7 +10,10 @@ namespace ZendServiceTest\Amazon; +use PHPUnit\Framework\TestCase; use ZendService\Amazon; +use ZendService\Amazon\Exception\InvalidArgumentException; +use ZendService\Amazon\Exception\RuntimeException; /** * @category Zend @@ -19,7 +22,7 @@ * @group Zend_Service * @group Zend_Service_Amazon */ -class OnlineTest extends \PHPUnit_Framework_TestCase +class OnlineTest extends TestCase { /** * Reference to Amazon service consumer object @@ -80,9 +83,8 @@ public function setUp() public function testUnknownCountryException() { - $this->setExpectedException( - 'ZendService\Amazon\Exception\InvalidArgumentException', - 'Unknown country code: wrong-country-code'); + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage('Unknown country code: wrong-country-code'); $aws = new Amazon\Amazon( TESTS_ZEND_SERVICE_AMAZON_ONLINE_ACCESSKEYID, 'wrong-country-code', @@ -191,10 +193,8 @@ public function testItemSearchBooksPHPSort() */ public function testItemSearchExceptionCityInvalid() { - $this->setExpectedException( - 'ZendService\Amazon\Exception\RuntimeException', - 'The value you specified for SearchIndex is invalid.' - ); + $this->expectException(RuntimeException::class); + $this->expectExceptionMessage('The value you specified for SearchIndex is invalid.'); $this->_amazon->itemSearch(array( 'SearchIndex' => 'Restaurants', 'Keywords' => 'seafood', @@ -220,10 +220,8 @@ public function testItemLookup() */ public function testItemLookupExceptionAsinInvalid() { - $this->setExpectedException( - 'ZendService\Amazon\Exception\RuntimeException', - 'OOPS is not a valid value for ItemId. Please change this value and retry your request. (AWS.InvalidParameterValue)' - ); + $this->expectException(RuntimeException::class); + $this->expectExceptionMessage('OOPS is not a valid value for ItemId. Please change this value and retry your request. (AWS.InvalidParameterValue)'); $this->_amazon->itemLookup('oops'); } @@ -252,10 +250,8 @@ public function testItemLookupMultiple() */ public function testItemLookupExceptionSearchIndex() { - $this->setExpectedException( - 'ZendService\Amazon\Exception\RuntimeException', - 'Your request contained a restricted parameter combination. When IdType equals ASIN, SearchIndex cannot be present.' - ); + $this->expectException(RuntimeException::class); + $this->expectExceptionMessage('Your request contained a restricted parameter combination. When IdType equals ASIN, SearchIndex cannot be present.'); $this->_amazon->itemLookup('oops', array('SearchIndex' => 'Books')); } @@ -280,10 +276,8 @@ public function testQueryBooksPhp() */ public function testQueryExceptionCategoryMissing() { - $this->setExpectedException( - 'ZendService\Amazon\Exception\RuntimeException', - 'You must set a category before setting the search parameters' - ); + $this->expectException(RuntimeException::class); + $this->expectExceptionMessage('You must set a category before setting the search parameters'); $this->_query->Keywords('php'); } @@ -294,10 +288,8 @@ public function testQueryExceptionCategoryMissing() */ public function testQueryExceptionCategoryInvalid() { - $this->setExpectedException( - 'ZendService\Amazon\Exception\RuntimeException', - 'The value you specified for SearchIndex is invalid.' - ); + $this->expectException(RuntimeException::class); + $this->expectExceptionMessage('The value you specified for SearchIndex is invalid.'); $this->_query->category('oops')->search(); } @@ -321,7 +313,7 @@ public function testQueryAsin() * @group Zend_Service * @group Zend_Service_Amazon */ -class Skip extends \PHPUnit_Framework_TestCase +class Skip extends TestCase { public function setUp() { diff --git a/tests/ZendService/Amazon/S3/OfflineTest.php b/tests/ZendService/Amazon/S3/OfflineTest.php index c4deece..20f38a4 100644 --- a/tests/ZendService/Amazon/S3/OfflineTest.php +++ b/tests/ZendService/Amazon/S3/OfflineTest.php @@ -10,6 +10,7 @@ namespace ZendServiceTest\Amazon\S3; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\S3\S3; /** @@ -20,7 +21,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_S3 */ -class OfflineTest extends \PHPUnit_Framework_TestCase +class OfflineTest extends TestCase { public function testThrottle() { diff --git a/tests/ZendService/Amazon/S3/OnlineTest.php b/tests/ZendService/Amazon/S3/OnlineTest.php index 3f70066..a0189f1 100644 --- a/tests/ZendService/Amazon/S3/OnlineTest.php +++ b/tests/ZendService/Amazon/S3/OnlineTest.php @@ -10,7 +10,10 @@ namespace ZendServiceTest\Amazon\S3; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\S3; +use ZendService\Amazon\S3\Exception\InvalidArgumentException; +use ZendService\Amazon\S3\Exception\RuntimeException; use Zend\Http\Response; /** @@ -21,7 +24,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_S3 */ -class OnlineTest extends \PHPUnit_Framework_TestCase +class OnlineTest extends TestCase { /** * Reference to Amazon service consumer object @@ -305,9 +308,8 @@ public function testPutNoFileException() { $filedir = __DIR__."/_files/"; - $this->setExpectedException( - 'ZendService\Amazon\S3\Exception\RuntimeException', - 'Cannot read file ' . $filedir."nosuchfile"); + $this->expectException(RuntimeException::class); + $this->expectExceptionMessage('Cannot read file ' . $filedir."nosuchfile"); $this->_amazon->putFile($filedir."nosuchfile", $this->_bucket."/zftestfile"); } @@ -382,66 +384,58 @@ public function testObjectEncoding() public function testCreateBucketWithBadName() { - $this->setExpectedException( - 'ZendService\Amazon\S3\Exception\InvalidArgumentException', - 'Bucket name "VERY.BAD.NAME" contains invalid characters'); + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage('Bucket name "VERY.BAD.NAME" contains invalid characters'); $this->_amazon->createBucket("VERY.BAD.NAME"); } public function testBucketAvailabilityWithBadName() { - $this->setExpectedException( - 'ZendService\Amazon\S3\Exception\InvalidArgumentException', - 'Bucket name "VERY.BAD.NAME" contains invalid characters'); + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage('Bucket name "VERY.BAD.NAME" contains invalid characters'); $this->_amazon->isBucketAvailable("VERY.BAD.NAME"); } public function testPutObjectWithBadName() { - $this->setExpectedException( - 'ZendService\Amazon\S3\Exception\InvalidArgumentException', - 'Bucket name "VERY.BAD.NAME" contains invalid characters'); + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage('Bucket name "VERY.BAD.NAME" contains invalid characters'); $this->_amazon->putObject("VERY.BAD.NAME/And It Gets Worse", "testdata"); } public function testGetObjectWithBadName() { - $this->setExpectedException( - 'ZendService\Amazon\S3\Exception\InvalidArgumentException', - 'Bucket name "VERY.BAD.NAME" contains invalid characters'); + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage('Bucket name "VERY.BAD.NAME" contains invalid characters'); $this->_amazon->getObject("VERY.BAD.NAME/And It Gets Worse"); } public function testGetInfoWithBadName() { - $this->setExpectedException( - 'ZendService\Amazon\S3\Exception\InvalidArgumentException', - 'Bucket name "VERY.BAD.NAME" contains invalid characters'); + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage('Bucket name "VERY.BAD.NAME" contains invalid characters'); $this->_amazon->getInfo("VERY.BAD.NAME/And It Gets Worse"); } public function testSetEndpointWithBadName() { - $this->setExpectedException( - 'ZendService\Amazon\S3\Exception\InvalidArgumentException', - 'Invalid endpoint supplied'); + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage('Invalid endpoint supplied'); $this->_amazon->setEndpoint("//"); } public function testBucketNameIsTooShort() { - $this->setExpectedException( - 'ZendService\Amazon\S3\Exception\InvalidArgumentException', - sprintf('Bucket name "%s" must be between 3 and 255 characters long', 'xx')); + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage(sprintf('Bucket name "%s" must be between 3 and 255 characters long', 'xx')); $this->_amazon->createBucket('xx'); } public function testBucketNameIsTooLong() { $bucketName = str_repeat('x', 256); - $this->setExpectedException( - 'ZendService\Amazon\S3\Exception\InvalidArgumentException', - sprintf('Bucket name "%s" must be between 3 and 255 characters long', $bucketName)); + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage(sprintf('Bucket name "%s" must be between 3 and 255 characters long', $bucketName)); $this->_amazon->createBucket($bucketName); } @@ -502,9 +496,8 @@ public function testCreateObjectSSL() */ public function testBucketIPMaskException() { - $this->setExpectedException( - 'ZendService\Amazon\S3\Exception\InvalidArgumentException', - 'Bucket name "127.0.0.1" cannot be an IP address'); + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage('Bucket name "127.0.0.1" cannot be an IP address'); $this->_amazon->createBucket("127.0.0.1"); } diff --git a/tests/ZendService/Amazon/S3/S3RestTest.php b/tests/ZendService/Amazon/S3/S3RestTest.php index a93da77..79f3bc8 100644 --- a/tests/ZendService/Amazon/S3/S3RestTest.php +++ b/tests/ZendService/Amazon/S3/S3RestTest.php @@ -11,7 +11,9 @@ namespace ZendServiceTest\Amazon\S3; use DateTime; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\S3\S3; +use ZendService\Amazon\S3\Exception\InvalidArgumentException; /** * @category Zend @@ -21,7 +23,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_S3 */ -class S3RestTest extends \PHPUnit_Framework_TestCase +class S3RestTest extends TestCase { /** * Reference to Amazon service consumer object @@ -212,7 +214,7 @@ public function testValidBucketName() */ public function testBucketNameShort() { - $this->setExpectedException('\ZendService\Amazon\S3\Exception\InvalidArgumentException'); + $this->expectException(InvalidArgumentException::class); $this->amazon->_validBucketName('ia'); } @@ -223,7 +225,7 @@ public function testBucketNameShort() */ public function testBucketNameLong() { - $this->setExpectedException('\ZendService\Amazon\S3\Exception\InvalidArgumentException'); + $this->expectException(InvalidArgumentException::class); $this->amazon->_validBucketName('iam.aninvalid.bucketname.because.iam.way.tooooooooooooooooo.long'); } @@ -234,7 +236,7 @@ public function testBucketNameLong() */ public function testBucketNameCapitalLetter() { - $this->setExpectedException('\ZendService\Amazon\S3\Exception\InvalidArgumentException'); + $this->expectException(InvalidArgumentException::class); $this->amazon->_validBucketName('iam.anInvalid.bucketname'); } @@ -245,7 +247,7 @@ public function testBucketNameCapitalLetter() */ public function testBucketNameIpAddress() { - $this->setExpectedException('\ZendService\Amazon\S3\Exception\InvalidArgumentException'); + $this->expectException(InvalidArgumentException::class); $this->amazon->_validBucketName('1.0.255.90'); } @@ -256,7 +258,7 @@ public function testBucketNameIpAddress() */ public function testBucketNameLabelEmtpy() { - $this->setExpectedException('\ZendService\Amazon\S3\Exception\InvalidArgumentException'); + $this->expectException(InvalidArgumentException::class); $this->amazon->_validBucketName('iam.aninvalid..empty.bucketname'); } @@ -267,7 +269,7 @@ public function testBucketNameLabelEmtpy() */ public function testBucketNameLabelDash() { - $this->setExpectedException('\ZendService\Amazon\S3\Exception\InvalidArgumentException'); + $this->expectException(InvalidArgumentException::class); $this->amazon->_validBucketName('iam.aninvalid.-bucketname'); } } diff --git a/tests/ZendService/Amazon/S3/StreamTest.php b/tests/ZendService/Amazon/S3/StreamTest.php index 7232dfe..56a29ac 100644 --- a/tests/ZendService/Amazon/S3/StreamTest.php +++ b/tests/ZendService/Amazon/S3/StreamTest.php @@ -10,6 +10,8 @@ namespace ZendServiceTest\Amazon\S3; +use PHPUnit\Framework\TestCase; + /** * @category Zend * @package Zend_Service_Amazon_S3 @@ -18,7 +20,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_S3 */ -class StreamTest extends \PHPUnit_Framework_TestCase +class StreamTest extends TestCase { /** * Sets up this test case diff --git a/tests/ZendService/Amazon/SimpleDb/OnlineTest.php b/tests/ZendService/Amazon/SimpleDb/OnlineTest.php index e2559c5..93df3c6 100644 --- a/tests/ZendService/Amazon/SimpleDb/OnlineTest.php +++ b/tests/ZendService/Amazon/SimpleDb/OnlineTest.php @@ -10,6 +10,7 @@ namespace ZendServiceTest\Amazon\SimpleDb; +use PHPUnit\Framework\TestCase; use ZendService\Amazon\SimpleDb; use ZendService\Amazon\SimpleDb\Exception; use Zend\Http\Client\Adapter\Socket; @@ -20,7 +21,7 @@ * @package ZendService\Amazon\SimpleDb * @subpackage UnitTests */ -class OnlineTest extends \PHPUnit_Framework_TestCase +class OnlineTest extends TestCase { /** * Reference to Amazon service consumer object diff --git a/tests/ZendService/Amazon/Sqs/OnlineTest.php b/tests/ZendService/Amazon/Sqs/OnlineTest.php index 3d66693..cc1a2c6 100644 --- a/tests/ZendService/Amazon/Sqs/OnlineTest.php +++ b/tests/ZendService/Amazon/Sqs/OnlineTest.php @@ -10,6 +10,8 @@ namespace ZendServiceTest\Amazon\Sqs; +use PHPUnit\Framework\TestCase; + /** * @category Zend * @package Zend_Service_Amazon @@ -18,7 +20,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_Sqs */ -class OnlineTest extends \PHPUnit_Framework_TestCase +class OnlineTest extends TestCase { /** * Reference to Amazon service consumer object From d089718f72cc8d58ad4b35563a7407ce871a3be6 Mon Sep 17 00:00:00 2001 From: Aleksei Khudiakov Date: Wed, 8 Mar 2017 14:00:31 +1000 Subject: [PATCH 06/14] Update travis config and introduce composer.json scripts --- .travis.yml | 67 ++++++++++++++++++++++++++++++++++++++++++++------- composer.json | 15 +++++++++++- 2 files changed, 72 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 002a702..ca1c3a0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,30 +5,79 @@ language: php cache: directories: - $HOME/.composer/cache + - $HOME/.local + - vendor + - zf-mkdoc-theme + +env: + global: + - COMPOSER_ARGS="--no-interaction" + - COVERAGE_DEPS="satooshi/php-coveralls" + - LEGACY_DEPS="phpunit/phpunit" matrix: - fast_finish: true include: - php: 5.6 env: - - EXECUTE_CS_CHECK=true - - php: 7.0 + - DEPS=lowest + - php: 5.6 + env: + - DEPS=locked + - TEST_COVERAGE=true + - php: 5.6 + env: + - DEPS=latest + - php: 7 + env: + - DEPS=lowest + - php: 7 + env: + - DEPS=locked + - CS_CHECK=true + - php: 7 + env: + - DEPS=latest + - php: 7.1 + env: + - DEPS=lowest - php: 7.1 + env: + - DEPS=locked + - php: 7.1 + env: + - DEPS=latest + - php: hhvm + env: + - DEPS=lowest - php: hhvm + env: + - DEPS=locked + - php: hhvm + env: + - DEPS=latest allow_failures: - php: hhvm before_install: - - phpenv config-rm xdebug.ini || return 0 - - composer self-update - - cp tests/TestConfiguration.php.travis tests/TestConfiguration.php + - if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi + - travis_retry composer self-update + - cp tests/TestConfiguration.php.travis tests/TestConfiguration.php install: - - travis_retry composer install --no-interaction --ignore-platform-reqs + - travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs + - if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi + - if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi + - if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi + - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi + - composer show -v script: - - ./vendor/bin/phpunit -c ./tests/ - - if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/php-cs-fixer fix -v --diff --dry-run ; fi + - if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi + - if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi + - if [[ $CS_CHECK == 'true' ]]; then composer license-check ; fi + +after_script: + - if [[ $TEST_COVERAGE == 'true' ]]; then composer upload-coverage ; fi notifications: irc: "irc.freenode.org#zftalk.dev" diff --git a/composer.json b/composer.json index cd19ef8..944aa8a 100644 --- a/composer.json +++ b/composer.json @@ -42,5 +42,18 @@ "branch-alias": { "dev-master": "2.0.x-dev" } - } + }, + "scripts": { + "check": [ + "@license-check", + "@cs-check", + "@test" + ], + "upload-coverage": "coveralls -v", + "cs-check": "php-cs-fixer fix -v --diff --dry-run", + "cs-fix": "php-cs-fixer fix -v --diff", + "test": "phpunit --colors=always -c ./tests", + "test-coverage": "phpunit --coverage-clover clover.xml -c ./tests", + "license-check": "true" +} } From ab8fc520530b62606dd3daf01de81946706a7dd4 Mon Sep 17 00:00:00 2001 From: Aleksei Khudiakov Date: Wed, 8 Mar 2017 14:46:37 +1000 Subject: [PATCH 07/14] Hax for travis to make composer show work --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ca1c3a0..d9fbd06 100644 --- a/.travis.yml +++ b/.travis.yml @@ -69,7 +69,8 @@ install: - if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi - if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi - if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi - - composer show -v + - stty cols 120 + - COLUMNS=120 composer show script: - if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi From cfdf50ba470515622a5b948b16d89383c28668ea Mon Sep 17 00:00:00 2001 From: Aleksei Khudiakov Date: Wed, 8 Mar 2017 14:58:48 +1000 Subject: [PATCH 08/14] Bump dependencies causing tests to fail at --prefer-lowest --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 944aa8a..55ea3fe 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ }, "require": { "php": "^5.6 || ^7.0", - "zendframework/zend-http": "~2.0", + "zendframework/zend-http": "^2.6", "zendframework/zendrest": "~2.0", "zendframework/zend-crypt": "~2.0 || ~3.0", "zendframework/zend-json": "~2.0 || ~3.0", From 2f841950b5a1ee6d11a7986feecf7cc38125249f Mon Sep 17 00:00:00 2001 From: Aleksei Khudiakov Date: Thu, 9 Mar 2017 06:50:47 +1000 Subject: [PATCH 09/14] Remove obsolete testing setup --- composer.json | 4 +-- phpunit.xml.dist | 19 +++++++++++ tests/Bootstrap.php | 72 ++++++++---------------------------------- tests/_autoload.php | 39 ----------------------- tests/phpunit.xml.dist | 13 -------- 5 files changed, 35 insertions(+), 112 deletions(-) create mode 100644 phpunit.xml.dist delete mode 100644 tests/_autoload.php delete mode 100644 tests/phpunit.xml.dist diff --git a/composer.json b/composer.json index 55ea3fe..9472ca5 100644 --- a/composer.json +++ b/composer.json @@ -52,8 +52,8 @@ "upload-coverage": "coveralls -v", "cs-check": "php-cs-fixer fix -v --diff --dry-run", "cs-fix": "php-cs-fixer fix -v --diff", - "test": "phpunit --colors=always -c ./tests", - "test-coverage": "phpunit --coverage-clover clover.xml -c ./tests", + "test": "phpunit --colors=always", + "test-coverage": "phpunit --coverage-clover clover.xml", "license-check": "true" } } diff --git a/phpunit.xml.dist b/phpunit.xml.dist new file mode 100644 index 0000000..855bc29 --- /dev/null +++ b/phpunit.xml.dist @@ -0,0 +1,19 @@ + + + + ./tests/ZendService + + + + + + disable + + + + + + ./library + + + diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php index a1e5920..60a129e 100644 --- a/tests/Bootstrap.php +++ b/tests/Bootstrap.php @@ -13,73 +13,29 @@ */ error_reporting(E_ALL | E_STRICT); -/* - * Determine the root, library, and tests directories of the framework - * distribution. - */ -$zfRoot = realpath(dirname(__DIR__)); -$zfCoreLibrary = "$zfRoot/library"; -$zfCoreTests = "$zfRoot/tests"; - -/* - * Prepend the Zend Framework library/ and tests/ directories to the - * include_path. This allows the tests to run out of the box and helps prevent - * loading other copies of the framework code and tests that would supersede - * this copy. - */ -$path = array( - $zfCoreLibrary, - $zfCoreTests, - get_include_path(), -); -set_include_path(implode(PATH_SEPARATOR, $path)); /** * Setup autoloading */ -include __DIR__ . '/_autoload.php'; +if (!file_exists(__DIR__ . '/../vendor/autoload.php')) { + throw new RuntimeException('This component has dependencies that are unmet. -/* - * Load the user-defined test configuration file, if it exists; otherwise, load - * the default configuration. - */ -if (is_readable($zfCoreTests . DIRECTORY_SEPARATOR . 'TestConfiguration.php')) { - require_once $zfCoreTests . DIRECTORY_SEPARATOR . 'TestConfiguration.php'; -} else { - require_once $zfCoreTests . DIRECTORY_SEPARATOR . 'TestConfiguration.php.dist'; -} +Please install composer (http://getcomposer.org), and run the following +command in the root of this project: -if (defined('TESTS_GENERATE_REPORT') && TESTS_GENERATE_REPORT === true) { - $codeCoverageFilter = PHP_CodeCoverage_Filter::getInstance(); + php /path/to/composer.phar install - $lastArg = end($_SERVER['argv']); - if (is_dir($zfCoreTests . '/' . $lastArg)) { - $codeCoverageFilter->addDirectoryToWhitelist($zfCoreLibrary . '/' . $lastArg); - } elseif (is_file($zfCoreTests . '/' . $lastArg)) { - $codeCoverageFilter->addDirectoryToWhitelist(dirname($zfCoreLibrary . '/' . $lastArg)); - } else { - $codeCoverageFilter->addDirectoryToWhitelist($zfCoreLibrary); - } - - /* - * Omit from code coverage reports the contents of the tests directory - */ - $codeCoverageFilter->addDirectoryToBlacklist($zfCoreTests, ''); - $codeCoverageFilter->addDirectoryToBlacklist(PEAR_INSTALL_DIR, ''); - $codeCoverageFilter->addDirectoryToBlacklist(PHP_LIBDIR, ''); - - unset($codeCoverageFilter); +After that, you should be able to run tests.'); } - -/** - * Start output buffering, if enabled - */ -if (defined('TESTS_ZEND_OB_ENABLED') && constant('TESTS_ZEND_OB_ENABLED')) { - ob_start(); -} +include_once __DIR__ . '/../vendor/autoload.php'; /* - * Unset global variables that are no longer needed. + * Load the user-defined test configuration file, if it exists; otherwise, load + * the default configuration. */ -unset($zfRoot, $zfCoreLibrary, $zfCoreTests, $path); +if (is_readable(__DIR__ . '/TestConfiguration.php')) { + require_once __DIR__ . '/TestConfiguration.php'; +} else { + require_once __DIR__ . '/TestConfiguration.php.dist'; +} diff --git a/tests/_autoload.php b/tests/_autoload.php deleted file mode 100644 index ba2cdfc..0000000 --- a/tests/_autoload.php +++ /dev/null @@ -1,39 +0,0 @@ - true, - Zend\Loader\StandardAutoloader::LOAD_NS => array( - 'ZendService' => __DIR__ . '/../library/ZendService' - ) - )); - $loader->register(); -} elseif (!file_exists(__DIR__ . '/../vendor/autoload.php')) { - throw new RuntimeException('This component has dependencies that are unmet. - -Please install composer (http://getcomposer.org), and run the following -command in the root of this project: - - php /path/to/composer.phar install - -After that, you should be able to run tests.'); -} else { - include_once __DIR__ . '/../vendor/autoload.php'; -} - - -spl_autoload_register(function ($class) { - if (0 !== strpos($class, 'ZendServiceTest\\')) { - return false; - } - $normalized = str_replace('ZendServiceTest\\', '', $class); - $filename = __DIR__ . '/ZendService/' . str_replace(array('\\', '_'), '/', $normalized) . '.php'; - if (!file_exists($filename)) { - return false; - } - return include_once $filename; -}); diff --git a/tests/phpunit.xml.dist b/tests/phpunit.xml.dist deleted file mode 100644 index aaec38c..0000000 --- a/tests/phpunit.xml.dist +++ /dev/null @@ -1,13 +0,0 @@ - - - - ./ZendService - - - - - - disable - - - From 57c686c519afcb7b8279b2f84ecd0896473e7c18 Mon Sep 17 00:00:00 2001 From: Aleksei Khudiakov Date: Fri, 10 Mar 2017 03:40:07 +1000 Subject: [PATCH 10/14] Apply phpunit 6 changes to S3\OfflineStreamTest --- tests/ZendService/Amazon/S3/OfflineStreamTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ZendService/Amazon/S3/OfflineStreamTest.php b/tests/ZendService/Amazon/S3/OfflineStreamTest.php index 35c2008..96a9b2a 100644 --- a/tests/ZendService/Amazon/S3/OfflineStreamTest.php +++ b/tests/ZendService/Amazon/S3/OfflineStreamTest.php @@ -10,6 +10,7 @@ namespace ZendServiceTest\Amazon\S3; +use PHPUnit\Framework\TestCase; use Zend\Http\Response; use ZendService\Amazon\S3; @@ -21,7 +22,7 @@ * @group Zend_Service_Amazon * @group Zend_Service_Amazon_S3 */ -class OfflineStreamTest extends \PHPUnit_Framework_TestCase +class OfflineStreamTest extends TestCase { /** * Setup a fake S3 object with a fake document inside it. Return the document From e06c4a2c1f0497bfbb52a442834b9e663019b9a6 Mon Sep 17 00:00:00 2001 From: Aleksei Khudiakov Date: Fri, 10 Mar 2017 04:15:08 +1000 Subject: [PATCH 11/14] Add missing coveralls config --- .coveralls.yml | 2 ++ .gitignore | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 .coveralls.yml diff --git a/.coveralls.yml b/.coveralls.yml new file mode 100644 index 0000000..bc71b62 --- /dev/null +++ b/.coveralls.yml @@ -0,0 +1,2 @@ +coverage_clover: clover.xml +json_path: coveralls-upload.json diff --git a/.gitignore b/.gitignore index 4fbd334..c79af33 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,6 @@ composer.phar .buildpath .project .settings/ +phpunit.xml +clover.xml +coveralls-upload.json From 8a4613deccfb94ec84768c393009d2a3bb748dcb Mon Sep 17 00:00:00 2001 From: Aleksei Khudiakov Date: Fri, 10 Mar 2017 08:20:39 +1000 Subject: [PATCH 12/14] Fix changelog typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05737f9..7155b16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,5 +26,5 @@ All notable changes to this project will be documented in this file, in reverse - [#49](https://github.com/zendframework/ZendService_Amazon/pull/49) fixed date format mismatch with signature in S3 - [#67](https://github.com/zendframework/ZendService_Amazon/pull/67) fixed - of-by-one bug in S3 stream that was truncating and corrupting data + off-by-one bug in S3 stream that was truncating and corrupting data From af64f8bbb2c2d71f65d81b4e84e8b5552e13d2fb Mon Sep 17 00:00:00 2001 From: Aleksei Khudiakov Date: Fri, 10 Mar 2017 08:22:12 +1000 Subject: [PATCH 13/14] Added date for 2.1.0 release to CHANGELOG --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7155b16..17c5020 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file, in reverse chronological order by release. -## 2.1.0 - TBD +## 2.1.0 - 2017-03-09 ### Added From d92d764274242b427c09400bfbd5d84b0b5278b1 Mon Sep 17 00:00:00 2001 From: Aleksei Khudiakov Date: Fri, 10 Mar 2017 08:33:32 +1000 Subject: [PATCH 14/14] Bump minimum versions for dependencies Update branch aliases --- .gitignore | 2 - composer.json | 9 +- composer.lock | 2598 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 2603 insertions(+), 6 deletions(-) create mode 100644 composer.lock diff --git a/.gitignore b/.gitignore index c79af33..20098af 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,4 @@ vendor/ -composer.lock -composer.phar .buildpath .project .settings/ diff --git a/composer.json b/composer.json index 9472ca5..797b376 100644 --- a/composer.json +++ b/composer.json @@ -26,9 +26,9 @@ "php": "^5.6 || ^7.0", "zendframework/zend-http": "^2.6", "zendframework/zendrest": "~2.0", - "zendframework/zend-crypt": "~2.0 || ~3.0", - "zendframework/zend-json": "~2.0 || ~3.0", - "zendframework/zendxml": "~1.0-dev" + "zendframework/zend-crypt": "^2.6 || ^3.2", + "zendframework/zend-json": "^2.6 || ^3.0", + "zendframework/zendxml": "^1.0" }, "require-dev": { "fabpot/php-cs-fixer": "~1.7.0", @@ -40,7 +40,8 @@ }, "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "2.1.x-dev", + "dev-develop": "2.2.x-dev" } }, "scripts": { diff --git a/composer.lock b/composer.lock new file mode 100644 index 0000000..cd4d0e5 --- /dev/null +++ b/composer.lock @@ -0,0 +1,2598 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "This file is @generated automatically" + ], + "content-hash": "d9d8bed0e2f038786d8aa72790136859", + "packages": [ + { + "name": "container-interop/container-interop", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/container-interop/container-interop.git", + "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8", + "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8", + "shasum": "" + }, + "require": { + "psr/container": "^1.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Interop\\Container\\": "src/Interop/Container/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Promoting the interoperability of container objects (DIC, SL, etc.)", + "homepage": "https://github.com/container-interop/container-interop", + "time": "2017-02-14T19:40:03+00:00" + }, + { + "name": "paragonie/random_compat", + "version": "v2.0.9", + "source": { + "type": "git", + "url": "https://github.com/paragonie/random_compat.git", + "reference": "6968531206671f94377b01dc7888d5d1b858a01b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/6968531206671f94377b01dc7888d5d1b858a01b", + "reference": "6968531206671f94377b01dc7888d5d1b858a01b", + "shasum": "" + }, + "require": { + "php": ">=5.2.0" + }, + "require-dev": { + "phpunit/phpunit": "4.*|5.*" + }, + "suggest": { + "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." + }, + "type": "library", + "autoload": { + "files": [ + "lib/random.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com", + "homepage": "https://paragonie.com" + } + ], + "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", + "keywords": [ + "csprng", + "pseudorandom", + "random" + ], + "time": "2017-03-03T20:43:42+00:00" + }, + { + "name": "psr/container", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "time": "2017-02-14T16:28:37+00:00" + }, + { + "name": "zendframework/zend-crypt", + "version": "3.2.0", + "source": { + "type": "git", + "url": "https://github.com/zendframework/zend-crypt.git", + "reference": "274cdcb77a2165d6aff36b606e9d1c687ba9386c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zendframework/zend-crypt/zipball/274cdcb77a2165d6aff36b606e9d1c687ba9386c", + "reference": "274cdcb77a2165d6aff36b606e9d1c687ba9386c", + "shasum": "" + }, + "require": { + "container-interop/container-interop": "~1.0", + "ext-mbstring": "*", + "php": "^5.6 || ^7.0", + "zendframework/zend-math": "^3.0", + "zendframework/zend-stdlib": "^2.7 || ^3.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.6.7", + "squizlabs/php_codesniffer": "^2.3.1" + }, + "suggest": { + "ext-openssl": "Required for most features of Zend\\Crypt" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev", + "dev-develop": "3.2-dev" + } + }, + "autoload": { + "psr-4": { + "Zend\\Crypt\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "homepage": "https://github.com/zendframework/zend-crypt", + "keywords": [ + "crypt", + "zf2" + ], + "time": "2016-12-06T15:33:37+00:00" + }, + { + "name": "zendframework/zend-escaper", + "version": "2.5.2", + "source": { + "type": "git", + "url": "https://github.com/zendframework/zend-escaper.git", + "reference": "2dcd14b61a72d8b8e27d579c6344e12c26141d4e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zendframework/zend-escaper/zipball/2dcd14b61a72d8b8e27d579c6344e12c26141d4e", + "reference": "2dcd14b61a72d8b8e27d579c6344e12c26141d4e", + "shasum": "" + }, + "require": { + "php": ">=5.5" + }, + "require-dev": { + "fabpot/php-cs-fixer": "1.7.*", + "phpunit/phpunit": "~4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.5-dev", + "dev-develop": "2.6-dev" + } + }, + "autoload": { + "psr-4": { + "Zend\\Escaper\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "homepage": "https://github.com/zendframework/zend-escaper", + "keywords": [ + "escaper", + "zf2" + ], + "time": "2016-06-30T19:48:38+00:00" + }, + { + "name": "zendframework/zend-http", + "version": "2.6.0", + "source": { + "type": "git", + "url": "https://github.com/zendframework/zend-http.git", + "reference": "09f4d279f46d86be63171ff62ee0f79eca878678" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zendframework/zend-http/zipball/09f4d279f46d86be63171ff62ee0f79eca878678", + "reference": "09f4d279f46d86be63171ff62ee0f79eca878678", + "shasum": "" + }, + "require": { + "php": "^5.5 || ^7.0", + "zendframework/zend-loader": "^2.5", + "zendframework/zend-stdlib": "^2.5 || ^3.0", + "zendframework/zend-uri": "^2.5", + "zendframework/zend-validator": "^2.5" + }, + "require-dev": { + "phpunit/phpunit": "^4.0", + "zendframework/zend-coding-standard": "~1.0.0", + "zendframework/zend-config": "^2.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.6-dev", + "dev-develop": "2.7-dev" + } + }, + "autoload": { + "psr-4": { + "Zend\\Http\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "provides an easy interface for performing Hyper-Text Transfer Protocol (HTTP) requests", + "homepage": "https://github.com/zendframework/zend-http", + "keywords": [ + "http", + "zf2" + ], + "time": "2017-01-31T14:41:02+00:00" + }, + { + "name": "zendframework/zend-json", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/zendframework/zend-json.git", + "reference": "f42a1588e75c2a3e338cd94c37906231e616daab" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zendframework/zend-json/zipball/f42a1588e75c2a3e338cd94c37906231e616daab", + "reference": "f42a1588e75c2a3e338cd94c37906231e616daab", + "shasum": "" + }, + "require": { + "php": "^5.5 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0", + "squizlabs/php_codesniffer": "^2.3", + "zendframework/zend-stdlib": "^2.7 || ^3.0" + }, + "suggest": { + "zendframework/zend-json-server": "For implementing JSON-RPC servers", + "zendframework/zend-xml2json": "For converting XML documents to JSON" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev", + "dev-develop": "3.1-dev" + } + }, + "autoload": { + "psr-4": { + "Zend\\Json\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "provides convenience methods for serializing native PHP to JSON and decoding JSON to native PHP", + "homepage": "https://github.com/zendframework/zend-json", + "keywords": [ + "json", + "zf2" + ], + "time": "2016-04-01T02:34:00+00:00" + }, + { + "name": "zendframework/zend-loader", + "version": "2.5.1", + "source": { + "type": "git", + "url": "https://github.com/zendframework/zend-loader.git", + "reference": "c5fd2f071bde071f4363def7dea8dec7393e135c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zendframework/zend-loader/zipball/c5fd2f071bde071f4363def7dea8dec7393e135c", + "reference": "c5fd2f071bde071f4363def7dea8dec7393e135c", + "shasum": "" + }, + "require": { + "php": ">=5.3.23" + }, + "require-dev": { + "fabpot/php-cs-fixer": "1.7.*", + "phpunit/phpunit": "~4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.5-dev", + "dev-develop": "2.6-dev" + } + }, + "autoload": { + "psr-4": { + "Zend\\Loader\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "homepage": "https://github.com/zendframework/zend-loader", + "keywords": [ + "loader", + "zf2" + ], + "time": "2015-06-03T14:05:47+00:00" + }, + { + "name": "zendframework/zend-math", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/zendframework/zend-math.git", + "reference": "fda3b4e6c3bb15c35adc6db38b2eacabaa243e65" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zendframework/zend-math/zipball/fda3b4e6c3bb15c35adc6db38b2eacabaa243e65", + "reference": "fda3b4e6c3bb15c35adc6db38b2eacabaa243e65", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "paragonie/random_compat": "^2.0.2", + "php": "^5.5 || ^7.0" + }, + "require-dev": { + "fabpot/php-cs-fixer": "1.7.*", + "phpunit/phpunit": "~4.0" + }, + "suggest": { + "ext-bcmath": "If using the bcmath functionality", + "ext-gmp": "If using the gmp functionality" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev", + "dev-develop": "3.1-dev" + } + }, + "autoload": { + "psr-4": { + "Zend\\Math\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "homepage": "https://github.com/zendframework/zend-math", + "keywords": [ + "math", + "zf2" + ], + "time": "2016-04-28T17:37:42+00:00" + }, + { + "name": "zendframework/zend-stdlib", + "version": "3.1.0", + "source": { + "type": "git", + "url": "https://github.com/zendframework/zend-stdlib.git", + "reference": "debedcfc373a293f9250cc9aa03cf121428c8e78" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zendframework/zend-stdlib/zipball/debedcfc373a293f9250cc9aa03cf121428c8e78", + "reference": "debedcfc373a293f9250cc9aa03cf121428c8e78", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0" + }, + "require-dev": { + "athletic/athletic": "~0.1", + "phpunit/phpunit": "~4.0", + "squizlabs/php_codesniffer": "^2.6.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev", + "dev-develop": "3.2-dev" + } + }, + "autoload": { + "psr-4": { + "Zend\\Stdlib\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "homepage": "https://github.com/zendframework/zend-stdlib", + "keywords": [ + "stdlib", + "zf2" + ], + "time": "2016-09-13T14:38:50+00:00" + }, + { + "name": "zendframework/zend-uri", + "version": "2.5.2", + "source": { + "type": "git", + "url": "https://github.com/zendframework/zend-uri.git", + "reference": "0bf717a239432b1a1675ae314f7c4acd742749ed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zendframework/zend-uri/zipball/0bf717a239432b1a1675ae314f7c4acd742749ed", + "reference": "0bf717a239432b1a1675ae314f7c4acd742749ed", + "shasum": "" + }, + "require": { + "php": "^5.5 || ^7.0", + "zendframework/zend-escaper": "^2.5", + "zendframework/zend-validator": "^2.5" + }, + "require-dev": { + "fabpot/php-cs-fixer": "1.7.*", + "phpunit/phpunit": "~4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.5-dev", + "dev-develop": "2.6-dev" + } + }, + "autoload": { + "psr-4": { + "Zend\\Uri\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "a component that aids in manipulating and validating » Uniform Resource Identifiers (URIs)", + "homepage": "https://github.com/zendframework/zend-uri", + "keywords": [ + "uri", + "zf2" + ], + "time": "2016-02-17T22:38:51+00:00" + }, + { + "name": "zendframework/zend-validator", + "version": "2.8.2", + "source": { + "type": "git", + "url": "https://github.com/zendframework/zend-validator.git", + "reference": "99b528e01276054458da9553b587cfb959dfa436" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zendframework/zend-validator/zipball/99b528e01276054458da9553b587cfb959dfa436", + "reference": "99b528e01276054458da9553b587cfb959dfa436", + "shasum": "" + }, + "require": { + "container-interop/container-interop": "^1.1", + "php": "^5.5 || ^7.0", + "zendframework/zend-stdlib": "^2.7 || ^3.0" + }, + "require-dev": { + "fabpot/php-cs-fixer": "1.7.*", + "phpunit/phpunit": "^4.0", + "zendframework/zend-cache": "^2.6.1", + "zendframework/zend-config": "^2.6", + "zendframework/zend-db": "^2.7", + "zendframework/zend-filter": "^2.6", + "zendframework/zend-http": "^2.5.4", + "zendframework/zend-i18n": "^2.6", + "zendframework/zend-math": "^2.6", + "zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3", + "zendframework/zend-session": "^2.6.2", + "zendframework/zend-uri": "^2.5" + }, + "suggest": { + "zendframework/zend-db": "Zend\\Db component", + "zendframework/zend-filter": "Zend\\Filter component, required by the Digits validator", + "zendframework/zend-i18n": "Zend\\I18n component to allow translation of validation error messages as well as to use the various Date validators", + "zendframework/zend-i18n-resources": "Translations of validator messages", + "zendframework/zend-math": "Zend\\Math component", + "zendframework/zend-servicemanager": "Zend\\ServiceManager component to allow using the ValidatorPluginManager and validator chains", + "zendframework/zend-session": "Zend\\Session component", + "zendframework/zend-uri": "Zend\\Uri component, required by the Uri and Sitemap\\Loc validators" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.8-dev", + "dev-develop": "2.9-dev" + }, + "zf": { + "component": "Zend\\Validator", + "config-provider": "Zend\\Validator\\ConfigProvider" + } + }, + "autoload": { + "psr-4": { + "Zend\\Validator\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "provides a set of commonly needed validators", + "homepage": "https://github.com/zendframework/zend-validator", + "keywords": [ + "validator", + "zf2" + ], + "time": "2017-01-29T17:24:24+00:00" + }, + { + "name": "zendframework/zendrest", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/zendframework/ZendRest.git", + "reference": "7427d242b4546e5aef1206d2c97e402109d8843e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zendframework/ZendRest/zipball/7427d242b4546e5aef1206d2c97e402109d8843e", + "reference": "7427d242b4546e5aef1206d2c97e402109d8843e", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "zendframework/zend-http": "~2.0", + "zendframework/zend-uri": "~2.0", + "zendframework/zendxml": "~1.0-dev" + }, + "type": "library", + "autoload": { + "psr-0": { + "ZendRest": "library/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "homepage": "http://packages.zendframework.com/", + "keywords": [ + "rest", + "zf2" + ], + "time": "2014-03-05T22:32:09+00:00" + }, + { + "name": "zendframework/zendxml", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/zendframework/ZendXml.git", + "reference": "7b64507bc35d841c9c5802d67f6f87ef8e1a58c9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zendframework/ZendXml/zipball/7b64507bc35d841c9c5802d67f6f87ef8e1a58c9", + "reference": "7b64507bc35d841c9c5802d67f6f87ef8e1a58c9", + "shasum": "" + }, + "require": { + "php": "^5.3.3 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^3.7 || ^4.0", + "squizlabs/php_codesniffer": "^1.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-0": { + "ZendXml\\": "library/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Utility library for XML usage, best practices, and security in PHP", + "homepage": "http://packages.zendframework.com/", + "keywords": [ + "security", + "xml", + "zf2" + ], + "time": "2016-02-04T21:02:08+00:00" + } + ], + "packages-dev": [ + { + "name": "doctrine/instantiator", + "version": "1.0.5", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d", + "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d", + "shasum": "" + }, + "require": { + "php": ">=5.3,<8.0-DEV" + }, + "require-dev": { + "athletic/athletic": "~0.1.8", + "ext-pdo": "*", + "ext-phar": "*", + "phpunit/phpunit": "~4.0", + "squizlabs/php_codesniffer": "~2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "http://ocramius.github.com/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://github.com/doctrine/instantiator", + "keywords": [ + "constructor", + "instantiate" + ], + "time": "2015-06-14T21:17:01+00:00" + }, + { + "name": "fabpot/php-cs-fixer", + "version": "v1.7.1", + "source": { + "type": "git", + "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", + "reference": "8785276c44a36ca5235a3b6133e3ffbe989ee431" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/8785276c44a36ca5235a3b6133e3ffbe989ee431", + "reference": "8785276c44a36ca5235a3b6133e3ffbe989ee431", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=5.3.6", + "sebastian/diff": "~1.1", + "symfony/console": "~2.3", + "symfony/event-dispatcher": "~2.1", + "symfony/filesystem": "~2.1", + "symfony/finder": "~2.1", + "symfony/process": "~2.3", + "symfony/stopwatch": "~2.5" + }, + "require-dev": { + "satooshi/php-coveralls": "0.7.*@dev" + }, + "bin": [ + "php-cs-fixer" + ], + "type": "application", + "autoload": { + "psr-4": { + "Symfony\\CS\\": "Symfony/CS/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Dariusz Rumiński", + "email": "dariusz.ruminski@gmail.com" + }, + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + } + ], + "description": "A script to automatically fix Symfony Coding Standard", + "abandoned": "friendsofphp/php-cs-fixer", + "time": "2015-05-04T16:56:09+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.6.0", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "5a5a9fc8025a08d8919be87d6884d5a92520cefe" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/5a5a9fc8025a08d8919be87d6884d5a92520cefe", + "reference": "5a5a9fc8025a08d8919be87d6884d5a92520cefe", + "shasum": "" + }, + "require": { + "php": ">=5.4.0" + }, + "require-dev": { + "doctrine/collections": "1.*", + "phpunit/phpunit": "~4.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Create deep copies (clones) of your objects", + "homepage": "https://github.com/myclabs/DeepCopy", + "keywords": [ + "clone", + "copy", + "duplicate", + "object", + "object graph" + ], + "time": "2017-01-26T22:05:40+00:00" + }, + { + "name": "phpdocumentor/reflection-common", + "version": "1.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c", + "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c", + "shasum": "" + }, + "require": { + "php": ">=5.5" + }, + "require-dev": { + "phpunit/phpunit": "^4.6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jaap van Otterdijk", + "email": "opensource@ijaap.nl" + } + ], + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", + "homepage": "http://www.phpdoc.org", + "keywords": [ + "FQSEN", + "phpDocumentor", + "phpdoc", + "reflection", + "static analysis" + ], + "time": "2015-12-27T11:43:31+00:00" + }, + { + "name": "phpdocumentor/reflection-docblock", + "version": "3.1.1", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e", + "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e", + "shasum": "" + }, + "require": { + "php": ">=5.5", + "phpdocumentor/reflection-common": "^1.0@dev", + "phpdocumentor/type-resolver": "^0.2.0", + "webmozart/assert": "^1.0" + }, + "require-dev": { + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "^4.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "time": "2016-09-30T07:12:33+00:00" + }, + { + "name": "phpdocumentor/type-resolver", + "version": "0.2.1", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", + "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", + "shasum": "" + }, + "require": { + "php": ">=5.5", + "phpdocumentor/reflection-common": "^1.0" + }, + "require-dev": { + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "^5.2||^4.8.24" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "time": "2016-11-25T06:54:22+00:00" + }, + { + "name": "phpspec/prophecy", + "version": "v1.7.0", + "source": { + "type": "git", + "url": "https://github.com/phpspec/prophecy.git", + "reference": "93d39f1f7f9326d746203c7c056f300f7f126073" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073", + "reference": "93d39f1f7f9326d746203c7c056f300f7f126073", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.0.2", + "php": "^5.3|^7.0", + "phpdocumentor/reflection-docblock": "^2.0|^3.0.2", + "sebastian/comparator": "^1.1|^2.0", + "sebastian/recursion-context": "^1.0|^2.0|^3.0" + }, + "require-dev": { + "phpspec/phpspec": "^2.5|^3.2", + "phpunit/phpunit": "^4.8 || ^5.6.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.6.x-dev" + } + }, + "autoload": { + "psr-0": { + "Prophecy\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Konstantin Kudryashov", + "email": "ever.zet@gmail.com", + "homepage": "http://everzet.com" + }, + { + "name": "Marcello Duarte", + "email": "marcello.duarte@gmail.com" + } + ], + "description": "Highly opinionated mocking framework for PHP 5.3+", + "homepage": "https://github.com/phpspec/prophecy", + "keywords": [ + "Double", + "Dummy", + "fake", + "mock", + "spy", + "stub" + ], + "time": "2017-03-02T20:05:34+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "4.0.7", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "09e2277d14ea467e5a984010f501343ef29ffc69" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/09e2277d14ea467e5a984010f501343ef29ffc69", + "reference": "09e2277d14ea467e5a984010f501343ef29ffc69", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-xmlwriter": "*", + "php": "^5.6 || ^7.0", + "phpunit/php-file-iterator": "^1.3", + "phpunit/php-text-template": "^1.2", + "phpunit/php-token-stream": "^1.4.2 || ^2.0", + "sebastian/code-unit-reverse-lookup": "^1.0", + "sebastian/environment": "^1.3.2 || ^2.0", + "sebastian/version": "^1.0 || ^2.0" + }, + "require-dev": { + "ext-xdebug": "^2.1.4", + "phpunit/phpunit": "^5.7" + }, + "suggest": { + "ext-xdebug": "^2.5.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "time": "2017-03-01T09:12:17+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "1.4.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5", + "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "time": "2016-10-03T07:40:28+00:00" + }, + { + "name": "phpunit/php-text-template", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686", + "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "time": "2015-06-21T13:50:34+00:00" + }, + { + "name": "phpunit/php-timer", + "version": "1.0.9", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", + "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", + "shasum": "" + }, + "require": { + "php": "^5.3.3 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "time": "2017-02-26T11:10:40+00:00" + }, + { + "name": "phpunit/php-token-stream", + "version": "1.4.11", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-token-stream.git", + "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7", + "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Wrapper around PHP's tokenizer extension.", + "homepage": "https://github.com/sebastianbergmann/php-token-stream/", + "keywords": [ + "tokenizer" + ], + "time": "2017-02-27T10:12:30+00:00" + }, + { + "name": "phpunit/phpunit", + "version": "5.7.15", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "b99112aecc01f62acf3d81a3f59646700a1849e5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b99112aecc01f62acf3d81a3f59646700a1849e5", + "reference": "b99112aecc01f62acf3d81a3f59646700a1849e5", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "myclabs/deep-copy": "~1.3", + "php": "^5.6 || ^7.0", + "phpspec/prophecy": "^1.6.2", + "phpunit/php-code-coverage": "^4.0.4", + "phpunit/php-file-iterator": "~1.4", + "phpunit/php-text-template": "~1.2", + "phpunit/php-timer": "^1.0.6", + "phpunit/phpunit-mock-objects": "^3.2", + "sebastian/comparator": "^1.2.4", + "sebastian/diff": "~1.2", + "sebastian/environment": "^1.3.4 || ^2.0", + "sebastian/exporter": "~2.0", + "sebastian/global-state": "^1.1", + "sebastian/object-enumerator": "~2.0", + "sebastian/resource-operations": "~1.0", + "sebastian/version": "~1.0.3|~2.0", + "symfony/yaml": "~2.1|~3.0" + }, + "conflict": { + "phpdocumentor/reflection-docblock": "3.0.2" + }, + "require-dev": { + "ext-pdo": "*" + }, + "suggest": { + "ext-xdebug": "*", + "phpunit/php-invoker": "~1.1" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.7.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "time": "2017-03-02T15:22:43+00:00" + }, + { + "name": "phpunit/phpunit-mock-objects", + "version": "3.4.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", + "reference": "3ab72b65b39b491e0c011e2e09bb2206c2aa8e24" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/3ab72b65b39b491e0c011e2e09bb2206c2aa8e24", + "reference": "3ab72b65b39b491e0c011e2e09bb2206c2aa8e24", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.0.2", + "php": "^5.6 || ^7.0", + "phpunit/php-text-template": "^1.2", + "sebastian/exporter": "^1.2 || ^2.0" + }, + "conflict": { + "phpunit/phpunit": "<5.4.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.4" + }, + "suggest": { + "ext-soap": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.2.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "description": "Mock Object library for PHPUnit", + "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", + "keywords": [ + "mock", + "xunit" + ], + "time": "2016-12-08T20:27:08+00:00" + }, + { + "name": "psr/log", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", + "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "time": "2016-10-10T12:19:37+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18", + "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.7 || ^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "time": "2017-03-04T06:30:41+00:00" + }, + { + "name": "sebastian/comparator", + "version": "1.2.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", + "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "sebastian/diff": "~1.2", + "sebastian/exporter": "~1.2 || ~2.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "http://www.github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "time": "2017-01-29T09:50:25+00:00" + }, + { + "name": "sebastian/diff", + "version": "1.4.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e", + "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff" + ], + "time": "2015-12-08T07:14:41+00:00" + }, + { + "name": "sebastian/environment", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5795ffe5dc5b02460c3e34222fee8cbe245d8fac", + "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "http://www.github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "time": "2016-11-26T07:53:53+00:00" + }, + { + "name": "sebastian/exporter", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4", + "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "sebastian/recursion-context": "~2.0" + }, + "require-dev": { + "ext-mbstring": "*", + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "http://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "time": "2016-11-19T08:54:04+00:00" + }, + { + "name": "sebastian/global-state", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4", + "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.2" + }, + "suggest": { + "ext-uopz": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "time": "2015-10-12T03:26:01+00:00" + }, + { + "name": "sebastian/object-enumerator", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/1311872ac850040a79c3c058bea3e22d0f09cbb7", + "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7", + "shasum": "" + }, + "require": { + "php": ">=5.6", + "sebastian/recursion-context": "~2.0" + }, + "require-dev": { + "phpunit/phpunit": "~5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "time": "2017-02-18T15:18:39+00:00" + }, + { + "name": "sebastian/recursion-context", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/2c3ba150cbec723aa057506e73a8d33bdb286c9a", + "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "time": "2016-11-19T07:33:16+00:00" + }, + { + "name": "sebastian/resource-operations", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", + "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", + "shasum": "" + }, + "require": { + "php": ">=5.6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "time": "2015-07-28T20:34:47+00:00" + }, + { + "name": "sebastian/version", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019", + "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "time": "2016-10-03T07:35:21+00:00" + }, + { + "name": "symfony/console", + "version": "v2.8.18", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "81508e6fac4476771275a3f4f53c3fee9b956bfa" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/81508e6fac4476771275a3f4f53c3fee9b956bfa", + "reference": "81508e6fac4476771275a3f4f53c3fee9b956bfa", + "shasum": "" + }, + "require": { + "php": ">=5.3.9", + "symfony/debug": "^2.7.2|~3.0.0", + "symfony/polyfill-mbstring": "~1.0" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/event-dispatcher": "~2.1|~3.0.0", + "symfony/process": "~2.1|~3.0.0" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/process": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.8-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Console Component", + "homepage": "https://symfony.com", + "time": "2017-03-04T11:00:12+00:00" + }, + { + "name": "symfony/debug", + "version": "v3.0.9", + "source": { + "type": "git", + "url": "https://github.com/symfony/debug.git", + "reference": "697c527acd9ea1b2d3efac34d9806bf255278b0a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/debug/zipball/697c527acd9ea1b2d3efac34d9806bf255278b0a", + "reference": "697c527acd9ea1b2d3efac34d9806bf255278b0a", + "shasum": "" + }, + "require": { + "php": ">=5.5.9", + "psr/log": "~1.0" + }, + "conflict": { + "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" + }, + "require-dev": { + "symfony/class-loader": "~2.8|~3.0", + "symfony/http-kernel": "~2.8|~3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Debug\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Debug Component", + "homepage": "https://symfony.com", + "time": "2016-07-30T07:22:48+00:00" + }, + { + "name": "symfony/event-dispatcher", + "version": "v2.8.18", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "bb4ec47e8e109c1c1172145732d0aa468d967cd0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/bb4ec47e8e109c1c1172145732d0aa468d967cd0", + "reference": "bb4ec47e8e109c1c1172145732d0aa468d967cd0", + "shasum": "" + }, + "require": { + "php": ">=5.3.9" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "^2.0.5|~3.0.0", + "symfony/dependency-injection": "~2.6|~3.0.0", + "symfony/expression-language": "~2.6|~3.0.0", + "symfony/stopwatch": "~2.3|~3.0.0" + }, + "suggest": { + "symfony/dependency-injection": "", + "symfony/http-kernel": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.8-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\EventDispatcher\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony EventDispatcher Component", + "homepage": "https://symfony.com", + "time": "2017-02-21T08:33:48+00:00" + }, + { + "name": "symfony/filesystem", + "version": "v2.8.18", + "source": { + "type": "git", + "url": "https://github.com/symfony/filesystem.git", + "reference": "e542d4765092d22552b1bf01ddccfb01d98ee325" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/e542d4765092d22552b1bf01ddccfb01d98ee325", + "reference": "e542d4765092d22552b1bf01ddccfb01d98ee325", + "shasum": "" + }, + "require": { + "php": ">=5.3.9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.8-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Filesystem\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Filesystem Component", + "homepage": "https://symfony.com", + "time": "2017-02-18T17:06:33+00:00" + }, + { + "name": "symfony/finder", + "version": "v2.8.18", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "5fc4b5cab38b9d28be318fcffd8066988e7d9451" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/5fc4b5cab38b9d28be318fcffd8066988e7d9451", + "reference": "5fc4b5cab38b9d28be318fcffd8066988e7d9451", + "shasum": "" + }, + "require": { + "php": ">=5.3.9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.8-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Finder Component", + "homepage": "https://symfony.com", + "time": "2017-02-21T08:33:48+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.3.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4", + "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "time": "2016-11-14T01:06:16+00:00" + }, + { + "name": "symfony/process", + "version": "v2.8.18", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "41336b20b52f5fd5b42a227e394e673c8071118f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/41336b20b52f5fd5b42a227e394e673c8071118f", + "reference": "41336b20b52f5fd5b42a227e394e673c8071118f", + "shasum": "" + }, + "require": { + "php": ">=5.3.9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.8-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Process Component", + "homepage": "https://symfony.com", + "time": "2017-03-04T12:20:59+00:00" + }, + { + "name": "symfony/stopwatch", + "version": "v2.8.18", + "source": { + "type": "git", + "url": "https://github.com/symfony/stopwatch.git", + "reference": "9e4369666d02ee9b8830da878b7f6a769eb96f4b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/9e4369666d02ee9b8830da878b7f6a769eb96f4b", + "reference": "9e4369666d02ee9b8830da878b7f6a769eb96f4b", + "shasum": "" + }, + "require": { + "php": ">=5.3.9" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.8-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Stopwatch\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Stopwatch Component", + "homepage": "https://symfony.com", + "time": "2017-02-18T17:06:33+00:00" + }, + { + "name": "symfony/yaml", + "version": "v3.2.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "093e416ad096355149e265ea2e4cc1f9ee40ab1a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/093e416ad096355149e265ea2e4cc1f9ee40ab1a", + "reference": "093e416ad096355149e265ea2e4cc1f9ee40ab1a", + "shasum": "" + }, + "require": { + "php": ">=5.5.9" + }, + "require-dev": { + "symfony/console": "~2.8|~3.0" + }, + "suggest": { + "symfony/console": "For validating YAML files using the lint command" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.2-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Yaml Component", + "homepage": "https://symfony.com", + "time": "2017-03-07T16:47:02+00:00" + }, + { + "name": "webmozart/assert", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/webmozart/assert.git", + "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f", + "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f", + "shasum": "" + }, + "require": { + "php": "^5.3.3 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.6", + "sebastian/version": "^1.0.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "time": "2016-11-23T20:04:58+00:00" + }, + { + "name": "zendframework/zend-i18n", + "version": "2.7.3", + "source": { + "type": "git", + "url": "https://github.com/zendframework/zend-i18n.git", + "reference": "b2db0d8246a865c659f93199f90f5fc2cd2f3cd8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zendframework/zend-i18n/zipball/b2db0d8246a865c659f93199f90f5fc2cd2f3cd8", + "reference": "b2db0d8246a865c659f93199f90f5fc2cd2f3cd8", + "shasum": "" + }, + "require": { + "php": "^5.5 || ^7.0", + "zendframework/zend-stdlib": "^2.7 || ^3.0" + }, + "require-dev": { + "fabpot/php-cs-fixer": "1.7.*", + "phpunit/phpunit": "~4.0", + "zendframework/zend-cache": "^2.6.1", + "zendframework/zend-config": "^2.6", + "zendframework/zend-eventmanager": "^2.6.2 || ^3.0", + "zendframework/zend-filter": "^2.6.1", + "zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3", + "zendframework/zend-validator": "^2.6", + "zendframework/zend-view": "^2.6.3" + }, + "suggest": { + "ext-intl": "Required for most features of Zend\\I18n; included in default builds of PHP", + "zendframework/zend-cache": "Zend\\Cache component", + "zendframework/zend-config": "Zend\\Config component", + "zendframework/zend-eventmanager": "You should install this package to use the events in the translator", + "zendframework/zend-filter": "You should install this package to use the provided filters", + "zendframework/zend-i18n-resources": "Translation resources", + "zendframework/zend-servicemanager": "Zend\\ServiceManager component", + "zendframework/zend-validator": "You should install this package to use the provided validators", + "zendframework/zend-view": "You should install this package to use the provided view helpers" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.7-dev", + "dev-develop": "2.8-dev" + }, + "zf": { + "component": "Zend\\I18n", + "config-provider": "Zend\\I18n\\ConfigProvider" + } + }, + "autoload": { + "psr-4": { + "Zend\\I18n\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "homepage": "https://github.com/zendframework/zend-i18n", + "keywords": [ + "i18n", + "zf2" + ], + "time": "2016-06-07T21:08:30+00:00" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": { + "php": "^5.6 || ^7.0" + }, + "platform-dev": [] +}