diff options
Diffstat (limited to 'vendor/composer')
20 files changed, 2417 insertions, 224 deletions
diff --git a/vendor/composer/ClassLoader.php b/vendor/composer/ClassLoader.php index 4e05d3b1..5e1469e8 100644 --- a/vendor/composer/ClassLoader.php +++ b/vendor/composer/ClassLoader.php @@ -351,7 +351,7 @@ class ClassLoader foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) { if (0 === strpos($class, $prefix)) { foreach ($this->prefixDirsPsr4[$prefix] as $dir) { - if (is_file($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) { return $file; } } @@ -361,7 +361,7 @@ class ClassLoader // PSR-4 fallback dirs foreach ($this->fallbackDirsPsr4 as $dir) { - if (is_file($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { return $file; } } @@ -380,7 +380,7 @@ class ClassLoader foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) { if (0 === strpos($class, $prefix)) { foreach ($dirs as $dir) { - if (is_file($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { return $file; } } @@ -390,7 +390,7 @@ class ClassLoader // PSR-0 fallback dirs foreach ($this->fallbackDirsPsr0 as $dir) { - if (is_file($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { return $file; } } diff --git a/vendor/composer/LICENSE b/vendor/composer/LICENSE new file mode 100644 index 00000000..c8d57af8 --- /dev/null +++ b/vendor/composer/LICENSE @@ -0,0 +1,21 @@ + +Copyright (c) 2015 Nils Adermann, Jordi Boggiano + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 7455d6e6..386604c2 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -6,6 +6,42 @@ $vendorDir = dirname(dirname(__FILE__)); $baseDir = $vendorDir; return array( + 'Avro' => $vendorDir . '/wikimedia/avro/lib/avro.php', + 'AvroArraySchema' => $vendorDir . '/wikimedia/avro/lib/avro/schema.php', + 'AvroDataIO' => $vendorDir . '/wikimedia/avro/lib/avro/data_file.php', + 'AvroDataIOException' => $vendorDir . '/wikimedia/avro/lib/avro/data_file.php', + 'AvroDataIOReader' => $vendorDir . '/wikimedia/avro/lib/avro/data_file.php', + 'AvroDataIOWriter' => $vendorDir . '/wikimedia/avro/lib/avro/data_file.php', + 'AvroDebug' => $vendorDir . '/wikimedia/avro/lib/avro/debug.php', + 'AvroEnumSchema' => $vendorDir . '/wikimedia/avro/lib/avro/schema.php', + 'AvroException' => $vendorDir . '/wikimedia/avro/lib/avro.php', + 'AvroField' => $vendorDir . '/wikimedia/avro/lib/avro/schema.php', + 'AvroFile' => $vendorDir . '/wikimedia/avro/lib/avro/io.php', + 'AvroFixedSchema' => $vendorDir . '/wikimedia/avro/lib/avro/schema.php', + 'AvroGMP' => $vendorDir . '/wikimedia/avro/lib/avro/gmp.php', + 'AvroIO' => $vendorDir . '/wikimedia/avro/lib/avro/io.php', + 'AvroIOBinaryDecoder' => $vendorDir . '/wikimedia/avro/lib/avro/datum.php', + 'AvroIOBinaryEncoder' => $vendorDir . '/wikimedia/avro/lib/avro/datum.php', + 'AvroIODatumReader' => $vendorDir . '/wikimedia/avro/lib/avro/datum.php', + 'AvroIODatumWriter' => $vendorDir . '/wikimedia/avro/lib/avro/datum.php', + 'AvroIOException' => $vendorDir . '/wikimedia/avro/lib/avro/io.php', + 'AvroIOSchemaMatchException' => $vendorDir . '/wikimedia/avro/lib/avro/datum.php', + 'AvroIOTypeException' => $vendorDir . '/wikimedia/avro/lib/avro/datum.php', + 'AvroMapSchema' => $vendorDir . '/wikimedia/avro/lib/avro/schema.php', + 'AvroName' => $vendorDir . '/wikimedia/avro/lib/avro/schema.php', + 'AvroNamedSchema' => $vendorDir . '/wikimedia/avro/lib/avro/schema.php', + 'AvroNamedSchemata' => $vendorDir . '/wikimedia/avro/lib/avro/schema.php', + 'AvroPrimitiveSchema' => $vendorDir . '/wikimedia/avro/lib/avro/schema.php', + 'AvroProtocol' => $vendorDir . '/wikimedia/avro/lib/avro/protocol.php', + 'AvroProtocolMessage' => $vendorDir . '/wikimedia/avro/lib/avro/protocol.php', + 'AvroProtocolParseException' => $vendorDir . '/wikimedia/avro/lib/avro/protocol.php', + 'AvroRecordSchema' => $vendorDir . '/wikimedia/avro/lib/avro/schema.php', + 'AvroSchema' => $vendorDir . '/wikimedia/avro/lib/avro/schema.php', + 'AvroSchemaParseException' => $vendorDir . '/wikimedia/avro/lib/avro/schema.php', + 'AvroStringIO' => $vendorDir . '/wikimedia/avro/lib/avro/io.php', + 'AvroUnionSchema' => $vendorDir . '/wikimedia/avro/lib/avro/schema.php', + 'AvroUtil' => $vendorDir . '/wikimedia/avro/lib/avro/util.php', + 'BeforeValidException' => $vendorDir . '/firebase/php-jwt/Exceptions/BeforeValidException.php', 'CSSJanus' => $vendorDir . '/cssjanus/cssjanus/src/CSSJanus.php', 'CSSJanusTokenizer' => $vendorDir . '/cssjanus/cssjanus/src/CSSJanus.php', 'Cdb\\Exception' => $vendorDir . '/wikimedia/cdb/src/Exception.php', @@ -16,15 +52,25 @@ return array( 'Cdb\\Writer' => $vendorDir . '/wikimedia/cdb/src/Writer.php', 'Cdb\\Writer\\DBA' => $vendorDir . '/wikimedia/cdb/src/Writer/DBA.php', 'Cdb\\Writer\\PHP' => $vendorDir . '/wikimedia/cdb/src/Writer/PHP.php', + 'Composer\\Semver\\Comparator' => $vendorDir . '/composer/semver/src/Comparator.php', + 'Composer\\Semver\\Constraint\\AbstractConstraint' => $vendorDir . '/composer/semver/src/Constraint/AbstractConstraint.php', + 'Composer\\Semver\\Constraint\\Constraint' => $vendorDir . '/composer/semver/src/Constraint/Constraint.php', + 'Composer\\Semver\\Constraint\\ConstraintInterface' => $vendorDir . '/composer/semver/src/Constraint/ConstraintInterface.php', + 'Composer\\Semver\\Constraint\\EmptyConstraint' => $vendorDir . '/composer/semver/src/Constraint/EmptyConstraint.php', + 'Composer\\Semver\\Constraint\\MultiConstraint' => $vendorDir . '/composer/semver/src/Constraint/MultiConstraint.php', + 'Composer\\Semver\\Semver' => $vendorDir . '/composer/semver/src/Semver.php', + 'Composer\\Semver\\VersionParser' => $vendorDir . '/composer/semver/src/VersionParser.php', 'Elastica\\AbstractUpdateAction' => $vendorDir . '/ruflin/elastica/lib/Elastica/AbstractUpdateAction.php', 'Elastica\\Aggregation\\AbstractAggregation' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/AbstractAggregation.php', 'Elastica\\Aggregation\\AbstractSimpleAggregation' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/AbstractSimpleAggregation.php', + 'Elastica\\Aggregation\\AbstractTermsAggregation' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/AbstractTermsAggregation.php', 'Elastica\\Aggregation\\Avg' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/Avg.php', 'Elastica\\Aggregation\\Cardinality' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/Cardinality.php', 'Elastica\\Aggregation\\DateHistogram' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/DateHistogram.php', 'Elastica\\Aggregation\\DateRange' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/DateRange.php', 'Elastica\\Aggregation\\ExtendedStats' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/ExtendedStats.php', 'Elastica\\Aggregation\\Filter' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/Filter.php', + 'Elastica\\Aggregation\\Filters' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/Filters.php', 'Elastica\\Aggregation\\GeoDistance' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/GeoDistance.php', 'Elastica\\Aggregation\\GeohashGrid' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/GeohashGrid.php', 'Elastica\\Aggregation\\GlobalAggregation' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/GlobalAggregation.php', @@ -34,11 +80,15 @@ return array( 'Elastica\\Aggregation\\Min' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/Min.php', 'Elastica\\Aggregation\\Missing' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/Missing.php', 'Elastica\\Aggregation\\Nested' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/Nested.php', + 'Elastica\\Aggregation\\Percentiles' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/Percentiles.php', 'Elastica\\Aggregation\\Range' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/Range.php', 'Elastica\\Aggregation\\ReverseNested' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/ReverseNested.php', + 'Elastica\\Aggregation\\ScriptedMetric' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/ScriptedMetric.php', + 'Elastica\\Aggregation\\SignificantTerms' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/SignificantTerms.php', 'Elastica\\Aggregation\\Stats' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/Stats.php', 'Elastica\\Aggregation\\Sum' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/Sum.php', 'Elastica\\Aggregation\\Terms' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/Terms.php', + 'Elastica\\Aggregation\\TopHits' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/TopHits.php', 'Elastica\\Aggregation\\ValueCount' => $vendorDir . '/ruflin/elastica/lib/Elastica/Aggregation/ValueCount.php', 'Elastica\\Bulk' => $vendorDir . '/ruflin/elastica/lib/Elastica/Bulk.php', 'Elastica\\Bulk\\Action' => $vendorDir . '/ruflin/elastica/lib/Elastica/Bulk/Action.php', @@ -56,6 +106,12 @@ return array( 'Elastica\\Cluster\\Health\\Shard' => $vendorDir . '/ruflin/elastica/lib/Elastica/Cluster/Health/Shard.php', 'Elastica\\Cluster\\Settings' => $vendorDir . '/ruflin/elastica/lib/Elastica/Cluster/Settings.php', 'Elastica\\Connection' => $vendorDir . '/ruflin/elastica/lib/Elastica/Connection.php', + 'Elastica\\Connection\\ConnectionPool' => $vendorDir . '/ruflin/elastica/lib/Elastica/Connection/ConnectionPool.php', + 'Elastica\\Connection\\Strategy\\CallbackStrategy' => $vendorDir . '/ruflin/elastica/lib/Elastica/Connection/Strategy/CallbackStrategy.php', + 'Elastica\\Connection\\Strategy\\RoundRobin' => $vendorDir . '/ruflin/elastica/lib/Elastica/Connection/Strategy/RoundRobin.php', + 'Elastica\\Connection\\Strategy\\Simple' => $vendorDir . '/ruflin/elastica/lib/Elastica/Connection/Strategy/Simple.php', + 'Elastica\\Connection\\Strategy\\StrategyFactory' => $vendorDir . '/ruflin/elastica/lib/Elastica/Connection/Strategy/StrategyFactory.php', + 'Elastica\\Connection\\Strategy\\StrategyInterface' => $vendorDir . '/ruflin/elastica/lib/Elastica/Connection/Strategy/StrategyInterface.php', 'Elastica\\Document' => $vendorDir . '/ruflin/elastica/lib/Elastica/Document.php', 'Elastica\\Exception\\BulkException' => $vendorDir . '/ruflin/elastica/lib/Elastica/Exception/BulkException.php', 'Elastica\\Exception\\Bulk\\ResponseException' => $vendorDir . '/ruflin/elastica/lib/Elastica/Exception/Bulk/ResponseException.php', @@ -65,6 +121,7 @@ return array( 'Elastica\\Exception\\ConnectionException' => $vendorDir . '/ruflin/elastica/lib/Elastica/Exception/ConnectionException.php', 'Elastica\\Exception\\Connection\\GuzzleException' => $vendorDir . '/ruflin/elastica/lib/Elastica/Exception/Connection/GuzzleException.php', 'Elastica\\Exception\\Connection\\HttpException' => $vendorDir . '/ruflin/elastica/lib/Elastica/Exception/Connection/HttpException.php', + 'Elastica\\Exception\\Connection\\MemcacheException' => $vendorDir . '/ruflin/elastica/lib/Elastica/Exception/Connection/MemcacheException.php', 'Elastica\\Exception\\Connection\\ThriftException' => $vendorDir . '/ruflin/elastica/lib/Elastica/Exception/Connection/ThriftException.php', 'Elastica\\Exception\\ElasticsearchException' => $vendorDir . '/ruflin/elastica/lib/Elastica/Exception/ElasticsearchException.php', 'Elastica\\Exception\\ExceptionInterface' => $vendorDir . '/ruflin/elastica/lib/Elastica/Exception/ExceptionInterface.php', @@ -73,6 +130,7 @@ return array( 'Elastica\\Exception\\NotFoundException' => $vendorDir . '/ruflin/elastica/lib/Elastica/Exception/NotFoundException.php', 'Elastica\\Exception\\NotImplementedException' => $vendorDir . '/ruflin/elastica/lib/Elastica/Exception/NotImplementedException.php', 'Elastica\\Exception\\PartialShardFailureException' => $vendorDir . '/ruflin/elastica/lib/Elastica/Exception/PartialShardFailureException.php', + 'Elastica\\Exception\\QueryBuilderException' => $vendorDir . '/ruflin/elastica/lib/Elastica/Exception/QueryBuilderException.php', 'Elastica\\Exception\\ResponseException' => $vendorDir . '/ruflin/elastica/lib/Elastica/Exception/ResponseException.php', 'Elastica\\Exception\\RuntimeException' => $vendorDir . '/ruflin/elastica/lib/Elastica/Exception/RuntimeException.php', 'Elastica\\Facet\\AbstractFacet' => $vendorDir . '/ruflin/elastica/lib/Elastica/Facet/AbstractFacet.php', @@ -92,6 +150,7 @@ return array( 'Elastica\\Filter\\AbstractMulti' => $vendorDir . '/ruflin/elastica/lib/Elastica/Filter/AbstractMulti.php', 'Elastica\\Filter\\Bool' => $vendorDir . '/ruflin/elastica/lib/Elastica/Filter/Bool.php', 'Elastica\\Filter\\BoolAnd' => $vendorDir . '/ruflin/elastica/lib/Elastica/Filter/BoolAnd.php', + 'Elastica\\Filter\\BoolFilter' => $vendorDir . '/ruflin/elastica/lib/Elastica/Filter/BoolFilter.php', 'Elastica\\Filter\\BoolNot' => $vendorDir . '/ruflin/elastica/lib/Elastica/Filter/BoolNot.php', 'Elastica\\Filter\\BoolOr' => $vendorDir . '/ruflin/elastica/lib/Elastica/Filter/BoolOr.php', 'Elastica\\Filter\\Exists' => $vendorDir . '/ruflin/elastica/lib/Elastica/Filter/Exists.php', @@ -133,8 +192,24 @@ return array( 'Elastica\\Param' => $vendorDir . '/ruflin/elastica/lib/Elastica/Param.php', 'Elastica\\Percolator' => $vendorDir . '/ruflin/elastica/lib/Elastica/Percolator.php', 'Elastica\\Query' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query.php', + 'Elastica\\QueryBuilder' => $vendorDir . '/ruflin/elastica/lib/Elastica/QueryBuilder.php', + 'Elastica\\QueryBuilder\\DSL' => $vendorDir . '/ruflin/elastica/lib/Elastica/QueryBuilder/DSL.php', + 'Elastica\\QueryBuilder\\DSL\\Aggregation' => $vendorDir . '/ruflin/elastica/lib/Elastica/QueryBuilder/DSL/Aggregation.php', + 'Elastica\\QueryBuilder\\DSL\\Filter' => $vendorDir . '/ruflin/elastica/lib/Elastica/QueryBuilder/DSL/Filter.php', + 'Elastica\\QueryBuilder\\DSL\\Query' => $vendorDir . '/ruflin/elastica/lib/Elastica/QueryBuilder/DSL/Query.php', + 'Elastica\\QueryBuilder\\DSL\\Suggest' => $vendorDir . '/ruflin/elastica/lib/Elastica/QueryBuilder/DSL/Suggest.php', + 'Elastica\\QueryBuilder\\Facade' => $vendorDir . '/ruflin/elastica/lib/Elastica/QueryBuilder/Facade.php', + 'Elastica\\QueryBuilder\\Version' => $vendorDir . '/ruflin/elastica/lib/Elastica/QueryBuilder/Version.php', + 'Elastica\\QueryBuilder\\Version\\Version090' => $vendorDir . '/ruflin/elastica/lib/Elastica/QueryBuilder/Version/Version090.php', + 'Elastica\\QueryBuilder\\Version\\Version100' => $vendorDir . '/ruflin/elastica/lib/Elastica/QueryBuilder/Version/Version100.php', + 'Elastica\\QueryBuilder\\Version\\Version110' => $vendorDir . '/ruflin/elastica/lib/Elastica/QueryBuilder/Version/Version110.php', + 'Elastica\\QueryBuilder\\Version\\Version120' => $vendorDir . '/ruflin/elastica/lib/Elastica/QueryBuilder/Version/Version120.php', + 'Elastica\\QueryBuilder\\Version\\Version130' => $vendorDir . '/ruflin/elastica/lib/Elastica/QueryBuilder/Version/Version130.php', + 'Elastica\\QueryBuilder\\Version\\Version140' => $vendorDir . '/ruflin/elastica/lib/Elastica/QueryBuilder/Version/Version140.php', + 'Elastica\\QueryBuilder\\Version\\Version150' => $vendorDir . '/ruflin/elastica/lib/Elastica/QueryBuilder/Version/Version150.php', 'Elastica\\Query\\AbstractQuery' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/AbstractQuery.php', 'Elastica\\Query\\Bool' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/Bool.php', + 'Elastica\\Query\\BoolQuery' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/BoolQuery.php', 'Elastica\\Query\\Boosting' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/Boosting.php', 'Elastica\\Query\\Builder' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/Builder.php', 'Elastica\\Query\\Common' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/Common.php', @@ -147,14 +222,18 @@ return array( 'Elastica\\Query\\HasChild' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/HasChild.php', 'Elastica\\Query\\HasParent' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/HasParent.php', 'Elastica\\Query\\Ids' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/Ids.php', + 'Elastica\\Query\\Image' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/Image.php', 'Elastica\\Query\\Match' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/Match.php', 'Elastica\\Query\\MatchAll' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/MatchAll.php', + 'Elastica\\Query\\MatchPhrase' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/MatchPhrase.php', + 'Elastica\\Query\\MatchPhrasePrefix' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/MatchPhrasePrefix.php', 'Elastica\\Query\\MoreLikeThis' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/MoreLikeThis.php', 'Elastica\\Query\\MultiMatch' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/MultiMatch.php', 'Elastica\\Query\\Nested' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/Nested.php', 'Elastica\\Query\\Prefix' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/Prefix.php', 'Elastica\\Query\\QueryString' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/QueryString.php', 'Elastica\\Query\\Range' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/Range.php', + 'Elastica\\Query\\Regexp' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/Regexp.php', 'Elastica\\Query\\Simple' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/Simple.php', 'Elastica\\Query\\SimpleQueryString' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/SimpleQueryString.php', 'Elastica\\Query\\Term' => $vendorDir . '/ruflin/elastica/lib/Elastica/Query/Term.php', @@ -170,6 +249,7 @@ return array( 'Elastica\\ScanAndScroll' => $vendorDir . '/ruflin/elastica/lib/Elastica/ScanAndScroll.php', 'Elastica\\Script' => $vendorDir . '/ruflin/elastica/lib/Elastica/Script.php', 'Elastica\\ScriptFields' => $vendorDir . '/ruflin/elastica/lib/Elastica/ScriptFields.php', + 'Elastica\\Scroll' => $vendorDir . '/ruflin/elastica/lib/Elastica/Scroll.php', 'Elastica\\Search' => $vendorDir . '/ruflin/elastica/lib/Elastica/Search.php', 'Elastica\\SearchableInterface' => $vendorDir . '/ruflin/elastica/lib/Elastica/SearchableInterface.php', 'Elastica\\Snapshot' => $vendorDir . '/ruflin/elastica/lib/Elastica/Snapshot.php', @@ -178,22 +258,116 @@ return array( 'Elastica\\Suggest\\AbstractSuggest' => $vendorDir . '/ruflin/elastica/lib/Elastica/Suggest/AbstractSuggest.php', 'Elastica\\Suggest\\CandidateGenerator\\AbstractCandidateGenerator' => $vendorDir . '/ruflin/elastica/lib/Elastica/Suggest/CandidateGenerator/AbstractCandidateGenerator.php', 'Elastica\\Suggest\\CandidateGenerator\\DirectGenerator' => $vendorDir . '/ruflin/elastica/lib/Elastica/Suggest/CandidateGenerator/DirectGenerator.php', + 'Elastica\\Suggest\\Completion' => $vendorDir . '/ruflin/elastica/lib/Elastica/Suggest/Completion.php', 'Elastica\\Suggest\\Phrase' => $vendorDir . '/ruflin/elastica/lib/Elastica/Suggest/Phrase.php', 'Elastica\\Suggest\\Term' => $vendorDir . '/ruflin/elastica/lib/Elastica/Suggest/Term.php', - 'Elastica\\Test\\Base' => $vendorDir . '/ruflin/elastica/test/lib/Elastica/Test/Base.php', - 'Elastica\\Test\\Filter\\ExistsTest' => $vendorDir . '/ruflin/elastica/test/lib/Elastica/Test/Filter/ExistsTests.php', + 'Elastica\\Tool\\CrossIndex' => $vendorDir . '/ruflin/elastica/lib/Elastica/Tool/CrossIndex.php', 'Elastica\\Transport\\AbstractTransport' => $vendorDir . '/ruflin/elastica/lib/Elastica/Transport/AbstractTransport.php', 'Elastica\\Transport\\Guzzle' => $vendorDir . '/ruflin/elastica/lib/Elastica/Transport/Guzzle.php', 'Elastica\\Transport\\Http' => $vendorDir . '/ruflin/elastica/lib/Elastica/Transport/Http.php', + 'Elastica\\Transport\\HttpAdapter' => $vendorDir . '/ruflin/elastica/lib/Elastica/Transport/HttpAdapter.php', 'Elastica\\Transport\\Https' => $vendorDir . '/ruflin/elastica/lib/Elastica/Transport/Https.php', 'Elastica\\Transport\\Memcache' => $vendorDir . '/ruflin/elastica/lib/Elastica/Transport/Memcache.php', 'Elastica\\Transport\\Null' => $vendorDir . '/ruflin/elastica/lib/Elastica/Transport/Null.php', + 'Elastica\\Transport\\NullTransport' => $vendorDir . '/ruflin/elastica/lib/Elastica/Transport/NullTransport.php', 'Elastica\\Transport\\Thrift' => $vendorDir . '/ruflin/elastica/lib/Elastica/Transport/Thrift.php', 'Elastica\\Type' => $vendorDir . '/ruflin/elastica/lib/Elastica/Type.php', 'Elastica\\Type\\AbstractType' => $vendorDir . '/ruflin/elastica/lib/Elastica/Type/AbstractType.php', 'Elastica\\Type\\Mapping' => $vendorDir . '/ruflin/elastica/lib/Elastica/Type/Mapping.php', 'Elastica\\Util' => $vendorDir . '/ruflin/elastica/lib/Elastica/Util.php', + 'ExpiredException' => $vendorDir . '/firebase/php-jwt/Exceptions/ExpiredException.php', + 'IPSet\\IPSet' => $vendorDir . '/wikimedia/ip-set/src/IPSet.php', + 'JWT' => $vendorDir . '/firebase/php-jwt/Authentication/JWT.php', + 'Kafka\\Client' => $vendorDir . '/nmred/kafka-php/src/Kafka/Client.php', + 'Kafka\\ClusterMetaData' => $vendorDir . '/nmred/kafka-php/src/Kafka/ClusterMetaData.php', + 'Kafka\\Consumer' => $vendorDir . '/nmred/kafka-php/src/Kafka/Consumer.php', + 'Kafka\\Exception' => $vendorDir . '/nmred/kafka-php/src/Kafka/Exception.php', + 'Kafka\\Exception\\NotSupported' => $vendorDir . '/nmred/kafka-php/src/Kafka/Exception/NotSupported.php', + 'Kafka\\Exception\\OutOfRange' => $vendorDir . '/nmred/kafka-php/src/Kafka/Exception/OutOfRange.php', + 'Kafka\\Exception\\Protocol' => $vendorDir . '/nmred/kafka-php/src/Kafka/Exception/Protocol.php', + 'Kafka\\Exception\\Socket' => $vendorDir . '/nmred/kafka-php/src/Kafka/Exception/Socket.php', + 'Kafka\\Exception\\SocketConnect' => $vendorDir . '/nmred/kafka-php/src/Kafka/Exception/SocketConnect.php', + 'Kafka\\Exception\\SocketEOF' => $vendorDir . '/nmred/kafka-php/src/Kafka/Exception/SocketEOF.php', + 'Kafka\\Exception\\SocketTimeout' => $vendorDir . '/nmred/kafka-php/src/Kafka/Exception/SocketTimeout.php', + 'Kafka\\Log' => $vendorDir . '/nmred/kafka-php/src/Kafka/Log.php', + 'Kafka\\MetaDataFromKafka' => $vendorDir . '/nmred/kafka-php/src/Kafka/MetaDataFromKafka.php', + 'Kafka\\Offset' => $vendorDir . '/nmred/kafka-php/src/Kafka/Offset.php', + 'Kafka\\Produce' => $vendorDir . '/nmred/kafka-php/src/Kafka/Produce.php', + 'Kafka\\Protocol\\Decoder' => $vendorDir . '/nmred/kafka-php/src/Kafka/Protocol/Decoder.php', + 'Kafka\\Protocol\\Encoder' => $vendorDir . '/nmred/kafka-php/src/Kafka/Protocol/Encoder.php', + 'Kafka\\Protocol\\Fetch\\Helper\\CommitOffset' => $vendorDir . '/nmred/kafka-php/src/Kafka/Protocol/Fetch/Helper/CommitOffset.php', + 'Kafka\\Protocol\\Fetch\\Helper\\Consumer' => $vendorDir . '/nmred/kafka-php/src/Kafka/Protocol/Fetch/Helper/Consumer.php', + 'Kafka\\Protocol\\Fetch\\Helper\\FreeStream' => $vendorDir . '/nmred/kafka-php/src/Kafka/Protocol/Fetch/Helper/FreeStream.php', + 'Kafka\\Protocol\\Fetch\\Helper\\Helper' => $vendorDir . '/nmred/kafka-php/src/Kafka/Protocol/Fetch/Helper/Helper.php', + 'Kafka\\Protocol\\Fetch\\Helper\\HelperAbstract' => $vendorDir . '/nmred/kafka-php/src/Kafka/Protocol/Fetch/Helper/HelperAbstract.php', + 'Kafka\\Protocol\\Fetch\\Message' => $vendorDir . '/nmred/kafka-php/src/Kafka/Protocol/Fetch/Message.php', + 'Kafka\\Protocol\\Fetch\\MessageSet' => $vendorDir . '/nmred/kafka-php/src/Kafka/Protocol/Fetch/MessageSet.php', + 'Kafka\\Protocol\\Fetch\\Partition' => $vendorDir . '/nmred/kafka-php/src/Kafka/Protocol/Fetch/Partition.php', + 'Kafka\\Protocol\\Fetch\\Topic' => $vendorDir . '/nmred/kafka-php/src/Kafka/Protocol/Fetch/Topic.php', + 'Kafka\\Protocol\\Protocol' => $vendorDir . '/nmred/kafka-php/src/Kafka/Protocol/Protocol.php', + 'Kafka\\Socket' => $vendorDir . '/nmred/kafka-php/src/Kafka/Socket.php', + 'Kafka\\ZooKeeper' => $vendorDir . '/nmred/kafka-php/src/Kafka/ZooKeeper.php', + 'KzykHys\\Pygments\\Pygments' => $vendorDir . '/kzykhys/pygments/src/KzykHys/Pygments/Pygments.php', 'LCRun3' => $vendorDir . '/zordius/lightncandy/src/lightncandy.php', + 'Less_Autoloader' => $vendorDir . '/oyejorge/less.php/lib/Less/Autoloader.php', + 'Less_Cache' => $vendorDir . '/oyejorge/less.php/lib/Less/Cache.php', + 'Less_Colors' => $vendorDir . '/oyejorge/less.php/lib/Less/Colors.php', + 'Less_Configurable' => $vendorDir . '/oyejorge/less.php/lib/Less/Configurable.php', + 'Less_Environment' => $vendorDir . '/oyejorge/less.php/lib/Less/Environment.php', + 'Less_Exception_Chunk' => $vendorDir . '/oyejorge/less.php/lib/Less/Exception/Chunk.php', + 'Less_Exception_Compiler' => $vendorDir . '/oyejorge/less.php/lib/Less/Exception/Compiler.php', + 'Less_Exception_Parser' => $vendorDir . '/oyejorge/less.php/lib/Less/Exception/Parser.php', + 'Less_Functions' => $vendorDir . '/oyejorge/less.php/lib/Less/Functions.php', + 'Less_Mime' => $vendorDir . '/oyejorge/less.php/lib/Less/Mime.php', + 'Less_Output' => $vendorDir . '/oyejorge/less.php/lib/Less/Output.php', + 'Less_Output_Mapped' => $vendorDir . '/oyejorge/less.php/lib/Less/Output/Mapped.php', + 'Less_Parser' => $vendorDir . '/oyejorge/less.php/lib/Less/Parser.php', + 'Less_SourceMap_Base64VLQ' => $vendorDir . '/oyejorge/less.php/lib/Less/SourceMap/Base64VLQ.php', + 'Less_SourceMap_Generator' => $vendorDir . '/oyejorge/less.php/lib/Less/SourceMap/Generator.php', + 'Less_Tree' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree.php', + 'Less_Tree_Alpha' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Alpha.php', + 'Less_Tree_Anonymous' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Anonymous.php', + 'Less_Tree_Assignment' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Assignment.php', + 'Less_Tree_Attribute' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Attribute.php', + 'Less_Tree_Call' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Call.php', + 'Less_Tree_Color' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Color.php', + 'Less_Tree_Comment' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Comment.php', + 'Less_Tree_Condition' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Condition.php', + 'Less_Tree_DefaultFunc' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/DefaultFunc.php', + 'Less_Tree_DetachedRuleset' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/DetachedRuleset.php', + 'Less_Tree_Dimension' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Dimension.php', + 'Less_Tree_Directive' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Directive.php', + 'Less_Tree_Element' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Element.php', + 'Less_Tree_Expression' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Expression.php', + 'Less_Tree_Extend' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Extend.php', + 'Less_Tree_Import' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Import.php', + 'Less_Tree_Javascript' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Javascript.php', + 'Less_Tree_Keyword' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Keyword.php', + 'Less_Tree_Media' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Media.php', + 'Less_Tree_Mixin_Call' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Mixin/Call.php', + 'Less_Tree_Mixin_Definition' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Mixin/Definition.php', + 'Less_Tree_NameValue' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/NameValue.php', + 'Less_Tree_Negative' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Negative.php', + 'Less_Tree_Operation' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Operation.php', + 'Less_Tree_Paren' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Paren.php', + 'Less_Tree_Quoted' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Quoted.php', + 'Less_Tree_Rule' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Rule.php', + 'Less_Tree_Ruleset' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Ruleset.php', + 'Less_Tree_RulesetCall' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/RulesetCall.php', + 'Less_Tree_Selector' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Selector.php', + 'Less_Tree_UnicodeDescriptor' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/UnicodeDescriptor.php', + 'Less_Tree_Unit' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Unit.php', + 'Less_Tree_UnitConversions' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/UnitConversions.php', + 'Less_Tree_Url' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Url.php', + 'Less_Tree_Value' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Value.php', + 'Less_Tree_Variable' => $vendorDir . '/oyejorge/less.php/lib/Less/Tree/Variable.php', + 'Less_Version' => $vendorDir . '/oyejorge/less.php/lib/Less/Version.php', + 'Less_Visitor' => $vendorDir . '/oyejorge/less.php/lib/Less/Visitor.php', + 'Less_VisitorReplacing' => $vendorDir . '/oyejorge/less.php/lib/Less/VisitorReplacing.php', + 'Less_Visitor_extendFinder' => $vendorDir . '/oyejorge/less.php/lib/Less/Visitor/extendFinder.php', + 'Less_Visitor_joinSelector' => $vendorDir . '/oyejorge/less.php/lib/Less/Visitor/joinSelector.php', + 'Less_Visitor_processExtends' => $vendorDir . '/oyejorge/less.php/lib/Less/Visitor/processExtends.php', + 'Less_Visitor_toCSS' => $vendorDir . '/oyejorge/less.php/lib/Less/Visitor/toCSS.php', 'LightnCandy' => $vendorDir . '/zordius/lightncandy/src/lightncandy.php', 'Liuggio\\StatsdClient\\Entity\\StatsdData' => $vendorDir . '/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Entity/StatsdData.php', 'Liuggio\\StatsdClient\\Entity\\StatsdDataInterface' => $vendorDir . '/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Entity/StatsdDataInterface.php', @@ -206,6 +380,7 @@ return array( 'Liuggio\\StatsdClient\\Sender\\SenderInterface' => $vendorDir . '/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Sender/SenderInterface.php', 'Liuggio\\StatsdClient\\Sender\\SocketSender' => $vendorDir . '/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Sender/SocketSender.php', 'Liuggio\\StatsdClient\\Sender\\SysLogSender' => $vendorDir . '/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Sender/SysLogSender.php', + 'Liuggio\\StatsdClient\\Service\\StatsdService' => $vendorDir . '/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Service/StatsdService.php', 'Liuggio\\StatsdClient\\StatsdClient' => $vendorDir . '/liuggio/statsd-php-client/src/Liuggio/StatsdClient/StatsdClient.php', 'Liuggio\\StatsdClient\\StatsdClientInterface' => $vendorDir . '/liuggio/statsd-php-client/src/Liuggio/StatsdClient/StatsdClientInterface.php', 'Monolog\\ErrorHandler' => $vendorDir . '/monolog/monolog/src/Monolog/ErrorHandler.php', @@ -257,6 +432,7 @@ return array( 'Monolog\\Handler\\NativeMailerHandler' => $vendorDir . '/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php', 'Monolog\\Handler\\NewRelicHandler' => $vendorDir . '/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php', 'Monolog\\Handler\\NullHandler' => $vendorDir . '/monolog/monolog/src/Monolog/Handler/NullHandler.php', + 'Monolog\\Handler\\PHPConsoleHandler' => $vendorDir . '/monolog/monolog/src/Monolog/Handler/PHPConsoleHandler.php', 'Monolog\\Handler\\PsrHandler' => $vendorDir . '/monolog/monolog/src/Monolog/Handler/PsrHandler.php', 'Monolog\\Handler\\PushoverHandler' => $vendorDir . '/monolog/monolog/src/Monolog/Handler/PushoverHandler.php', 'Monolog\\Handler\\RavenHandler' => $vendorDir . '/monolog/monolog/src/Monolog/Handler/RavenHandler.php', @@ -286,8 +462,10 @@ return array( 'Monolog\\Processor\\UidProcessor' => $vendorDir . '/monolog/monolog/src/Monolog/Processor/UidProcessor.php', 'Monolog\\Processor\\WebProcessor' => $vendorDir . '/monolog/monolog/src/Monolog/Processor/WebProcessor.php', 'Monolog\\Registry' => $vendorDir . '/monolog/monolog/src/Monolog/Registry.php', + 'OOUI\\AccessKeyedElement' => $vendorDir . '/oojs/oojs-ui/php/mixins/AccessKeyedElement.php', + 'OOUI\\ActionFieldLayout' => $vendorDir . '/oojs/oojs-ui/php/layouts/ActionFieldLayout.php', 'OOUI\\ApexTheme' => $vendorDir . '/oojs/oojs-ui/php/themes/ApexTheme.php', - 'OOUI\\ButtonElement' => $vendorDir . '/oojs/oojs-ui/php/elements/ButtonElement.php', + 'OOUI\\ButtonElement' => $vendorDir . '/oojs/oojs-ui/php/mixins/ButtonElement.php', 'OOUI\\ButtonGroupWidget' => $vendorDir . '/oojs/oojs-ui/php/widgets/ButtonGroupWidget.php', 'OOUI\\ButtonInputWidget' => $vendorDir . '/oojs/oojs-ui/php/widgets/ButtonInputWidget.php', 'OOUI\\ButtonWidget' => $vendorDir . '/oojs/oojs-ui/php/widgets/ButtonWidget.php', @@ -298,26 +476,28 @@ return array( 'OOUI\\Exception' => $vendorDir . '/oojs/oojs-ui/php/Exception.php', 'OOUI\\FieldLayout' => $vendorDir . '/oojs/oojs-ui/php/layouts/FieldLayout.php', 'OOUI\\FieldsetLayout' => $vendorDir . '/oojs/oojs-ui/php/layouts/FieldsetLayout.php', - 'OOUI\\FlaggedElement' => $vendorDir . '/oojs/oojs-ui/php/elements/FlaggedElement.php', + 'OOUI\\FlaggedElement' => $vendorDir . '/oojs/oojs-ui/php/mixins/FlaggedElement.php', 'OOUI\\FormLayout' => $vendorDir . '/oojs/oojs-ui/php/layouts/FormLayout.php', - 'OOUI\\GroupElement' => $vendorDir . '/oojs/oojs-ui/php/elements/GroupElement.php', + 'OOUI\\GroupElement' => $vendorDir . '/oojs/oojs-ui/php/mixins/GroupElement.php', + 'OOUI\\HorizontalLayout' => $vendorDir . '/oojs/oojs-ui/php/layouts/HorizontalLayout.php', 'OOUI\\HtmlSnippet' => $vendorDir . '/oojs/oojs-ui/php/HtmlSnippet.php', - 'OOUI\\IconElement' => $vendorDir . '/oojs/oojs-ui/php/elements/IconElement.php', + 'OOUI\\IconElement' => $vendorDir . '/oojs/oojs-ui/php/mixins/IconElement.php', 'OOUI\\IconWidget' => $vendorDir . '/oojs/oojs-ui/php/widgets/IconWidget.php', - 'OOUI\\IndicatorElement' => $vendorDir . '/oojs/oojs-ui/php/elements/IndicatorElement.php', + 'OOUI\\IndicatorElement' => $vendorDir . '/oojs/oojs-ui/php/mixins/IndicatorElement.php', 'OOUI\\IndicatorWidget' => $vendorDir . '/oojs/oojs-ui/php/widgets/IndicatorWidget.php', 'OOUI\\InputWidget' => $vendorDir . '/oojs/oojs-ui/php/widgets/InputWidget.php', - 'OOUI\\LabelElement' => $vendorDir . '/oojs/oojs-ui/php/elements/LabelElement.php', + 'OOUI\\LabelElement' => $vendorDir . '/oojs/oojs-ui/php/mixins/LabelElement.php', 'OOUI\\LabelWidget' => $vendorDir . '/oojs/oojs-ui/php/widgets/LabelWidget.php', 'OOUI\\Layout' => $vendorDir . '/oojs/oojs-ui/php/Layout.php', 'OOUI\\MediaWikiTheme' => $vendorDir . '/oojs/oojs-ui/php/themes/MediaWikiTheme.php', 'OOUI\\PanelLayout' => $vendorDir . '/oojs/oojs-ui/php/layouts/PanelLayout.php', 'OOUI\\RadioInputWidget' => $vendorDir . '/oojs/oojs-ui/php/widgets/RadioInputWidget.php', - 'OOUI\\TabIndexedElement' => $vendorDir . '/oojs/oojs-ui/php/elements/TabIndexedElement.php', + 'OOUI\\RadioSelectInputWidget' => $vendorDir . '/oojs/oojs-ui/php/widgets/RadioSelectInputWidget.php', + 'OOUI\\TabIndexedElement' => $vendorDir . '/oojs/oojs-ui/php/mixins/TabIndexedElement.php', 'OOUI\\Tag' => $vendorDir . '/oojs/oojs-ui/php/Tag.php', 'OOUI\\TextInputWidget' => $vendorDir . '/oojs/oojs-ui/php/widgets/TextInputWidget.php', 'OOUI\\Theme' => $vendorDir . '/oojs/oojs-ui/php/Theme.php', - 'OOUI\\TitledElement' => $vendorDir . '/oojs/oojs-ui/php/elements/TitledElement.php', + 'OOUI\\TitledElement' => $vendorDir . '/oojs/oojs-ui/php/mixins/TitledElement.php', 'OOUI\\Widget' => $vendorDir . '/oojs/oojs-ui/php/Widget.php', 'Psr\\Log\\AbstractLogger' => $vendorDir . '/psr/log/Psr/Log/AbstractLogger.php', 'Psr\\Log\\InvalidArgumentException' => $vendorDir . '/psr/log/Psr/Log/InvalidArgumentException.php', @@ -325,13 +505,56 @@ return array( 'Psr\\Log\\LoggerAwareInterface' => $vendorDir . '/psr/log/Psr/Log/LoggerAwareInterface.php', 'Psr\\Log\\LoggerInterface' => $vendorDir . '/psr/log/Psr/Log/LoggerInterface.php', 'Psr\\Log\\NullLogger' => $vendorDir . '/psr/log/Psr/Log/NullLogger.php', + 'Psr\\Log\\Test\\DummyTest' => $vendorDir . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php', + 'Psr\\Log\\Test\\LoggerInterfaceTest' => $vendorDir . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php', + 'SignatureInvalidException' => $vendorDir . '/firebase/php-jwt/Exceptions/SignatureInvalidException.php', + 'Symfony\\Component\\Process\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/process/Exception/ExceptionInterface.php', + 'Symfony\\Component\\Process\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/process/Exception/InvalidArgumentException.php', + 'Symfony\\Component\\Process\\Exception\\LogicException' => $vendorDir . '/symfony/process/Exception/LogicException.php', + 'Symfony\\Component\\Process\\Exception\\ProcessFailedException' => $vendorDir . '/symfony/process/Exception/ProcessFailedException.php', + 'Symfony\\Component\\Process\\Exception\\ProcessTimedOutException' => $vendorDir . '/symfony/process/Exception/ProcessTimedOutException.php', + 'Symfony\\Component\\Process\\Exception\\RuntimeException' => $vendorDir . '/symfony/process/Exception/RuntimeException.php', + 'Symfony\\Component\\Process\\ExecutableFinder' => $vendorDir . '/symfony/process/ExecutableFinder.php', + 'Symfony\\Component\\Process\\PhpExecutableFinder' => $vendorDir . '/symfony/process/PhpExecutableFinder.php', + 'Symfony\\Component\\Process\\PhpProcess' => $vendorDir . '/symfony/process/PhpProcess.php', + 'Symfony\\Component\\Process\\Pipes\\AbstractPipes' => $vendorDir . '/symfony/process/Pipes/AbstractPipes.php', + 'Symfony\\Component\\Process\\Pipes\\PipesInterface' => $vendorDir . '/symfony/process/Pipes/PipesInterface.php', + 'Symfony\\Component\\Process\\Pipes\\UnixPipes' => $vendorDir . '/symfony/process/Pipes/UnixPipes.php', + 'Symfony\\Component\\Process\\Pipes\\WindowsPipes' => $vendorDir . '/symfony/process/Pipes/WindowsPipes.php', + 'Symfony\\Component\\Process\\Process' => $vendorDir . '/symfony/process/Process.php', + 'Symfony\\Component\\Process\\ProcessBuilder' => $vendorDir . '/symfony/process/ProcessBuilder.php', + 'Symfony\\Component\\Process\\ProcessUtils' => $vendorDir . '/symfony/process/ProcessUtils.php', + 'Symfony\\Component\\Process\\Tests\\AbstractProcessTest' => $vendorDir . '/symfony/process/Tests/AbstractProcessTest.php', + 'Symfony\\Component\\Process\\Tests\\ExecutableFinderTest' => $vendorDir . '/symfony/process/Tests/ExecutableFinderTest.php', + 'Symfony\\Component\\Process\\Tests\\NonStringifiable' => $vendorDir . '/symfony/process/Tests/AbstractProcessTest.php', + 'Symfony\\Component\\Process\\Tests\\PhpExecutableFinderTest' => $vendorDir . '/symfony/process/Tests/PhpExecutableFinderTest.php', + 'Symfony\\Component\\Process\\Tests\\PhpProcessTest' => $vendorDir . '/symfony/process/Tests/PhpProcessTest.php', + 'Symfony\\Component\\Process\\Tests\\ProcessBuilderTest' => $vendorDir . '/symfony/process/Tests/ProcessBuilderTest.php', + 'Symfony\\Component\\Process\\Tests\\ProcessFailedExceptionTest' => $vendorDir . '/symfony/process/Tests/ProcessFailedExceptionTest.php', + 'Symfony\\Component\\Process\\Tests\\ProcessInSigchildEnvironment' => $vendorDir . '/symfony/process/Tests/ProcessInSigchildEnvironment.php', + 'Symfony\\Component\\Process\\Tests\\ProcessUtilsTest' => $vendorDir . '/symfony/process/Tests/ProcessUtilsTest.php', + 'Symfony\\Component\\Process\\Tests\\SigchildDisabledProcessTest' => $vendorDir . '/symfony/process/Tests/SigchildDisabledProcessTest.php', + 'Symfony\\Component\\Process\\Tests\\SigchildEnabledProcessTest' => $vendorDir . '/symfony/process/Tests/SigchildEnabledProcessTest.php', + 'Symfony\\Component\\Process\\Tests\\SimpleProcessTest' => $vendorDir . '/symfony/process/Tests/SimpleProcessTest.php', + 'Symfony\\Component\\Process\\Tests\\Stringifiable' => $vendorDir . '/symfony/process/Tests/AbstractProcessTest.php', 'UtfNormal\\Constants' => $vendorDir . '/wikimedia/utfnormal/src/Constants.php', 'UtfNormal\\Utils' => $vendorDir . '/wikimedia/utfnormal/src/Util.php', 'UtfNormal\\Validator' => $vendorDir . '/wikimedia/utfnormal/src/Validator.php', + 'Wikimedia\\Assert\\Assert' => $vendorDir . '/wikimedia/assert/src/Assert.php', + 'Wikimedia\\Assert\\AssertionException' => $vendorDir . '/wikimedia/assert/src/AssertionException.php', + 'Wikimedia\\Assert\\InvariantException' => $vendorDir . '/wikimedia/assert/src/InvariantException.php', + 'Wikimedia\\Assert\\ParameterAssertionException' => $vendorDir . '/wikimedia/assert/src/ParameterAssertionException.php', + 'Wikimedia\\Assert\\ParameterElementTypeException' => $vendorDir . '/wikimedia/assert/src/ParameterElementTypeException.php', + 'Wikimedia\\Assert\\ParameterTypeException' => $vendorDir . '/wikimedia/assert/src/ParameterTypeException.php', + 'Wikimedia\\Assert\\PostconditionException' => $vendorDir . '/wikimedia/assert/src/PostconditionException.php', + 'Wikimedia\\Assert\\PreconditionException' => $vendorDir . '/wikimedia/assert/src/PreconditionException.php', + 'Wikimedia\\Assert\\Test\\AssertTest' => $vendorDir . '/wikimedia/assert/tests/phpunit/AssertTest.php', + 'Wikimedia\\Composer\\Logger' => $vendorDir . '/wikimedia/composer-merge-plugin/src/Logger.php', 'Wikimedia\\Composer\\MergePlugin' => $vendorDir . '/wikimedia/composer-merge-plugin/src/MergePlugin.php', - 'lessc' => $vendorDir . '/leafo/lessphp/lessc.inc.php', - 'lessc_formatter_classic' => $vendorDir . '/leafo/lessphp/lessc.inc.php', - 'lessc_formatter_compressed' => $vendorDir . '/leafo/lessphp/lessc.inc.php', - 'lessc_formatter_lessjs' => $vendorDir . '/leafo/lessphp/lessc.inc.php', - 'lessc_parser' => $vendorDir . '/leafo/lessphp/lessc.inc.php', + 'Wikimedia\\Composer\\Merge\\ExtraPackage' => $vendorDir . '/wikimedia/composer-merge-plugin/src/Merge/ExtraPackage.php', + 'Wikimedia\\Composer\\Merge\\MissingFileException' => $vendorDir . '/wikimedia/composer-merge-plugin/src/Merge/MissingFileException.php', + 'Wikimedia\\Composer\\Merge\\PluginState' => $vendorDir . '/wikimedia/composer-merge-plugin/src/Merge/PluginState.php', + 'Wikimedia\\Composer\\Merge\\StabilityFlags' => $vendorDir . '/wikimedia/composer-merge-plugin/src/Merge/StabilityFlags.php', + 'WrappedString\\WrappedString' => $vendorDir . '/wikimedia/wrappedstring/src/WrappedString.php', + 'lessc' => $vendorDir . '/oyejorge/less.php/lessc.inc.php', ); diff --git a/vendor/composer/autoload_files.php b/vendor/composer/autoload_files.php new file mode 100644 index 00000000..fba07a7c --- /dev/null +++ b/vendor/composer/autoload_files.php @@ -0,0 +1,10 @@ +<?php + +// autoload_files.php @generated by Composer + +$vendorDir = dirname(dirname(__FILE__)); +$baseDir = $vendorDir; + +return array( + $vendorDir . '/mediawiki/at-ease/src/Functions.php', +); diff --git a/vendor/composer/autoload_namespaces.php b/vendor/composer/autoload_namespaces.php index fd316bf5..653e51b2 100644 --- a/vendor/composer/autoload_namespaces.php +++ b/vendor/composer/autoload_namespaces.php @@ -8,7 +8,7 @@ $baseDir = $vendorDir; return array( 'Psr\\Log\\' => array($vendorDir . '/psr/log'), 'Liuggio' => array($vendorDir . '/liuggio/statsd-php-client/src'), - 'Elastica\\Test' => array($vendorDir . '/ruflin/elastica/test/lib'), - 'Elastica' => array($vendorDir . '/ruflin/elastica/lib'), - '' => array($vendorDir . '/cssjanus/cssjanus/src'), + 'Less' => array($vendorDir . '/oyejorge/less.php/lib'), + 'Kafka\\' => array($vendorDir . '/nmred/kafka-php/src'), + '' => array($vendorDir . '/cssjanus/cssjanus/src', $vendorDir . '/kzykhys/pygments/src'), ); diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php index abd6ba84..9bba7ec0 100644 --- a/vendor/composer/autoload_psr4.php +++ b/vendor/composer/autoload_psr4.php @@ -6,6 +6,12 @@ $vendorDir = dirname(dirname(__FILE__)); $baseDir = $vendorDir; return array( + 'WrappedString\\' => array($vendorDir . '/wikimedia/wrappedstring/src'), 'Wikimedia\\Composer\\' => array($vendorDir . '/wikimedia/composer-merge-plugin/src'), + 'Wikimedia\\Assert\\Test\\' => array($vendorDir . '/wikimedia/assert/tests/phpunit'), + 'Wikimedia\\Assert\\' => array($vendorDir . '/wikimedia/assert/src'), + 'Symfony\\Component\\Process\\' => array($vendorDir . '/symfony/process'), 'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'), + 'Elastica\\' => array($vendorDir . '/ruflin/elastica/lib/Elastica'), + 'Composer\\Semver\\' => array($vendorDir . '/composer/semver/src'), ); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 10158fed..c98cf206 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -41,6 +41,11 @@ class ComposerAutoloaderInit_mediawiki_vendor $loader->setClassMapAuthoritative(true); $loader->register(false); + $includeFiles = require __DIR__ . '/autoload_files.php'; + foreach ($includeFiles as $file) { + composerRequire_mediawiki_vendor($file); + } + return $loader; } } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 20564c68..62c92430 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -40,67 +40,6 @@ ] }, { - "name": "ruflin/elastica", - "version": "v1.3.0.0", - "version_normalized": "1.3.0.0", - "source": { - "type": "git", - "url": "https://github.com/ruflin/Elastica.git", - "reference": "92155a36c94ebe15b09661ae804acbe4bdd4ad6b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ruflin/Elastica/zipball/92155a36c94ebe15b09661ae804acbe4bdd4ad6b", - "reference": "92155a36c94ebe15b09661ae804acbe4bdd4ad6b", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "munkie/elasticsearch-thrift-php": "1.4.*", - "phpunit/phpunit": "4.1.*", - "psr/log": "~1.0", - "satooshi/php-coveralls": "dev-master" - }, - "suggest": { - "guzzlehttp/guzzle": "Allow using guzzle 4.x as the http transport (requires php 5.4)", - "monolog/monolog": "Logging request", - "munkie/elasticsearch-thrift-php": "Allow using thrift transport", - "psr/log": "for logging" - }, - "time": "2014-07-27 13:45:09", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Elastica": "lib/", - "Elastica\\Test": "test/lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache 2.0" - ], - "authors": [ - { - "name": "Nicolas Ruflin", - "homepage": "http://ruflin.com/" - } - ], - "description": "Elasticsearch Client", - "homepage": "http://elastica.io/", - "keywords": [ - "client", - "search" - ] - }, - { "name": "cssjanus/cssjanus", "version": "v1.1.1", "version_normalized": "1.1.1.0", @@ -138,107 +77,65 @@ "description": "Convert CSS stylesheets between left-to-right and right-to-left." }, { - "name": "leafo/lessphp", - "version": "v0.5.0", - "version_normalized": "0.5.0.0", - "source": { - "type": "git", - "url": "https://github.com/leafo/lessphp.git", - "reference": "0f5a7f5545d2bcf4e9fad9a228c8ad89cc9aa283" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/leafo/lessphp/zipball/0f5a7f5545d2bcf4e9fad9a228c8ad89cc9aa283", - "reference": "0f5a7f5545d2bcf4e9fad9a228c8ad89cc9aa283", - "shasum": "" - }, - "time": "2014-11-24 18:39:20", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.4.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "classmap": [ - "lessc.inc.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT", - "GPL-3.0" - ], - "authors": [ - { - "name": "Leaf Corcoran", - "email": "leafot@gmail.com", - "homepage": "http://leafo.net" - } - ], - "description": "lessphp is a compiler for LESS written in PHP.", - "homepage": "http://leafo.net/lessphp/" - }, - { - "name": "wikimedia/cdb", - "version": "1.0.1", - "version_normalized": "1.0.1.0", + "name": "wikimedia/assert", + "version": "v0.2.2", + "version_normalized": "0.2.2.0", "source": { "type": "git", - "url": "https://github.com/wikimedia/cdb.git", - "reference": "3b7d5366c88eccf2517ebac57c59eb557c82f46c" + "url": "https://github.com/wmde/Assert.git", + "reference": "2da55927525975f8d52825fc3ee02e5e36f5036c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wikimedia/cdb/zipball/3b7d5366c88eccf2517ebac57c59eb557c82f46c", - "reference": "3b7d5366c88eccf2517ebac57c59eb557c82f46c", + "url": "https://api.github.com/repos/wmde/Assert/zipball/2da55927525975f8d52825fc3ee02e5e36f5036c", + "reference": "2da55927525975f8d52825fc3ee02e5e36f5036c", "shasum": "" }, - "require": { - "php": ">=5.3.2" - }, "require-dev": { - "phpunit/phpunit": "*" + "phpunit/phpunit": "3.7.*" }, - "time": "2014-12-08 19:26:44", + "time": "2015-04-29 17:23:50", "type": "library", "installation-source": "dist", "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Wikimedia\\Assert\\": "src/", + "Wikimedia\\Assert\\Test\\": "tests/phpunit/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "GPL-2.0" + "MIT" ], "authors": [ { - "name": "Tim Starling", - "email": "tstarling@wikimedia.org" - }, - { - "name": "Chad Horohoe", - "email": "chad@wikimedia.org" + "name": "Daniel Kinzler" } ], - "description": "Constant Database (CDB) wrapper library for PHP. Provides pure-PHP fallback when dba_* functions are absent.", - "homepage": "https://www.mediawiki.org/wiki/CDB" + "description": "Provides runtime assertions", + "homepage": "https://github.com/wmde/Assert", + "keywords": [ + "assert", + "assertions", + "php", + "postcondition", + "precondition", + "qa" + ] }, { "name": "zordius/lightncandy", - "version": "v0.18", - "version_normalized": "0.18.0.0", + "version": "v0.21", + "version_normalized": "0.21.0.0", "source": { "type": "git", "url": "https://github.com/zordius/lightncandy.git", - "reference": "24be6909c37391f4648ce1fdf19036b11bd56d05" + "reference": "015fed62d0ae6fe7601d3910b8e4b6a6964f86a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zordius/lightncandy/zipball/24be6909c37391f4648ce1fdf19036b11bd56d05", - "reference": "24be6909c37391f4648ce1fdf19036b11bd56d05", + "url": "https://api.github.com/repos/zordius/lightncandy/zipball/015fed62d0ae6fe7601d3910b8e4b6a6964f86a0", + "reference": "015fed62d0ae6fe7601d3910b8e4b6a6964f86a0", "shasum": "" }, "require": { @@ -247,7 +144,7 @@ "require-dev": { "phpunit/phpunit": "4.0.17" }, - "time": "2015-01-01 04:37:19", + "time": "2015-05-08 01:56:46", "type": "library", "installation-source": "dist", "autoload": { @@ -276,18 +173,51 @@ ] }, { + "name": "kzykhys/pygments", + "version": "v1.0.0", + "version_normalized": "1.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/kzykhys/Pygments.php.git", + "reference": "7bde970d3c378d075ef0e005bb93a91055e17994" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kzykhys/Pygments.php/zipball/7bde970d3c378d075ef0e005bb93a91055e17994", + "reference": "7bde970d3c378d075ef0e005bb93a91055e17994", + "shasum": "" + }, + "require": { + "php": ">=5.3.2", + "symfony/process": ">=2.3" + }, + "require-dev": { + "symfony/finder": ">=2.3" + }, + "time": "2013-12-18 15:22:37", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-0": { + "": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "description": "A Thin Wrapper for the Python Pygments" + }, + { "name": "monolog/monolog", - "version": "1.12.0", - "version_normalized": "1.12.0.0", + "version": "1.14.0", + "version_normalized": "1.14.0.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "1fbe8c2641f2b163addf49cc5e18f144bec6b19f" + "reference": "b287fbbe1ca27847064beff2bad7fb6920bf08cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/1fbe8c2641f2b163addf49cc5e18f144bec6b19f", - "reference": "1fbe8c2641f2b163addf49cc5e18f144bec6b19f", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/b287fbbe1ca27847064beff2bad7fb6920bf08cc", + "reference": "b287fbbe1ca27847064beff2bad7fb6920bf08cc", "shasum": "" }, "require": { @@ -298,12 +228,15 @@ "psr/log-implementation": "1.0.0" }, "require-dev": { - "aws/aws-sdk-php": "~2.4, >2.4.8", + "aws/aws-sdk-php": "^2.4.9", "doctrine/couchdb": "~1.0@dev", "graylog2/gelf-php": "~1.0", - "phpunit/phpunit": "~4.0", - "raven/raven": "~0.5", - "ruflin/elastica": "0.90.*", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit": "~4.5", + "phpunit/phpunit-mock-objects": "2.3.0", + "raven/raven": "~0.8", + "ruflin/elastica": ">=0.90 <3.0", + "swiftmailer/swiftmailer": "~5.3", "videlalvaro/php-amqplib": "~2.4" }, "suggest": { @@ -312,16 +245,17 @@ "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", "ext-mongo": "Allow sending log messages to a MongoDB server", "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "php-console/php-console": "Allow sending log messages to Google Chrome", "raven/raven": "Allow sending log messages to a Sentry server", "rollbar/rollbar": "Allow sending log messages to Rollbar", "ruflin/elastica": "Allow sending log messages to an Elastic Search server", "videlalvaro/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib" }, - "time": "2014-12-29 21:29:35", + "time": "2015-06-19 13:29:54", "type": "library", "extra": { "branch-alias": { - "dev-master": "1.12.x-dev" + "dev-master": "1.14.x-dev" } }, "installation-source": "dist", @@ -350,78 +284,140 @@ ] }, { - "name": "wikimedia/composer-merge-plugin", - "version": "v1.0.0", - "version_normalized": "1.0.0.0", + "name": "liuggio/statsd-php-client", + "version": "v1.0.16", + "version_normalized": "1.0.16.0", "source": { "type": "git", - "url": "https://github.com/wikimedia/composer-merge-plugin.git", - "reference": "ed426b785f9f786b33be4fd78584e43f4e962356" + "url": "https://github.com/liuggio/statsd-php-client.git", + "reference": "a84fbef1a7afbfafd0ca4f1ebae4935bd1a7d920" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wikimedia/composer-merge-plugin/zipball/ed426b785f9f786b33be4fd78584e43f4e962356", - "reference": "ed426b785f9f786b33be4fd78584e43f4e962356", + "url": "https://api.github.com/repos/liuggio/statsd-php-client/zipball/a84fbef1a7afbfafd0ca4f1ebae4935bd1a7d920", + "reference": "a84fbef1a7afbfafd0ca4f1ebae4935bd1a7d920", "shasum": "" }, "require": { - "composer-plugin-api": "1.0.0", "php": ">=5.3.2" }, "require-dev": { - "composer/composer": "1.0.*@dev", - "jakub-onderka/php-parallel-lint": "~0.8", - "phpspec/prophecy-phpunit": "~1.0", - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~2.1.0" + "monolog/monolog": ">=1.2.0" }, - "time": "2015-02-21 00:57:13", - "type": "composer-plugin", - "extra": { - "class": "Wikimedia\\Composer\\MergePlugin" + "suggest": { + "monolog/monolog": "Monolog, in order to do generate statistic from log >=1.2.0)" + }, + "time": "2015-04-27 08:12:26", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-0": { + "Liuggio": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Giulio De Donato", + "email": "liuggio@gmail.com" + } + ], + "description": "Statsd (Object Oriented) client library for PHP", + "homepage": "https://github.com/liuggio/statsd-php-client/", + "keywords": [ + "etsy", + "monitoring", + "php", + "statsd" + ] + }, + { + "name": "wikimedia/wrappedstring", + "version": "v2.0.0", + "version_normalized": "2.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/wikimedia/WrappedString.git", + "reference": "1b27e0ea23bd915644dade17c3fe1e45fdbadf11" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wikimedia/WrappedString/zipball/1b27e0ea23bd915644dade17c3fe1e45fdbadf11", + "reference": "1b27e0ea23bd915644dade17c3fe1e45fdbadf11", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "jakub-onderka/php-parallel-lint": "^0.9.0.0", + "mediawiki/mediawiki-codesniffer": "^0.3.0.0", + "phpunit/phpunit": "^4.7.7.0" }, + "time": "2015-07-31 00:06:22", + "type": "library", "installation-source": "dist", "autoload": { "psr-4": { - "Wikimedia\\Composer\\": "src/" + "WrappedString\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Composer plugin to merge multiple composer.json files" + "authors": [ + { + "name": "Timo Tijhof", + "email": "krinklemail@gmail.com" + } + ], + "description": "Automatically compact sequentially-outputted strings that share a common prefix / suffix pair.", + "homepage": "https://www.mediawiki.org/wiki/WrappedString" }, { - "name": "liuggio/statsd-php-client", - "version": "v1.0.12", - "version_normalized": "1.0.12.0", + "name": "ruflin/elastica", + "version": "2.2.0", + "version_normalized": "2.2.0.0", "source": { "type": "git", - "url": "https://github.com/liuggio/statsd-php-client.git", - "reference": "a8c9ccd2a3af6cc49c7fc4f5f689d7b148ab19d7" + "url": "https://github.com/ruflin/Elastica.git", + "reference": "eb3a787259a6c50f87bce507ff24b124d91c4fe7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/liuggio/statsd-php-client/zipball/a8c9ccd2a3af6cc49c7fc4f5f689d7b148ab19d7", - "reference": "a8c9ccd2a3af6cc49c7fc4f5f689d7b148ab19d7", + "url": "https://api.github.com/repos/ruflin/Elastica/zipball/eb3a787259a6c50f87bce507ff24b124d91c4fe7", + "reference": "eb3a787259a6c50f87bce507ff24b124d91c4fe7", "shasum": "" }, "require": { - "php": ">=5.2" + "php": ">=5.3.3", + "psr/log": "~1.0" }, "require-dev": { - "monolog/monolog": ">=1.2.0" + "guzzlehttp/guzzle": "5.3.*", + "munkie/elasticsearch-thrift-php": "1.4.*" }, "suggest": { - "monolog/monolog": "Monolog, in order to do generate statistic from log >=1.2.0)" + "egeloen/http-adapter": "Allow using httpadapter transport", + "guzzlehttp/guzzle": "Allow using guzzle 5.3.x as the http transport (Requires php 5.4)", + "monolog/monolog": "Logging request", + "munkie/elasticsearch-thrift-php": "Allow using thrift transport" }, - "time": "2014-09-17 21:37:49", + "time": "2015-07-08 05:57:43", "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, "installation-source": "dist", "autoload": { - "psr-0": { - "Liuggio": "src/" + "psr-4": { + "Elastica\\": "lib/Elastica/" } }, "notification-url": "https://packagist.org/downloads/", @@ -430,32 +426,171 @@ ], "authors": [ { - "name": "Giulio De Donato", - "email": "liuggio@gmail.com" + "name": "Nicolas Ruflin", + "homepage": "http://ruflin.com/" } ], - "description": "Statsd (Object Oriented) client library for PHP", - "homepage": "https://github.com/liuggio/statsd-php-client/", + "description": "Elasticsearch Client", + "homepage": "http://elastica.io/", "keywords": [ - "etsy", - "monitoring", - "php", - "statsd" + "client", + "search" ] }, { + "name": "symfony/process", + "version": "v2.7.3", + "version_normalized": "2.7.3.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/Process.git", + "reference": "48aeb0e48600321c272955132d7606ab0a49adb3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/Process/zipball/48aeb0e48600321c272955132d7606ab0a49adb3", + "reference": "48aeb0e48600321c272955132d7606ab0a49adb3", + "shasum": "" + }, + "require": { + "php": ">=5.3.9" + }, + "require-dev": { + "symfony/phpunit-bridge": "~2.7" + }, + "time": "2015-07-01 11:25:50", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.7-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + } + }, + "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" + }, + { + "name": "firebase/php-jwt", + "version": "v2.1.0", + "version_normalized": "2.1.0.0", + "source": { + "type": "git", + "url": "https://github.com/firebase/php-jwt.git", + "reference": "fb219727e199dd80a72d5274ebb5c8b24d58dd9b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/fb219727e199dd80a72d5274ebb5c8b24d58dd9b", + "reference": "fb219727e199dd80a72d5274ebb5c8b24d58dd9b", + "shasum": "" + }, + "require": { + "php": ">=5.2.0" + }, + "time": "2015-05-20 19:16:04", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "Authentication/", + "Exceptions/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Neuman Vong", + "email": "neuman+pear@twilio.com", + "role": "Developer" + }, + { + "name": "Anant Narayanan", + "email": "anant@php.net", + "role": "Developer" + } + ], + "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.", + "homepage": "https://github.com/firebase/php-jwt" + }, + { + "name": "wikimedia/ip-set", + "version": "1.0.1", + "version_normalized": "1.0.1.0", + "source": { + "type": "git", + "url": "https://github.com/wikimedia/IPSet.git", + "reference": "3c2dd6706546fe616e6ceba02044e64dce4fc9be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wikimedia/IPSet/zipball/3c2dd6706546fe616e6ceba02044e64dce4fc9be", + "reference": "3c2dd6706546fe616e6ceba02044e64dce4fc9be", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "jakub-onderka/php-parallel-lint": "0.9", + "mediawiki/mediawiki-codesniffer": "0.3.0", + "phpunit/phpunit": "4.6.*" + }, + "time": "2015-06-29 20:21:27", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0+" + ], + "authors": [ + { + "name": "Brandon Black", + "email": "blblack@gmail.com" + } + ], + "description": "Efficiently match IP addresses against a set of CIDR specifications.", + "homepage": "https://github.com/wikimedia/IPSet" + }, + { "name": "wikimedia/utfnormal", - "version": "v1.0.2", - "version_normalized": "1.0.2.0", + "version": "v1.0.3", + "version_normalized": "1.0.3.0", "source": { "type": "git", "url": "https://github.com/wikimedia/utfnormal.git", - "reference": "bb892a53a76116ad0982445a849043687cb6e778" + "reference": "bcb81d1d87bae400af45cc419a850dcf9883775b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wikimedia/utfnormal/zipball/bb892a53a76116ad0982445a849043687cb6e778", - "reference": "bb892a53a76116ad0982445a849043687cb6e778", + "url": "https://api.github.com/repos/wikimedia/utfnormal/zipball/bcb81d1d87bae400af45cc419a850dcf9883775b", + "reference": "bcb81d1d87bae400af45cc419a850dcf9883775b", "shasum": "" }, "require": { @@ -465,10 +600,10 @@ "ext-mbstring": "*", "jakub-onderka/php-parallel-lint": "0.8.*", "mediawiki/mediawiki-codesniffer": "0.1.0", - "phpunit/phpunit": "4.4.*", - "squizlabs/php_codesniffer": "2.1.*" + "phpunit/phpunit": "4.6.*", + "squizlabs/php_codesniffer": "2.2.*" }, - "time": "2015-03-12 01:54:47", + "time": "2015-08-29 14:13:27", "type": "library", "installation-source": "dist", "autoload": { @@ -486,32 +621,370 @@ "email": "bvibber@wikimedia.org" } ], + "description": "Contains Unicode normalization routines, including both pure PHP implementations and automatic use of the 'intl' PHP extension when present", "homepage": "https://www.mediawiki.org/wiki/utfnormal" }, { + "name": "wikimedia/cdb", + "version": "1.3.0", + "version_normalized": "1.3.0.0", + "source": { + "type": "git", + "url": "https://github.com/wikimedia/cdb.git", + "reference": "68f8fd495ca94ca0e965dd511e234893c515bb95" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wikimedia/cdb/zipball/68f8fd495ca94ca0e965dd511e234893c515bb95", + "reference": "68f8fd495ca94ca0e965dd511e234893c515bb95", + "shasum": "" + }, + "require": { + "php": ">=5.3.2" + }, + "require-dev": { + "jakub-onderka/php-parallel-lint": "0.9", + "mediawiki/mediawiki-codesniffer": "0.3.0", + "phpunit/phpunit": "4.6.*" + }, + "time": "2015-09-08 19:53:04", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0+" + ], + "authors": [ + { + "name": "Tim Starling", + "email": "tstarling@wikimedia.org" + }, + { + "name": "Chad Horohoe", + "email": "chad@wikimedia.org" + }, + { + "name": "Ori Livneh", + "email": "ori@wikimedia.org" + } + ], + "description": "Constant Database (CDB) wrapper library for PHP. Provides pure-PHP fallback when dba_* functions are absent.", + "homepage": "https://www.mediawiki.org/wiki/CDB" + }, + { + "name": "nmred/kafka-php", + "version": "v0.1.4", + "version_normalized": "0.1.4.0", + "source": { + "type": "git", + "url": "https://github.com/nmred/kafka-php.git", + "reference": "06817c95e40b23918c3a420960ee9526e499275d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nmred/kafka-php/zipball/06817c95e40b23918c3a420960ee9526e499275d", + "reference": "06817c95e40b23918c3a420960ee9526e499275d", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpcov": "*", + "phpunit/phpunit": "~4.0", + "satooshi/php-coveralls": "dev-master" + }, + "time": "2015-09-06 01:39:05", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-0": { + "Kafka\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Kafka client for php", + "homepage": "http://www.swanlinux.net", + "keywords": [ + "client", + "kafka" + ] + }, + { + "name": "wikimedia/avro", + "version": "v1.7.7", + "version_normalized": "1.7.7.0", + "source": { + "type": "git", + "url": "https://github.com/wikimedia/avro-php.git", + "reference": "b642da9fd895aab7cb3261a22624228115471f47" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wikimedia/avro-php/zipball/b642da9fd895aab7cb3261a22624228115471f47", + "reference": "b642da9fd895aab7cb3261a22624228115471f47", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "jakub-onderka/php-parallel-lint": "^0.9", + "phpunit/phpunit": "^4.0.0" + }, + "suggest": { + "ext-gmp": "Large integer support for 32-bit platforms." + }, + "time": "2015-09-05 18:49:27", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "lib/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Michael Glaesemann", + "email": "grzm@seespotcode.net" + }, + { + "name": "Andy Wick", + "email": "awick@purple.org" + }, + { + "name": "Saleem Shafi", + "email": "saleemshafi@gmail.com" + }, + { + "name": "A B", + "email": "abawany@x.com" + }, + { + "name": "Doug Cutting", + "email": "cutting@apache.org" + }, + { + "name": "Tom White", + "email": "tom@cloudera.com" + } + ], + "description": "A library for using Apache Avro with PHP.", + "homepage": "https://avro.apache.org/", + "keywords": [ + "serialization" + ] + }, + { + "name": "mediawiki/at-ease", + "version": "v1.1.0", + "version_normalized": "1.1.0.0", + "source": { + "type": "git", + "url": "https://github.com/wikimedia/at-ease.git", + "reference": "94c0b84888841d160419f915c2745d9d08fbf0c3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wikimedia/at-ease/zipball/94c0b84888841d160419f915c2745d9d08fbf0c3", + "reference": "94c0b84888841d160419f915c2745d9d08fbf0c3", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "jakub-onderka/php-parallel-lint": "0.9", + "mediawiki/mediawiki-codesniffer": "0.3.0", + "phpunit/phpunit": "~4.5", + "squizlabs/php_codesniffer": "2.3.0" + }, + "time": "2015-09-18 07:02:06", + "type": "library", + "installation-source": "dist", + "autoload": { + "files": [ + "src/Functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0+" + ], + "authors": [ + { + "name": "Tim Starling", + "email": "tstarling@wikimedia.org" + }, + { + "name": "MediaWiki developers", + "email": "wikitech-l@lists.wikimedia.org" + } + ], + "description": "Safe replacement to @ for suppressing warnings.", + "homepage": "https://www.mediawiki.org/wiki/at-ease" + }, + { + "name": "oyejorge/less.php", + "version": "v1.7.0.9", + "version_normalized": "1.7.0.9", + "source": { + "type": "git", + "url": "https://github.com/oyejorge/less.php.git", + "reference": "fb64e2f6ef647a229c50e9fa0f2076240a3484c6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/oyejorge/less.php/zipball/fb64e2f6ef647a229c50e9fa0f2076240a3484c6", + "reference": "fb64e2f6ef647a229c50e9fa0f2076240a3484c6", + "shasum": "" + }, + "require": { + "php": ">=5.3" + }, + "time": "2015-09-28 01:11:47", + "bin": [ + "bin/lessc" + ], + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-0": { + "Less": "lib/" + }, + "classmap": [ + "lessc.inc.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Matt Agar", + "homepage": "https://github.com/agar" + }, + { + "name": "Martin Jantošovič", + "homepage": "https://github.com/Mordred" + }, + { + "name": "Josh Schmidt", + "homepage": "https://github.com/oyejorge" + } + ], + "description": "PHP port of the Javascript version of LESS http://lesscss.org", + "homepage": "http://lessphp.gpeasy.com", + "keywords": [ + "css", + "less", + "less.js", + "lesscss", + "php", + "stylesheet" + ] + }, + { + "name": "composer/semver", + "version": "1.0.0", + "version_normalized": "1.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/composer/semver.git", + "reference": "d0e1ccc6d44ab318b758d709e19176037da6b1ba" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/semver/zipball/d0e1ccc6d44ab318b758d709e19176037da6b1ba", + "reference": "d0e1ccc6d44ab318b758d709e19176037da6b1ba", + "shasum": "" + }, + "require": { + "php": ">=5.3.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "phpunit/phpunit-mock-objects": "~2.3" + }, + "time": "2015-09-21 09:42:36", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.1-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Composer\\Semver\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Rob Bast", + "email": "rob.bast@gmail.com" + }, + { + "name": "Nils Adermann", + "email": "naderman@naderman.de", + "homepage": "http://www.naderman.de" + }, + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "Semver library that offers utilities, version constraint parsing and validation.", + "keywords": [ + "semantic", + "semver", + "validation", + "versioning" + ] + }, + { "name": "oojs/oojs-ui", - "version": "v0.11.3", - "version_normalized": "0.11.3.0", + "version": "v0.12.12", + "version_normalized": "0.12.12.0", "source": { "type": "git", "url": "https://github.com/wikimedia/oojs-ui.git", - "reference": "a03de5681e28e4fad1e27f8cccab32a2c5b484e5" + "reference": "221a66e8df215e767ff4b55b637138a73fcffdb2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wikimedia/oojs-ui/zipball/a03de5681e28e4fad1e27f8cccab32a2c5b484e5", - "reference": "a03de5681e28e4fad1e27f8cccab32a2c5b484e5", + "url": "https://api.github.com/repos/wikimedia/oojs-ui/zipball/221a66e8df215e767ff4b55b637138a73fcffdb2", + "reference": "221a66e8df215e767ff4b55b637138a73fcffdb2", "shasum": "" }, "require": { + "mediawiki/at-ease": "1.1.0", "php": ">=5.3.3" }, "require-dev": { - "jakub-onderka/php-parallel-lint": "0.8.*", - "mediawiki/mediawiki-codesniffer": "0.1.0", - "squizlabs/php_codesniffer": "2.1.*" + "jakub-onderka/php-parallel-lint": "0.9", + "mediawiki/mediawiki-codesniffer": "0.4.0", + "phpunit/phpunit": "~4.5" }, - "time": "2015-05-12 11:58:55", + "time": "2015-10-13 20:29:29", "type": "library", "installation-source": "dist", "autoload": { @@ -523,7 +996,92 @@ "license": [ "MIT" ], + "authors": [ + { + "name": "Bartosz Dziewoński", + "email": "matma.rex@gmail.com" + }, + { + "name": "Ed Sanders", + "email": "esanders@wikimedia.org" + }, + { + "name": "James D. Forrester", + "email": "jforrester@wikimedia.org" + }, + { + "name": "Kirsten Menger-Anderson", + "email": "kmenger@wikimedia.org" + }, + { + "name": "Rob Moen", + "email": "rmoen@wikimedia.org" + }, + { + "name": "Roan Kattouw", + "email": "roan@wikimedia.org" + }, + { + "name": "Timo Tijhof", + "email": "timo@wikimedia.org" + }, + { + "name": "Trevor Parscal", + "email": "trevor@wikimedia.org" + } + ], "description": "Provides library of common widgets, layouts, and windows.", "homepage": "https://www.mediawiki.org/wiki/OOjs_UI" + }, + { + "name": "wikimedia/composer-merge-plugin", + "version": "v1.3.0", + "version_normalized": "1.3.0.0", + "source": { + "type": "git", + "url": "https://github.com/wikimedia/composer-merge-plugin.git", + "reference": "bfed1f8d4eb97e9ba80eee57ea46229d7e5364d9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wikimedia/composer-merge-plugin/zipball/bfed1f8d4eb97e9ba80eee57ea46229d7e5364d9", + "reference": "bfed1f8d4eb97e9ba80eee57ea46229d7e5364d9", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0", + "php": ">=5.3.2" + }, + "require-dev": { + "composer/composer": "1.0.*@dev", + "jakub-onderka/php-parallel-lint": "~0.8", + "phpunit/phpunit": "~4.8|~5.0", + "squizlabs/php_codesniffer": "~2.1.0" + }, + "time": "2015-11-06 20:31:16", + "type": "composer-plugin", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + }, + "class": "Wikimedia\\Composer\\MergePlugin" + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Wikimedia\\Composer\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bryan Davis", + "email": "bd808@wikimedia.org" + } + ], + "description": "Composer plugin to merge multiple composer.json files" } ] diff --git a/vendor/composer/semver/CHANGELOG.md b/vendor/composer/semver/CHANGELOG.md new file mode 100644 index 00000000..8352cb72 --- /dev/null +++ b/vendor/composer/semver/CHANGELOG.md @@ -0,0 +1,28 @@ +# Change Log + +All notable changes to this project will be documented in this file. +This project adheres to [Semantic Versioning](http://semver.org/). + +### [1.0.0] 2015-09-21 + + * Break: `VersionConstraint` renamed to `Constraint`. + * Break: `SpecificConstraint` renamed to `AbstractConstraint`. + * Break: `LinkConstraintInterface` renamed to `ConstraintInterface`. + * Break: `VersionParser::parseNameVersionPairs` was removed. + * Changed: `VersionParser::parseConstraints` allows (but ignores) build metadata now. + * Changed: `VersionParser::parseConstraints` allows (but ignores) prefixing numeric versions with a 'v' now. + * Changed: Fixed namespace(s) of test files. + * Changed: `Comparator::compare` no longer throws `InvalidArgumentException`. + * Changed: `VersionConstraint` now throws `InvalidArgumentException`. + +### [0.1.0] 2015-07-23 + + * Added: `Composer\Semver\Comparator`, various methods to compare versions. + * Added: various documents such as README.md, LICENSE, etc. + * Added: configuration files for Git, Travis, php-cs-fixer, phpunit. + * Break: the following namespaces were renamed: + - Namespace: `Composer\Package\Version` -> `Composer\Semver` + - Namespace: `Composer\Package\LinkConstraint` -> `Composer\Semver\Constraint` + - Namespace: `Composer\Test\Package\Version` -> `Composer\Test\Semver` + - Namespace: `Composer\Test\Package\LinkConstraint` -> `Composer\Test\Semver\Constraint` + * Changed: code style using php-cs-fixer. diff --git a/vendor/composer/semver/LICENSE b/vendor/composer/semver/LICENSE new file mode 100644 index 00000000..46697586 --- /dev/null +++ b/vendor/composer/semver/LICENSE @@ -0,0 +1,19 @@ +Copyright (C) 2015 Composer + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/vendor/composer/semver/README.md b/vendor/composer/semver/README.md new file mode 100644 index 00000000..c8b69798 --- /dev/null +++ b/vendor/composer/semver/README.md @@ -0,0 +1,70 @@ +composer/semver +=============== + +Semver library that offers utilities, version constraint parsing and validation. + +Originally written as part of [composer/composer](https://github.com/composer/composer), +now extracted and made available as a stand-alone library. + +[![Build Status](https://travis-ci.org/composer/semver.svg?branch=master)](https://travis-ci.org/composer/semver) + + +Installation +------------ + +Install the latest version with: + +```bash +$ composer require composer/semver +``` + + +Requirements +------------ + +* PHP 5.3.2 is required but using the latest version of PHP is highly recommended. + + +Version Comparison +------------------ + +For details on how versions are compared, refer to the [Versions](https://getcomposer.org/doc/articles/versions.md) +article in the documentation section of the [getcomposer.org](https://getcomposer.org) website. + + +Basic usage +----------- + +### Comparator + +The `Composer\Semver\Comparator` class provides the following methods for comparing versions: + +* greaterThan($v1, $v2) +* greaterThanOrEqualTo($v1, $v2) +* lessThan($v1, $v2) +* lessThanOrEqualTo($v1, $v2) +* equalTo($v1, $v2) +* notEqualTo($v1, $v2) + +Each function takes two version strings as arguments. For example: + +```php +use Composer\Semver\Comparator; + +Comparator::greaterThan('1.25.0', '1.24.0'); // 1.25.0 > 1.24.0 +``` + +### Semver + +The `Composer\Semver\Semver` class providers the following methods: + +* satisfies($version, $constraints) +* satisfiedBy($constraint, array $versions) +* sort($versions) +* rsort($versions) + + +License +------- + +composer/semver is licensed under the MIT License, see the LICENSE file for details. diff --git a/vendor/composer/semver/composer.json b/vendor/composer/semver/composer.json new file mode 100644 index 00000000..b996186f --- /dev/null +++ b/vendor/composer/semver/composer.json @@ -0,0 +1,57 @@ +{ + "name": "composer/semver", + "description": "Semver library that offers utilities, version constraint parsing and validation.", + "type": "library", + "license": "MIT", + "keywords": [ + "semver", + "semantic", + "versioning", + "validation" + ], + "authors": [ + { + "name": "Nils Adermann", + "email": "naderman@naderman.de", + "homepage": "http://www.naderman.de" + }, + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + }, + { + "name": "Rob Bast", + "email": "rob.bast@gmail.com" + } + ], + "support": { + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/semver/issues" + }, + "require": { + "php": ">=5.3.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.5", + "phpunit/phpunit-mock-objects": "~2.3" + }, + "autoload": { + "psr-4": { + "Composer\\Semver\\": "src" + } + }, + "autoload-dev": { + "psr-4": { + "Composer\\Semver\\Test\\": "tests" + } + }, + "extra": { + "branch-alias": { + "dev-master": "0.1-dev" + } + }, + "scripts": { + "test": "phpunit" + } +} diff --git a/vendor/composer/semver/src/Comparator.php b/vendor/composer/semver/src/Comparator.php new file mode 100644 index 00000000..a9d758f1 --- /dev/null +++ b/vendor/composer/semver/src/Comparator.php @@ -0,0 +1,111 @@ +<?php + +/* + * This file is part of composer/semver. + * + * (c) Composer <https://github.com/composer> + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + +namespace Composer\Semver; + +use Composer\Semver\Constraint\Constraint; + +class Comparator +{ + /** + * Evaluates the expression: $version1 > $version2. + * + * @param string $version1 + * @param string $version2 + * + * @return bool + */ + public static function greaterThan($version1, $version2) + { + return self::compare($version1, '>', $version2); + } + + /** + * Evaluates the expression: $version1 >= $version2. + * + * @param string $version1 + * @param string $version2 + * + * @return bool + */ + public static function greaterThanOrEqualTo($version1, $version2) + { + return self::compare($version1, '>=', $version2); + } + + /** + * Evaluates the expression: $version1 < $version2. + * + * @param string $version1 + * @param string $version2 + * + * @return bool + */ + public static function lessThan($version1, $version2) + { + return self::compare($version1, '<', $version2); + } + + /** + * Evaluates the expression: $version1 <= $version2. + * + * @param string $version1 + * @param string $version2 + * + * @return bool + */ + public static function lessThanOrEqualTo($version1, $version2) + { + return self::compare($version1, '<=', $version2); + } + + /** + * Evaluates the expression: $version1 == $version2. + * + * @param string $version1 + * @param string $version2 + * + * @return bool + */ + public static function equalTo($version1, $version2) + { + return self::compare($version1, '==', $version2); + } + + /** + * Evaluates the expression: $version1 != $version2. + * + * @param string $version1 + * @param string $version2 + * + * @return bool + */ + public static function notEqualTo($version1, $version2) + { + return self::compare($version1, '!=', $version2); + } + + /** + * Evaluates the expression: $version1 $operator $version2. + * + * @param string $version1 + * @param string $operator + * @param string $version2 + * + * @return bool + */ + public static function compare($version1, $operator, $version2) + { + $constraint = new Constraint($operator, $version2); + + return $constraint->matches(new Constraint('==', $version1)); + } +} diff --git a/vendor/composer/semver/src/Constraint/AbstractConstraint.php b/vendor/composer/semver/src/Constraint/AbstractConstraint.php new file mode 100644 index 00000000..ccd834f6 --- /dev/null +++ b/vendor/composer/semver/src/Constraint/AbstractConstraint.php @@ -0,0 +1,65 @@ +<?php + +/* + * This file is part of composer/semver. + * + * (c) Composer <https://github.com/composer> + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + +namespace Composer\Semver\Constraint; + +/** + * Base constraint class. + */ +abstract class AbstractConstraint implements ConstraintInterface +{ + /** @var string */ + protected $prettyString; + + /** + * @param ConstraintInterface $provider + * + * @return bool + */ + public function matches(ConstraintInterface $provider) + { + if ($provider instanceof MultiConstraint) { + // turn matching around to find a match + return $provider->matches($this); + } + + if ($provider instanceof $this) { + // see note at bottom of this class declaration + return $this->matchSpecific($provider); + } + + return true; + } + + /** + * @param string $prettyString + */ + public function setPrettyString($prettyString) + { + $this->prettyString = $prettyString; + } + + /** + * @return string + */ + public function getPrettyString() + { + if ($this->prettyString) { + return $this->prettyString; + } + + return $this->__toString(); + } + + // implementations must implement a method of this format: + // not declared abstract here because type hinting violates parameter coherence (TODO right word?) + // public function matchSpecific(<SpecificConstraintType> $provider); +} diff --git a/vendor/composer/semver/src/Constraint/Constraint.php b/vendor/composer/semver/src/Constraint/Constraint.php new file mode 100644 index 00000000..8bc68db7 --- /dev/null +++ b/vendor/composer/semver/src/Constraint/Constraint.php @@ -0,0 +1,181 @@ +<?php + +/* + * This file is part of composer/semver. + * + * (c) Composer <https://github.com/composer> + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + +namespace Composer\Semver\Constraint; + +/** + * Defines a constraint. + */ +class Constraint extends AbstractConstraint +{ + /* operator integer values */ + const OP_EQ = 0; + const OP_LT = 1; + const OP_LE = 2; + const OP_GT = 3; + const OP_GE = 4; + const OP_NE = 5; + + /** + * Operator to integer translation table. + * + * @var array + */ + private static $transOpStr = array( + '=' => self::OP_EQ, + '==' => self::OP_EQ, + '<' => self::OP_LT, + '<=' => self::OP_LE, + '>' => self::OP_GT, + '>=' => self::OP_GE, + '<>' => self::OP_NE, + '!=' => self::OP_NE, + ); + + /** + * Integer to operator translation table. + * + * @var array + */ + private static $transOpInt = array( + self::OP_EQ => '==', + self::OP_LT => '<', + self::OP_LE => '<=', + self::OP_GT => '>', + self::OP_GE => '>=', + self::OP_NE => '!=', + ); + + /** @var string */ + private $operator; + + /** @var string */ + private $version; + + /** + * Get all supported comparison operators. + * + * @return array + */ + public static function getSupportedOperators() + { + return array_keys(self::$transOpStr); + } + + /** + * Sets operator and version to compare with. + * + * @param string $operator + * @param string $version + * + * @throws \InvalidArgumentException if invalid operator is given. + */ + public function __construct($operator, $version) + { + if (!isset(self::$transOpStr[$operator])) { + throw new \InvalidArgumentException(sprintf( + 'Invalid operator "%s" given, expected one of: %s', + $operator, + implode(', ', self::getSupportedOperators()) + )); + } + + $this->operator = self::$transOpStr[$operator]; + $this->version = $version; + } + + /** + * @param string $a + * @param string $b + * @param string $operator + * @param bool $compareBranches + * + * @throws \InvalidArgumentException if invalid operator is given. + * + * @return bool + */ + public function versionCompare($a, $b, $operator, $compareBranches = false) + { + if (!isset(self::$transOpStr[$operator])) { + throw new \InvalidArgumentException(sprintf( + 'Invalid operator "%s" given, expected one of: %s', + $operator, + implode(', ', self::getSupportedOperators()) + )); + } + + $aIsBranch = 'dev-' === substr($a, 0, 4); + $bIsBranch = 'dev-' === substr($b, 0, 4); + + if ($aIsBranch && $bIsBranch) { + return $operator === '==' && $a === $b; + } + + // when branches are not comparable, we make sure dev branches never match anything + if (!$compareBranches && ($aIsBranch || $bIsBranch)) { + return false; + } + + return version_compare($a, $b, $operator); + } + + /** + * @param Constraint $provider + * @param bool $compareBranches + * + * @return bool + */ + public function matchSpecific(Constraint $provider, $compareBranches = false) + { + $noEqualOp = str_replace('=', '', self::$transOpInt[$this->operator]); + $providerNoEqualOp = str_replace('=', '', self::$transOpInt[$provider->operator]); + + $isEqualOp = self::OP_EQ === $this->operator; + $isNonEqualOp = self::OP_NE === $this->operator; + $isProviderEqualOp = self::OP_EQ === $provider->operator; + $isProviderNonEqualOp = self::OP_NE === $provider->operator; + + // '!=' operator is match when other operator is not '==' operator or version is not match + // these kinds of comparisons always have a solution + if ($isNonEqualOp || $isProviderNonEqualOp) { + return !$isEqualOp && !$isProviderEqualOp + || $this->versionCompare($provider->version, $this->version, '!=', $compareBranches); + } + + // an example for the condition is <= 2.0 & < 1.0 + // these kinds of comparisons always have a solution + if ($this->operator !== self::OP_EQ && $noEqualOp === $providerNoEqualOp) { + return true; + } + + if ($this->versionCompare($provider->version, $this->version, self::$transOpInt[$this->operator], $compareBranches)) { + // special case, e.g. require >= 1.0 and provide < 1.0 + // 1.0 >= 1.0 but 1.0 is outside of the provided interval + if ($provider->version === $this->version + && self::$transOpInt[$provider->operator] === $providerNoEqualOp + && self::$transOpInt[$this->operator] !== $noEqualOp) { + return false; + } + + return true; + } + + return false; + } + + /** + * @return string + */ + public function __toString() + { + return self::$transOpInt[$this->operator] . ' ' . $this->version; + } +} diff --git a/vendor/composer/semver/src/Constraint/ConstraintInterface.php b/vendor/composer/semver/src/Constraint/ConstraintInterface.php new file mode 100644 index 00000000..78c099ce --- /dev/null +++ b/vendor/composer/semver/src/Constraint/ConstraintInterface.php @@ -0,0 +1,37 @@ +<?php + +/* + * This file is part of composer/semver. + * + * (c) Composer <https://github.com/composer> + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + +namespace Composer\Semver\Constraint; + +interface ConstraintInterface +{ + /** + * @param ConstraintInterface $provider + * + * @return bool + */ + public function matches(ConstraintInterface $provider); + + /** + * @param string $prettyString + */ + public function setPrettyString($prettyString); + + /** + * @return string + */ + public function getPrettyString(); + + /** + * @return string + */ + public function __toString(); +} diff --git a/vendor/composer/semver/src/Constraint/EmptyConstraint.php b/vendor/composer/semver/src/Constraint/EmptyConstraint.php new file mode 100644 index 00000000..faba56bf --- /dev/null +++ b/vendor/composer/semver/src/Constraint/EmptyConstraint.php @@ -0,0 +1,59 @@ +<?php + +/* + * This file is part of composer/semver. + * + * (c) Composer <https://github.com/composer> + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + +namespace Composer\Semver\Constraint; + +/** + * Defines the absence of a constraint. + */ +class EmptyConstraint implements ConstraintInterface +{ + /** @var string */ + protected $prettyString; + + /** + * @param ConstraintInterface $provider + * + * @return bool + */ + public function matches(ConstraintInterface $provider) + { + return true; + } + + /** + * @param $prettyString + */ + public function setPrettyString($prettyString) + { + $this->prettyString = $prettyString; + } + + /** + * @return string + */ + public function getPrettyString() + { + if ($this->prettyString) { + return $this->prettyString; + } + + return $this->__toString(); + } + + /** + * @return string + */ + public function __toString() + { + return '[]'; + } +} diff --git a/vendor/composer/semver/src/Constraint/MultiConstraint.php b/vendor/composer/semver/src/Constraint/MultiConstraint.php new file mode 100644 index 00000000..0d769b7c --- /dev/null +++ b/vendor/composer/semver/src/Constraint/MultiConstraint.php @@ -0,0 +1,96 @@ +<?php + +/* + * This file is part of composer/semver. + * + * (c) Composer <https://github.com/composer> + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + +namespace Composer\Semver\Constraint; + +/** + * Defines a conjunctive or disjunctive set of constraints. + */ +class MultiConstraint implements ConstraintInterface +{ + /** @var ConstraintInterface[] */ + protected $constraints; + + /** @var string */ + protected $prettyString; + + /** @var bool */ + protected $conjunctive; + + /** + * @param ConstraintInterface[] $constraints A set of constraints + * @param bool $conjunctive Whether the constraints should be treated as conjunctive or disjunctive + */ + public function __construct(array $constraints, $conjunctive = true) + { + $this->constraints = $constraints; + $this->conjunctive = $conjunctive; + } + + /** + * @param ConstraintInterface $provider + * + * @return bool + */ + public function matches(ConstraintInterface $provider) + { + if (false === $this->conjunctive) { + foreach ($this->constraints as $constraint) { + if ($constraint->matches($provider)) { + return true; + } + } + + return false; + } + + foreach ($this->constraints as $constraint) { + if (!$constraint->matches($provider)) { + return false; + } + } + + return true; + } + + /** + * @param string $prettyString + */ + public function setPrettyString($prettyString) + { + $this->prettyString = $prettyString; + } + + /** + * @return string + */ + public function getPrettyString() + { + if ($this->prettyString) { + return $this->prettyString; + } + + return $this->__toString(); + } + + /** + * @return string + */ + public function __toString() + { + $constraints = array(); + foreach ($this->constraints as $constraint) { + $constraints[] = (string) $constraint; + } + + return '[' . implode($this->conjunctive ? ' ' : ' || ', $constraints) . ']'; + } +} diff --git a/vendor/composer/semver/src/Semver.php b/vendor/composer/semver/src/Semver.php new file mode 100644 index 00000000..0225bb55 --- /dev/null +++ b/vendor/composer/semver/src/Semver.php @@ -0,0 +1,127 @@ +<?php + +/* + * This file is part of composer/semver. + * + * (c) Composer <https://github.com/composer> + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + +namespace Composer\Semver; + +use Composer\Semver\Constraint\Constraint; + +class Semver +{ + const SORT_ASC = 1; + const SORT_DESC = -1; + + /** @var VersionParser */ + private static $versionParser; + + /** + * Determine if given version satisfies given constraints. + * + * @param string $version + * @param string $constraints + * + * @return bool + */ + public static function satisfies($version, $constraints) + { + if (null === self::$versionParser) { + self::$versionParser = new VersionParser(); + } + + $versionParser = self::$versionParser; + $provider = new Constraint('==', $versionParser->normalize($version)); + $constraints = $versionParser->parseConstraints($constraints); + + return $constraints->matches($provider); + } + + /** + * Return all versions that satisfy given constraints. + * + * @param array $versions + * @param string $constraints + * + * @return array + */ + public static function satisfiedBy(array $versions, $constraints) + { + $versions = array_filter($versions, function ($version) use ($constraints) { + return Semver::satisfies($version, $constraints); + }); + + return array_values($versions); + } + + /** + * Sort given array of versions. + * + * @param array $versions + * + * @return array + */ + public static function sort(array $versions) + { + return self::usort($versions, self::SORT_ASC); + } + + /** + * Sort given array of versions in reverse. + * + * @param array $versions + * + * @return array + */ + public static function rsort(array $versions) + { + return self::usort($versions, self::SORT_DESC); + } + + /** + * @param array $versions + * @param int $direction + * + * @return array + */ + private static function usort(array $versions, $direction) + { + if (null === self::$versionParser) { + self::$versionParser = new VersionParser(); + } + + $versionParser = self::$versionParser; + $normalized = array(); + + // Normalize outside of usort() scope for minor performance increase. + // Creates an array of arrays: [[normalized, key], ...] + foreach ($versions as $key => $version) { + $normalized[] = array($versionParser->normalize($version), $key); + } + + usort($normalized, function (array $left, array $right) use ($direction) { + if ($left[0] === $right[0]) { + return 0; + } + + if (Comparator::lessThan($left[0], $right[0])) { + return -$direction; + } + + return $direction; + }); + + // Recreate input array, using the original indexes which are now in sorted order. + $sorted = array(); + foreach ($normalized as $item) { + $sorted[] = $versions[$item[1]]; + } + + return $sorted; + } +} diff --git a/vendor/composer/semver/src/VersionParser.php b/vendor/composer/semver/src/VersionParser.php new file mode 100644 index 00000000..269aee94 --- /dev/null +++ b/vendor/composer/semver/src/VersionParser.php @@ -0,0 +1,520 @@ +<?php + +/* + * This file is part of composer/semver. + * + * (c) Composer <https://github.com/composer> + * + * For the full copyright and license information, please view + * the LICENSE file that was distributed with this source code. + */ + +namespace Composer\Semver; + +use Composer\Semver\Constraint\ConstraintInterface; +use Composer\Semver\Constraint\EmptyConstraint; +use Composer\Semver\Constraint\MultiConstraint; +use Composer\Semver\Constraint\Constraint; + +/** + * Version parser. + * + * @author Jordi Boggiano <j.boggiano@seld.be> + */ +class VersionParser +{ + /** @var string */ + private static $modifierRegex = '[._-]?(?:(stable|beta|b|RC|alpha|a|patch|pl|p)(?:[.-]?(\d+))?)?([.-]?dev)?'; + + /** @var array */ + private static $stabilities = array( + 'stable', 'RC', 'beta', 'alpha', 'dev', + ); + + /** + * Returns the stability of a version. + * + * @param string $version + * + * @return string + */ + public static function parseStability($version) + { + $version = preg_replace('{#.+$}i', '', $version); + + if ('dev-' === substr($version, 0, 4) || '-dev' === substr($version, -4)) { + return 'dev'; + } + + preg_match('{' . self::$modifierRegex . '$}i', strtolower($version), $match); + if (!empty($match[3])) { + return 'dev'; + } + + if (!empty($match[1])) { + if ('beta' === $match[1] || 'b' === $match[1]) { + return 'beta'; + } + if ('alpha' === $match[1] || 'a' === $match[1]) { + return 'alpha'; + } + if ('rc' === $match[1]) { + return 'RC'; + } + } + + return 'stable'; + } + + /** + * @param string $stability + * + * @return string + */ + public static function normalizeStability($stability) + { + $stability = strtolower($stability); + + return $stability === 'rc' ? 'RC' : $stability; + } + + /** + * Normalizes a version string to be able to perform comparisons on it. + * + * @param string $version + * @param string $fullVersion optional complete version string to give more context + * + * @throws \UnexpectedValueException + * + * @return string + */ + public function normalize($version, $fullVersion = null) + { + $version = trim($version); + if (null === $fullVersion) { + $fullVersion = $version; + } + + // strip off aliasing + if (preg_match('{^([^,\s]+) +as +([^,\s]+)$}', $version, $match)) { + $version = $match[1]; + } + + // strip off build metadata + if (preg_match('{^([^,\s+]+)\+[^\s]+$}', $version, $match)) { + $version = $match[1]; + } + + // match master-like branches + if (preg_match('{^(?:dev-)?(?:master|trunk|default)$}i', $version)) { + return '9999999-dev'; + } + + if ('dev-' === strtolower(substr($version, 0, 4))) { + return 'dev-' . substr($version, 4); + } + + // match classical versioning + if (preg_match('{^v?(\d{1,5})(\.\d+)?(\.\d+)?(\.\d+)?' . self::$modifierRegex . '$}i', $version, $matches)) { + $version = $matches[1] + . (!empty($matches[2]) ? $matches[2] : '.0') + . (!empty($matches[3]) ? $matches[3] : '.0') + . (!empty($matches[4]) ? $matches[4] : '.0'); + $index = 5; + // match date(time) based versioning + } elseif (preg_match('{^v?(\d{4}(?:[.:-]?\d{2}){1,6}(?:[.:-]?\d{1,3})?)' . self::$modifierRegex . '$}i', $version, $matches)) { + $version = preg_replace('{\D}', '-', $matches[1]); + $index = 2; + } + + // add version modifiers if a version was matched + if (isset($index)) { + if (!empty($matches[$index])) { + if ('stable' === $matches[$index]) { + return $version; + } + $version .= '-' . $this->expandStability($matches[$index]) . (!empty($matches[$index + 1]) ? $matches[$index + 1] : ''); + } + + if (!empty($matches[$index + 2])) { + $version .= '-dev'; + } + + return $version; + } + + // match dev branches + if (preg_match('{(.*?)[.-]?dev$}i', $version, $match)) { + try { + return $this->normalizeBranch($match[1]); + } catch (\Exception $e) { + } + } + + $extraMessage = ''; + if (preg_match('{ +as +' . preg_quote($version) . '$}', $fullVersion)) { + $extraMessage = ' in "' . $fullVersion . '", the alias must be an exact version'; + } elseif (preg_match('{^' . preg_quote($version) . ' +as +}', $fullVersion)) { + $extraMessage = ' in "' . $fullVersion . '", the alias source must be an exact version, if it is a branch name you should prefix it with dev-'; + } + + throw new \UnexpectedValueException('Invalid version string "' . $version . '"' . $extraMessage); + } + + /** + * Extract numeric prefix from alias, if it is in numeric format, suitable for version comparison. + * + * @param string $branch Branch name (e.g. 2.1.x-dev) + * + * @return string|false Numeric prefix if present (e.g. 2.1.) or false + */ + public function parseNumericAliasPrefix($branch) + { + if (preg_match('{^(?P<version>(\d+\\.)*\d+)(?:\.x)?-dev$}i', $branch, $matches)) { + return $matches['version'] . '.'; + } + + return false; + } + + /** + * Normalizes a branch name to be able to perform comparisons on it. + * + * @param string $name + * + * @return string + */ + public function normalizeBranch($name) + { + $name = trim($name); + + if (in_array($name, array('master', 'trunk', 'default'))) { + return $this->normalize($name); + } + + if (preg_match('{^v?(\d+)(\.(?:\d+|[xX*]))?(\.(?:\d+|[xX*]))?(\.(?:\d+|[xX*]))?$}i', $name, $matches)) { + $version = ''; + for ($i = 1; $i < 5; ++$i) { + $version .= isset($matches[$i]) ? str_replace(array('*', 'X'), 'x', $matches[$i]) : '.x'; + } + + return str_replace('x', '9999999', $version) . '-dev'; + } + + return 'dev-' . $name; + } + + /** + * Parses as constraint string into LinkConstraint objects. + * + * @param string $constraints + * + * @return ConstraintInterface + */ + public function parseConstraints($constraints) + { + $prettyConstraint = $constraints; + + if (preg_match('{^([^,\s]*?)@(' . implode('|', self::$stabilities) . ')$}i', $constraints, $match)) { + $constraints = empty($match[1]) ? '*' : $match[1]; + } + + if (preg_match('{^(dev-[^,\s@]+?|[^,\s@]+?\.x-dev)#.+$}i', $constraints, $match)) { + $constraints = $match[1]; + } + + $orConstraints = preg_split('{\s*\|\|?\s*}', trim($constraints)); + $orGroups = array(); + foreach ($orConstraints as $constraints) { + $andConstraints = preg_split('{(?<!^|as|[=>< ,]) *(?<!-)[, ](?!-) *(?!,|as|$)}', $constraints); + if (count($andConstraints) > 1) { + $constraintObjects = array(); + foreach ($andConstraints as $constraint) { + foreach ($this->parseConstraint($constraint) as $parsedConstraint) { + $constraintObjects[] = $parsedConstraint; + } + } + } else { + $constraintObjects = $this->parseConstraint($andConstraints[0]); + } + + if (1 === count($constraintObjects)) { + $constraint = $constraintObjects[0]; + } else { + $constraint = new MultiConstraint($constraintObjects); + } + + $orGroups[] = $constraint; + } + + if (1 === count($orGroups)) { + $constraint = $orGroups[0]; + } else { + $constraint = new MultiConstraint($orGroups, false); + } + + $constraint->setPrettyString($prettyConstraint); + + return $constraint; + } + + /** + * @param string $constraint + * + * @throws \UnexpectedValueException + * + * @return array + */ + private function parseConstraint($constraint) + { + if (preg_match('{^([^,\s]+?)@(' . implode('|', self::$stabilities) . ')$}i', $constraint, $match)) { + $constraint = $match[1]; + if ($match[2] !== 'stable') { + $stabilityModifier = $match[2]; + } + } + + if (preg_match('{^[xX*](\.[xX*])*$}i', $constraint)) { + return array(new EmptyConstraint()); + } + + $versionRegex = 'v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:\.(\d+))?' . self::$modifierRegex . '(?:\+[^\s]+)?'; + + // Tilde Range + // + // Like wildcard constraints, unsuffixed tilde constraints say that they must be greater than the previous + // version, to ensure that unstable instances of the current version are allowed. However, if a stability + // suffix is added to the constraint, then a >= match on the current version is used instead. + if (preg_match('{^~>?' . $versionRegex . '$}i', $constraint, $matches)) { + if (substr($constraint, 0, 2) === '~>') { + throw new \UnexpectedValueException( + 'Could not parse version constraint ' . $constraint . ': ' . + 'Invalid operator "~>", you probably meant to use the "~" operator' + ); + } + + // Work out which position in the version we are operating at + if (isset($matches[4]) && '' !== $matches[4]) { + $position = 4; + } elseif (isset($matches[3]) && '' !== $matches[3]) { + $position = 3; + } elseif (isset($matches[2]) && '' !== $matches[2]) { + $position = 2; + } else { + $position = 1; + } + + // Calculate the stability suffix + $stabilitySuffix = ''; + if (!empty($matches[5])) { + $stabilitySuffix .= '-' . $this->expandStability($matches[5]) . (!empty($matches[6]) ? $matches[6] : ''); + } + + if (!empty($matches[7])) { + $stabilitySuffix .= '-dev'; + } + + if (!$stabilitySuffix) { + $stabilitySuffix = '-dev'; + } + + $lowVersion = $this->manipulateVersionString($matches, $position, 0) . $stabilitySuffix; + $lowerBound = new Constraint('>=', $lowVersion); + + // For upper bound, we increment the position of one more significance, + // but highPosition = 0 would be illegal + $highPosition = max(1, $position - 1); + $highVersion = $this->manipulateVersionString($matches, $highPosition, 1) . '-dev'; + $upperBound = new Constraint('<', $highVersion); + + return array( + $lowerBound, + $upperBound, + ); + } + + // Caret Range + // + // Allows changes that do not modify the left-most non-zero digit in the [major, minor, patch] tuple. + // In other words, this allows patch and minor updates for versions 1.0.0 and above, patch updates for + // versions 0.X >=0.1.0, and no updates for versions 0.0.X + if (preg_match('{^\^' . $versionRegex . '($)}i', $constraint, $matches)) { + // Work out which position in the version we are operating at + if ('0' !== $matches[1] || '' === $matches[2]) { + $position = 1; + } elseif ('0' !== $matches[2] || '' === $matches[3]) { + $position = 2; + } else { + $position = 3; + } + + // Calculate the stability suffix + $stabilitySuffix = ''; + if (empty($matches[5]) && empty($matches[7])) { + $stabilitySuffix .= '-dev'; + } + + $lowVersion = $this->normalize(substr($constraint . $stabilitySuffix, 1)); + $lowerBound = new Constraint('>=', $lowVersion); + + // For upper bound, we increment the position of one more significance, + // but highPosition = 0 would be illegal + $highVersion = $this->manipulateVersionString($matches, $position, 1) . '-dev'; + $upperBound = new Constraint('<', $highVersion); + + return array( + $lowerBound, + $upperBound, + ); + } + + // X Range + // + // Any of X, x, or * may be used to "stand in" for one of the numeric values in the [major, minor, patch] tuple. + // A partial version range is treated as an X-Range, so the special character is in fact optional. + if (preg_match('{^(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:\.[xX*])+$}', $constraint, $matches)) { + if (isset($matches[3]) && '' !== $matches[3]) { + $position = 3; + } elseif (isset($matches[2]) && '' !== $matches[2]) { + $position = 2; + } else { + $position = 1; + } + + $lowVersion = $this->manipulateVersionString($matches, $position) . '-dev'; + $highVersion = $this->manipulateVersionString($matches, $position, 1) . '-dev'; + + if ($lowVersion === '0.0.0.0-dev') { + return array(new Constraint('<', $highVersion)); + } + + return array( + new Constraint('>=', $lowVersion), + new Constraint('<', $highVersion), + ); + } + + // Hyphen Range + // + // Specifies an inclusive set. If a partial version is provided as the first version in the inclusive range, + // then the missing pieces are replaced with zeroes. If a partial version is provided as the second version in + // the inclusive range, then all versions that start with the supplied parts of the tuple are accepted, but + // nothing that would be greater than the provided tuple parts. + if (preg_match('{^(?P<from>' . $versionRegex . ') +- +(?P<to>' . $versionRegex . ')($)}i', $constraint, $matches)) { + // Calculate the stability suffix + $lowStabilitySuffix = ''; + if (empty($matches[6]) && empty($matches[8])) { + $lowStabilitySuffix = '-dev'; + } + + $lowVersion = $this->normalize($matches['from']); + $lowerBound = new Constraint('>=', $lowVersion . $lowStabilitySuffix); + + $empty = function ($x) { + return ($x === 0 || $x === '0') ? false : empty($x); + }; + + if ((!$empty($matches[11]) && !$empty($matches[12])) || !empty($matches[14]) || !empty($matches[16])) { + $highVersion = $this->normalize($matches['to']); + $upperBound = new Constraint('<=', $highVersion); + } else { + $highMatch = array('', $matches[10], $matches[11], $matches[12], $matches[13]); + $highVersion = $this->manipulateVersionString($highMatch, $empty($matches[11]) ? 1 : 2, 1) . '-dev'; + $upperBound = new Constraint('<', $highVersion); + } + + return array( + $lowerBound, + $upperBound, + ); + } + + // Basic Comparators + if (preg_match('{^(<>|!=|>=?|<=?|==?)?\s*(.*)}', $constraint, $matches)) { + try { + $version = $this->normalize($matches[2]); + + if (!empty($stabilityModifier) && $this->parseStability($version) === 'stable') { + $version .= '-' . $stabilityModifier; + } elseif ('<' === $matches[1] || '>=' === $matches[1]) { + if (!preg_match('/-' . self::$modifierRegex . '$/', strtolower($matches[2]))) { + if (substr($matches[2], 0, 4) !== 'dev-') { + $version .= '-dev'; + } + } + } + + return array(new Constraint($matches[1] ?: '=', $version)); + } catch (\Exception $e) { + } + } + + $message = 'Could not parse version constraint ' . $constraint; + if (isset($e)) { + $message .= ': ' . $e->getMessage(); + } + + throw new \UnexpectedValueException($message); + } + + /** + * Increment, decrement, or simply pad a version number. + * + * Support function for {@link parseConstraint()} + * + * @param array $matches Array with version parts in array indexes 1,2,3,4 + * @param int $position 1,2,3,4 - which segment of the version to increment/decrement + * @param int $increment + * @param string $pad The string to pad version parts after $position + * + * @return string The new version + */ + private function manipulateVersionString($matches, $position, $increment = 0, $pad = '0') + { + for ($i = 4; $i > 0; --$i) { + if ($i > $position) { + $matches[$i] = $pad; + } elseif ($i === $position && $increment) { + $matches[$i] += $increment; + // If $matches[$i] was 0, carry the decrement + if ($matches[$i] < 0) { + $matches[$i] = $pad; + --$position; + + // Return null on a carry overflow + if ($i === 1) { + return; + } + } + } + } + + return $matches[1] . '.' . $matches[2] . '.' . $matches[3] . '.' . $matches[4]; + } + + /** + * Expand shorthand stability string to long version. + * + * @param string $stability + * + * @return string + */ + private function expandStability($stability) + { + $stability = strtolower($stability); + + switch ($stability) { + case 'a': + return 'alpha'; + case 'b': + return 'beta'; + case 'p': + case 'pl': + return 'patch'; + case 'rc': + return 'RC'; + default: + return $stability; + } + } +} |