diff --git a/Classes/Domain/Api/Client/Solr/Core.php b/Classes/Domain/Api/Client/Solr/Core.php index ee0bf51..2c3dc0c 100644 --- a/Classes/Domain/Api/Client/Solr/Core.php +++ b/Classes/Domain/Api/Client/Solr/Core.php @@ -46,6 +46,11 @@ class Core */ protected $solrVersion; + /** + * @var string (e.g. ext-6.1) + */ + protected $variant; + /** * @var string (e.g. typo3) */ @@ -85,12 +90,13 @@ class Core * @param null $password * @param string $host */ - public function __construct($name, $system = 'typo3', $schema = 'english', $solrVersion = '4.8', $id = null, \DateTime $createdAt = null, \DateTime $updateAt = null, $userId = null, $isActivated = false, $internalName = null, $password = null, $host = '') + public function __construct($name, $system = 'typo3', $schema = 'english', $solrVersion = '4.8', $variant, $id = null, \DateTime $createdAt = null, \DateTime $updateAt = null, $userId = null, $isActivated = false, $internalName = null, $password = null, $host = '') { $this->name = $name; $this->system = $system; $this->schema = $schema; $this->solrVersion = $solrVersion; + $this->variant = $variant; $this->id = $id; $this->createdAt = $createdAt; $this->updatedAt = $updateAt; @@ -165,6 +171,14 @@ public function getSolrVersion() return $this->solrVersion; } + /** + * @return string + */ + public function getVariant() + { + return $this->variant; + } + /** * @return string */ diff --git a/Classes/Domain/Api/Client/Solr/CoreBuilder.php b/Classes/Domain/Api/Client/Solr/CoreBuilder.php index cdfd35b..1ef77da 100644 --- a/Classes/Domain/Api/Client/Solr/CoreBuilder.php +++ b/Classes/Domain/Api/Client/Solr/CoreBuilder.php @@ -13,11 +13,6 @@ class CoreBuilder { - /** - * @var string - */ - protected static $coreClassName = Core::class; - /** * @param $name * @param string $system @@ -33,11 +28,11 @@ class CoreBuilder * @param string $host * @return Core */ - public static function buildFromScalarValues($name, $system = 'typo3', $schema = 'english', $solrVersion = '4.8', $id = null, $createdAt = '', $updatedAt = '', $userId = null, $isActivated = false, $internalName = null, $password = null, $host = '') + public static function buildFromScalarValues($name, $system = 'typo3', $schema = 'english', $solrVersion = '4.8', $variant, $id = null, $createdAt = '', $updatedAt = '', $userId = null, $isActivated = false, $internalName = null, $password = null, $host = '') { $createdAt = new \DateTime($createdAt, new \DateTimeZone("UTC")); $updatedAt = new \DateTime($updatedAt, new \DateTimeZone("UTC")); - $core = new self::$coreClassName($name, $system, $schema, $solrVersion, $id, $createdAt, $updatedAt, $userId, $isActivated, $internalName, $password, $host); + $core = new Core($name, $system, $schema, $solrVersion, $variant, $id, $createdAt, $updatedAt, $userId, $isActivated, $internalName, $password, $host); return $core; } diff --git a/Classes/Domain/Api/Service.php b/Classes/Domain/Api/Service.php index e588c71..b9bb6d4 100644 --- a/Classes/Domain/Api/Service.php +++ b/Classes/Domain/Api/Service.php @@ -59,7 +59,10 @@ public function deleteCore(Core $core) } /** + * Deletes core by given identifier + * * @param integer $id + * @return bool */ public function deleteCoreById($id) { @@ -77,13 +80,13 @@ public function deleteCoreById($id) * @throws \InvalidArgumentException * @return boolean */ - public function createNewCore($name, $system = 'typo3', $solrVersion = '4.8', $schema = 'english') + public function createNewCore($name, $system = 'typo3', $solrVersion = '4.8', $schema = 'english', $variant = 'ext-6.1') { if(trim($name) === '') { throw new \InvalidArgumentException('Can not create a core without passing a name'); } - $coreToCreate = CoreBuilder::buildFromScalarValues($name, $system, $schema, $solrVersion); + $coreToCreate = CoreBuilder::buildFromScalarValues($name, $system, $schema, $solrVersion, $variant); return $this->coreRepository->add($coreToCreate); } diff --git a/Classes/System/StorageBackend/CoreRestStorageBackend.php b/Classes/System/StorageBackend/CoreRestStorageBackend.php index 1d25851..b1de854 100644 --- a/Classes/System/StorageBackend/CoreRestStorageBackend.php +++ b/Classes/System/StorageBackend/CoreRestStorageBackend.php @@ -74,6 +74,7 @@ public function findAll() $apiCore->system, $apiCore->schema, $apiCore->solr_version, + $apiCore->variant, $apiCore->id, $apiCore->created_at, $apiCore->updated_at, @@ -102,6 +103,7 @@ public function add(Core $solrCore) '&solr_core[solr_version]='. $solrCore->getSolrVersion() . '&solr_core[system]=' . $solrCore->getSystem() . '&solr_core[schema]=' . $solrCore->getSchema() . + '&solr_core[variant]=' . $solrCore->getVariant() . '&'; $url = $this->addApiSecretAndToken($url); $response = $this->httpClient->post($url); diff --git a/Tests/Build/cibuild.sh b/Tests/Build/cibuild.sh index dc9c95e..13e2ea8 100755 --- a/Tests/Build/cibuild.sh +++ b/Tests/Build/cibuild.sh @@ -5,7 +5,7 @@ ROOTPATH="$SCRIPTPATH/../../" php-cs-fixer --version > /dev/null 2>&1 if [ $? -eq "0" ]; then echo "Check PSR-2 compliance" - php-cs-fixer fix -v --level=psr2 --dry-run Classes + php-cs-fixer fix --diff --verbose --dry-run --rules='{"function_declaration": {"closure_function_spacing": "none"}}' Classes if [ $? -ne "0" ]; then echo "Some files are not PSR-2 compliant" diff --git a/Tests/Unit/System/StorageBackend/CoreRestStorageBackendTest.php b/Tests/Unit/System/StorageBackend/CoreRestStorageBackendTest.php index 429fcf5..d4ffce0 100644 --- a/Tests/Unit/System/StorageBackend/CoreRestStorageBackendTest.php +++ b/Tests/Unit/System/StorageBackend/CoreRestStorageBackendTest.php @@ -80,10 +80,10 @@ public function canThrowExceptionWhenGetRequestWasNotSuccessful() */ public function canAddAValidCore() { - $core = new Core('testcore', 'typo3', 'english', '4.8'); + $core = new Core('testcore', 'typo3', 'english', '4.8', 'ext-3.0'); $responseMock = $this->getMock(Response::class, array('getBody', 'getStatusCode'), array(), '', false); $responseMock->expects($this->any())->method('getStatusCode')->will($this->returnValue(201)); - $expectedPostEndpoint = 'https://myendpoint.com/api/solr_cores.json?solr_core[name]=testcore&solr_core[solr_version]=4.8&solr_core[system]=typo3&solr_core[schema]=english&api_token=foo&secret_token=bar'; + $expectedPostEndpoint = 'https://myendpoint.com/api/solr_cores.json?solr_core[name]=testcore&solr_core[solr_version]=4.8&solr_core[system]=typo3&solr_core[schema]=english&solr_core[variant]=ext-3.0&api_token=foo&secret_token=bar'; $this->httpClientMock->expects($this->once())->method('post')->with($expectedPostEndpoint)->will($this->returnValue($responseMock)); $result = $this->coreRestStorageBackend->add($core); @@ -95,7 +95,7 @@ public function canAddAValidCore() */ public function canRemoveAValidCore() { - $core = new Core('testcore', 'typo3', 'english', '4.8', 1); + $core = new Core('testcore', 'typo3', 'english', '4.8', 'ext-3.0', 1); $responseMock = $this->getMock(Response::class, array('getBody', 'getStatusCode'), array(), '', false); $responseMock->expects($this->any())->method('getStatusCode')->will($this->returnValue(204)); $expectedDeleteEndpoint = 'https://myendpoint.com/api/solr_cores/1.json?api_token=foo&secret_token=bar'; diff --git a/Tests/Unit/System/StorageBackend/Fixtures/getResponseWithMultipleCores.json b/Tests/Unit/System/StorageBackend/Fixtures/getResponseWithMultipleCores.json index bd8ae4a..66df760 100644 --- a/Tests/Unit/System/StorageBackend/Fixtures/getResponseWithMultipleCores.json +++ b/Tests/Unit/System/StorageBackend/Fixtures/getResponseWithMultipleCores.json @@ -6,6 +6,7 @@ "updated_at":"2015-12-12T14:44:14.000+01:00", "user_id":281, "solr_version":"4.8", + "variant": "ext-3.0", "schema":"english", "internal_name":"fdsfsdsd-test-48", "password":"sasasasa", @@ -20,6 +21,7 @@ "updated_at":"2015-12-12T14:44:14.000+01:00", "user_id":281, "solr_version":"4.8", + "variant": "ext-3.0", "schema":"english", "internal_name":"fdfafsdfds-test-48", "password":"sasasasa", diff --git a/composer.json b/composer.json index 614b205..f799437 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ }, "require": { "php": ">=5.5.0", - "guzzlehttp/guzzle": "v6.1.1" + "guzzlehttp/guzzle": "^6.2.1" }, "require-dev": { "phpunit/phpunit": "4.1.3", diff --git a/composer.lock b/composer.lock index b55422f..c396917 100644 --- a/composer.lock +++ b/composer.lock @@ -4,37 +4,39 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "552d6088c275ffd908cb35997b37af7d", - "content-hash": "bdd4173acd716ac09a73babeb0a68ab2", + "content-hash": "3af187a14c4272c7c900de5a521d8e81", "packages": [ { "name": "guzzlehttp/guzzle", - "version": "6.1.1", + "version": "6.3.0", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "c6851d6e48f63b69357cbfa55bca116448140e0c" + "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/c6851d6e48f63b69357cbfa55bca116448140e0c", - "reference": "c6851d6e48f63b69357cbfa55bca116448140e0c", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/f4db5a78a5ea468d4831de7f0bf9d9415e348699", + "reference": "f4db5a78a5ea468d4831de7f0bf9d9415e348699", "shasum": "" }, "require": { - "guzzlehttp/promises": "~1.0", - "guzzlehttp/psr7": "~1.1", - "php": ">=5.5.0" + "guzzlehttp/promises": "^1.0", + "guzzlehttp/psr7": "^1.4", + "php": ">=5.5" }, "require-dev": { "ext-curl": "*", - "phpunit/phpunit": "~4.0", - "psr/log": "~1.0" + "phpunit/phpunit": "^4.0 || ^5.0", + "psr/log": "^1.0" + }, + "suggest": { + "psr/log": "Required for using the Log middleware" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "6.1-dev" + "dev-master": "6.2-dev" } }, "autoload": { @@ -67,32 +69,32 @@ "rest", "web service" ], - "time": "2015-11-23 00:47:50" + "time": "2017-06-22T18:50:49+00:00" }, { "name": "guzzlehttp/promises", - "version": "1.0.3", + "version": "v1.3.1", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "b1e1c0d55f8083c71eda2c28c12a228d708294ea" + "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/b1e1c0d55f8083c71eda2c28c12a228d708294ea", - "reference": "b1e1c0d55f8083c71eda2c28c12a228d708294ea", + "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646", + "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646", "shasum": "" }, "require": { "php": ">=5.5.0" }, "require-dev": { - "phpunit/phpunit": "~4.0" + "phpunit/phpunit": "^4.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "1.4-dev" } }, "autoload": { @@ -118,20 +120,20 @@ "keywords": [ "promise" ], - "time": "2015-10-15 22:28:00" + "time": "2016-12-20T10:07:11+00:00" }, { "name": "guzzlehttp/psr7", - "version": "1.2.1", + "version": "1.4.2", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "4d0bdbe1206df7440219ce14c972aa57cc5e4982" + "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/4d0bdbe1206df7440219ce14c972aa57cc5e4982", - "reference": "4d0bdbe1206df7440219ce14c972aa57cc5e4982", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c", + "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c", "shasum": "" }, "require": { @@ -147,7 +149,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "1.4-dev" } }, "autoload": { @@ -167,29 +169,36 @@ "name": "Michael Dowling", "email": "mtdowling@gmail.com", "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Schultze", + "homepage": "https://github.com/Tobion" } ], - "description": "PSR-7 message implementation", + "description": "PSR-7 message implementation that also provides common utility methods", "keywords": [ "http", "message", + "request", + "response", "stream", - "uri" + "uri", + "url" ], - "time": "2015-11-03 01:34:55" + "time": "2017-03-20T17:10:46+00:00" }, { "name": "psr/http-message", - "version": "1.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/php-fig/http-message.git", - "reference": "85d63699f0dbedb190bbd4b0d2b9dc707ea4c298" + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/85d63699f0dbedb190bbd4b0d2b9dc707ea4c298", - "reference": "85d63699f0dbedb190bbd4b0d2b9dc707ea4c298", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", "shasum": "" }, "require": { @@ -217,6 +226,7 @@ } ], "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", "keywords": [ "http", "http-message", @@ -225,7 +235,7 @@ "request", "response" ], - "time": "2015-05-04 20:22:00" + "time": "2016-08-06T14:39:51+00:00" } ], "packages-dev": [ @@ -281,7 +291,7 @@ "constructor", "instantiate" ], - "time": "2015-06-14 21:17:01" + "time": "2015-06-14T21:17:01+00:00" }, { "name": "phpunit/php-code-coverage", @@ -343,7 +353,7 @@ "testing", "xunit" ], - "time": "2015-10-06 15:47:00" + "time": "2015-10-06T15:47:00+00:00" }, { "name": "phpunit/php-file-iterator", @@ -388,7 +398,7 @@ "filesystem", "iterator" ], - "time": "2013-10-10 15:34:57" + "time": "2013-10-10T15:34:57+00:00" }, { "name": "phpunit/php-text-template", @@ -429,26 +439,34 @@ "keywords": [ "template" ], - "time": "2015-06-21 13:50:34" + "time": "2015-06-21T13:50:34+00:00" }, { "name": "phpunit/php-timer", - "version": "1.0.7", + "version": "1.0.9", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "3e82f4e9fc92665fafd9157568e4dcb01d014e5b" + "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3e82f4e9fc92665fafd9157568e4dcb01d014e5b", - "reference": "3e82f4e9fc92665fafd9157568e4dcb01d014e5b", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", + "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", "shasum": "" }, "require": { - "php": ">=5.3.3" + "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/" @@ -470,20 +488,20 @@ "keywords": [ "timer" ], - "time": "2015-06-21 08:01:12" + "time": "2017-02-26T11:10:40+00:00" }, { "name": "phpunit/php-token-stream", - "version": "1.4.8", + "version": "1.4.11", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da" + "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da", - "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7", + "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7", "shasum": "" }, "require": { @@ -519,7 +537,7 @@ "keywords": [ "tokenizer" ], - "time": "2015-09-15 10:49:45" + "time": "2017-02-27T10:12:30+00:00" }, { "name": "phpunit/phpunit", @@ -593,7 +611,7 @@ "testing", "xunit" ], - "time": "2014-06-11 14:15:47" + "time": "2014-06-11T14:15:47+00:00" }, { "name": "phpunit/phpunit-mock-objects", @@ -649,26 +667,26 @@ "mock", "xunit" ], - "time": "2015-10-02 06:51:40" + "time": "2015-10-02T06:51:40+00:00" }, { "name": "sebastian/comparator", - "version": "1.2.0", + "version": "1.2.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "937efb279bd37a375bcadf584dec0726f84dbf22" + "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/937efb279bd37a375bcadf584dec0726f84dbf22", - "reference": "937efb279bd37a375bcadf584dec0726f84dbf22", + "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" + "sebastian/exporter": "~1.2 || ~2.0" }, "require-dev": { "phpunit/phpunit": "~4.4" @@ -713,27 +731,27 @@ "compare", "equality" ], - "time": "2015-07-26 15:48:44" + "time": "2017-01-29T09:50:25+00:00" }, { "name": "sebastian/diff", - "version": "1.4.1", + "version": "1.4.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e" + "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e", - "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4", + "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^5.3.3 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "~4.8" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" }, "type": "library", "extra": { @@ -765,27 +783,27 @@ "keywords": [ "diff" ], - "time": "2015-12-08 07:14:41" + "time": "2017-05-22T07:24:03+00:00" }, { "name": "sebastian/environment", - "version": "1.3.3", + "version": "1.3.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "6e7133793a8e5a5714a551a8324337374be209df" + "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/6e7133793a8e5a5714a551a8324337374be209df", - "reference": "6e7133793a8e5a5714a551a8324337374be209df", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea", + "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^5.3.3 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "~4.4" + "phpunit/phpunit": "^4.8 || ^5.0" }, "type": "library", "extra": { @@ -815,20 +833,20 @@ "environment", "hhvm" ], - "time": "2015-12-02 08:37:27" + "time": "2016-08-18T05:49:44+00:00" }, { "name": "sebastian/exporter", - "version": "1.2.1", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "7ae5513327cb536431847bcc0c10edba2701064e" + "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/7ae5513327cb536431847bcc0c10edba2701064e", - "reference": "7ae5513327cb536431847bcc0c10edba2701064e", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4", + "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4", "shasum": "" }, "require": { @@ -836,12 +854,13 @@ "sebastian/recursion-context": "~1.0" }, "require-dev": { + "ext-mbstring": "*", "phpunit/phpunit": "~4.4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2.x-dev" + "dev-master": "1.3.x-dev" } }, "autoload": { @@ -881,20 +900,20 @@ "export", "exporter" ], - "time": "2015-06-21 07:55:53" + "time": "2016-06-17T09:04:28+00:00" }, { "name": "sebastian/recursion-context", - "version": "1.0.2", + "version": "1.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "913401df809e99e4f47b27cdd781f4a258d58791" + "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/913401df809e99e4f47b27cdd781f4a258d58791", - "reference": "913401df809e99e4f47b27cdd781f4a258d58791", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7", + "reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7", "shasum": "" }, "require": { @@ -934,7 +953,7 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2015-11-11 19:50:13" + "time": "2016-10-03T07:41:43+00:00" }, { "name": "sebastian/version", @@ -969,67 +988,41 @@ ], "description": "Library that helps with managing the version number of Git-hosted PHP projects", "homepage": "https://github.com/sebastianbergmann/version", - "time": "2015-06-21 13:59:46" + "time": "2015-06-21T13:59:46+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "2.5.0", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "e4fb41d5d0387d556e2c25534d630b3cce90ea67" + "reference": "f9eaf037edf22fdfccf04cb0ab57ebcb1e166219" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/e4fb41d5d0387d556e2c25534d630b3cce90ea67", - "reference": "e4fb41d5d0387d556e2c25534d630b3cce90ea67", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/f9eaf037edf22fdfccf04cb0ab57ebcb1e166219", + "reference": "f9eaf037edf22fdfccf04cb0ab57ebcb1e166219", "shasum": "" }, "require": { + "ext-simplexml": "*", "ext-tokenizer": "*", "ext-xmlwriter": "*", - "php": ">=5.1.2" + "php": ">=5.4.0" }, "require-dev": { "phpunit/phpunit": "~4.0" }, "bin": [ - "scripts/phpcs", - "scripts/phpcbf" + "bin/phpcs", + "bin/phpcbf" ], "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.x-dev" } }, - "autoload": { - "classmap": [ - "CodeSniffer.php", - "CodeSniffer/CLI.php", - "CodeSniffer/Exception.php", - "CodeSniffer/File.php", - "CodeSniffer/Fixer.php", - "CodeSniffer/Report.php", - "CodeSniffer/Reporting.php", - "CodeSniffer/Sniff.php", - "CodeSniffer/Tokens.php", - "CodeSniffer/Reports/", - "CodeSniffer/Tokenizers/", - "CodeSniffer/DocGenerators/", - "CodeSniffer/Standards/AbstractPatternSniff.php", - "CodeSniffer/Standards/AbstractScopeSniff.php", - "CodeSniffer/Standards/AbstractVariableSniff.php", - "CodeSniffer/Standards/IncorrectPatternException.php", - "CodeSniffer/Standards/Generic/Sniffs/", - "CodeSniffer/Standards/MySource/Sniffs/", - "CodeSniffer/Standards/PEAR/Sniffs/", - "CodeSniffer/Standards/PSR1/Sniffs/", - "CodeSniffer/Standards/PSR2/Sniffs/", - "CodeSniffer/Standards/Squiz/Sniffs/", - "CodeSniffer/Standards/Zend/Sniffs/" - ] - }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" @@ -1046,20 +1039,20 @@ "phpcs", "standards" ], - "time": "2015-12-11 00:12:46" + "time": "2017-06-14T01:23:49+00:00" }, { "name": "symfony/yaml", - "version": "v2.8.1", + "version": "v2.8.24", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "ac84cbb98b68a6abbc9f5149eb96ccc7b07b8966" + "reference": "4c29dec8d489c4e37cf87ccd7166cd0b0e6a45c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/ac84cbb98b68a6abbc9f5149eb96ccc7b07b8966", - "reference": "ac84cbb98b68a6abbc9f5149eb96ccc7b07b8966", + "url": "https://api.github.com/repos/symfony/yaml/zipball/4c29dec8d489c4e37cf87ccd7166cd0b0e6a45c5", + "reference": "4c29dec8d489c4e37cf87ccd7166cd0b0e6a45c5", "shasum": "" }, "require": { @@ -1095,7 +1088,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2015-12-26 13:37:56" + "time": "2017-06-01T20:52:29+00:00" } ], "aliases": [],