From e5d375aa75f5815e4d38dc0bf042dc5a88ad4c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Cobucci?= Date: Mon, 5 Oct 2020 19:51:11 +0200 Subject: [PATCH 1/6] Update dependencies --- composer.lock | 310 ++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 290 insertions(+), 20 deletions(-) diff --git a/composer.lock b/composer.lock index 9491116c..f3232397 100644 --- a/composer.lock +++ b/composer.lock @@ -49,6 +49,11 @@ "Xdebug", "performance" ], + "support": { + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/xdebug-handler/issues", + "source": "https://github.com/composer/xdebug-handler/tree/1.4.3" + }, "funding": [ { "url": "https://packagist.com", @@ -129,6 +134,10 @@ "stylecheck", "tests" ], + "support": { + "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues", + "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer" + }, "time": "2020-06-25T14:57:39+00:00" }, { @@ -185,6 +194,10 @@ "standard", "style" ], + "support": { + "issues": "https://github.com/doctrine/coding-standard/issues", + "source": "https://github.com/doctrine/coding-standard/tree/8.1.x" + }, "time": "2020-07-05T20:35:22+00:00" }, { @@ -241,6 +254,10 @@ "constructor", "instantiate" ], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.3.x" + }, "funding": [ { "url": "https://www.doctrine-project.org/sponsorship.html", @@ -296,6 +313,10 @@ } ], "description": "Abstract Test Framework Adapter for Infection", + "support": { + "issues": "https://github.com/infection/abstract-testframework-adapter/issues", + "source": "https://github.com/infection/abstract-testframework-adapter/tree/0.3" + }, "time": "2020-08-30T13:50:12+00:00" }, { @@ -348,6 +369,10 @@ } ], "description": "Infection Extension Installer", + "support": { + "issues": "https://github.com/infection/extension-installer/issues", + "source": "https://github.com/infection/extension-installer/tree/0.1.1" + }, "time": "2020-04-25T22:40:05+00:00" }, { @@ -390,6 +415,10 @@ } ], "description": "Stream Wrapper: Include Interceptor. Allows to replace included (autoloaded) file with another one.", + "support": { + "issues": "https://github.com/infection/include-interceptor/issues", + "source": "https://github.com/infection/include-interceptor/tree/0.2.4" + }, "time": "2020-08-07T22:40:37+00:00" }, { @@ -498,6 +527,10 @@ "testing", "unit testing" ], + "support": { + "issues": "https://github.com/infection/infection/issues", + "source": "https://github.com/infection/infection/tree/0.17.3" + }, "time": "2020-08-25T06:36:58+00:00" }, { @@ -564,6 +597,10 @@ "json", "schema" ], + "support": { + "issues": "https://github.com/justinrainbow/json-schema/issues", + "source": "https://github.com/justinrainbow/json-schema/tree/5.2.10" + }, "time": "2020-05-27T16:41:55+00:00" }, { @@ -599,6 +636,10 @@ } ], "description": "Lcobucci's Coding Standard", + "support": { + "issues": "https://github.com/lcobucci/coding-standard/issues", + "source": "https://github.com/lcobucci/coding-standard/tree/6.0.1" + }, "time": "2020-09-05T21:36:16+00:00" }, { @@ -647,6 +688,10 @@ "object", "object graph" ], + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.x" + }, "funding": [ { "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", @@ -705,33 +750,38 @@ "parser", "php" ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.2" + }, "time": "2020-09-26T10:30:38+00:00" }, { "name": "ocramius/package-versions", - "version": "1.9.0", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/Ocramius/PackageVersions.git", - "reference": "94c9d42a466c57f91390cdd49c81313264f49d85" + "reference": "f51ff2b2b49baaa302d6bf71880e4d8b5acd7015" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Ocramius/PackageVersions/zipball/94c9d42a466c57f91390cdd49c81313264f49d85", - "reference": "94c9d42a466c57f91390cdd49c81313264f49d85", + "url": "https://api.github.com/repos/Ocramius/PackageVersions/zipball/f51ff2b2b49baaa302d6bf71880e4d8b5acd7015", + "reference": "f51ff2b2b49baaa302d6bf71880e4d8b5acd7015", "shasum": "" }, "require": { - "composer-plugin-api": "^1.1.0 || ^2.0", - "php": "^7.4.0" + "composer-plugin-api": "^2.0.0", + "composer-runtime-api": "^2.0.0", + "php": "^7.4.7" }, "require-dev": { - "composer/composer": "^1.9.3 || ^2.0@dev", - "doctrine/coding-standard": "^7.0.2", + "composer/composer": "^2.0.0@dev", + "doctrine/coding-standard": "^8.1.0", "ext-zip": "^1.15.0", - "infection/infection": "^0.15.3", - "phpunit/phpunit": "^9.1.1", - "vimeo/psalm": "^3.9.3" + "infection/infection": "^0.16.4", + "phpunit/phpunit": "^9.1.5", + "vimeo/psalm": "^3.12.2" }, "type": "composer-plugin", "extra": { @@ -756,6 +806,10 @@ } ], "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", + "support": { + "issues": "https://github.com/Ocramius/PackageVersions/issues", + "source": "https://github.com/Ocramius/PackageVersions/tree/1.11.x" + }, "funding": [ { "url": "https://github.com/Ocramius", @@ -766,7 +820,7 @@ "type": "tidelift" } ], - "time": "2020-06-22T14:15:44+00:00" + "time": "2020-08-21T12:16:47+00:00" }, { "name": "ondram/ci-detector", @@ -834,6 +888,10 @@ "teamcity", "travis" ], + "support": { + "issues": "https://github.com/OndraM/ci-detector/issues", + "source": "https://github.com/OndraM/ci-detector/tree/main" + }, "time": "2020-09-04T11:21:14+00:00" }, { @@ -890,6 +948,10 @@ } ], "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "support": { + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/master" + }, "time": "2020-06-27T14:33:11+00:00" }, { @@ -937,6 +999,10 @@ } ], "description": "Library for handling version information and constraints", + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/master" + }, "time": "2020-06-27T14:39:04+00:00" }, { @@ -986,6 +1052,10 @@ "reflection", "static analysis" ], + "support": { + "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", + "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" + }, "time": "2020-06-27T09:03:43+00:00" }, { @@ -1038,6 +1108,10 @@ } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "support": { + "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master" + }, "time": "2020-09-03T19:13:55+00:00" }, { @@ -1083,6 +1157,10 @@ } ], "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", + "support": { + "issues": "https://github.com/phpDocumentor/TypeResolver/issues", + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0" + }, "time": "2020-09-17T18:55:26+00:00" }, { @@ -1146,6 +1224,10 @@ "spy", "stub" ], + "support": { + "issues": "https://github.com/phpspec/prophecy/issues", + "source": "https://github.com/phpspec/prophecy/tree/1.12.1" + }, "time": "2020-09-29T09:10:42+00:00" }, { @@ -1191,6 +1273,10 @@ "MIT" ], "description": "Composer plugin for automatic installation of PHPStan extensions", + "support": { + "issues": "https://github.com/phpstan/extension-installer/issues", + "source": "https://github.com/phpstan/extension-installer/tree/1.0.5" + }, "time": "2020-08-30T12:06:42+00:00" }, { @@ -1240,6 +1326,10 @@ "MIT" ], "description": "PHPDoc parser with support for nullable, intersection and generic types", + "support": { + "issues": "https://github.com/phpstan/phpdoc-parser/issues", + "source": "https://github.com/phpstan/phpdoc-parser/tree/master" + }, "time": "2020-08-03T20:32:43+00:00" }, { @@ -1282,6 +1372,10 @@ "MIT" ], "description": "PHPStan - PHP Static Analysis Tool", + "support": { + "issues": "https://github.com/phpstan/phpstan/issues", + "source": "https://github.com/phpstan/phpstan/tree/0.12.48" + }, "funding": [ { "url": "https://github.com/ondrejmirtes", @@ -1347,6 +1441,10 @@ "MIT" ], "description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.", + "support": { + "issues": "https://github.com/phpstan/phpstan-deprecation-rules/issues", + "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/0.12.5" + }, "time": "2020-07-21T14:52:30+00:00" }, { @@ -1403,6 +1501,10 @@ "MIT" ], "description": "PHPUnit extensions and rules for PHPStan", + "support": { + "issues": "https://github.com/phpstan/phpstan-phpunit/issues", + "source": "https://github.com/phpstan/phpstan-phpunit/tree/0.12.16" + }, "time": "2020-08-05T13:28:50+00:00" }, { @@ -1454,6 +1556,10 @@ "MIT" ], "description": "Extra strict and opinionated rules for PHPStan", + "support": { + "issues": "https://github.com/phpstan/phpstan-strict-rules/issues", + "source": "https://github.com/phpstan/phpstan-strict-rules/tree/master" + }, "time": "2020-08-30T15:42:06+00:00" }, { @@ -1521,6 +1627,10 @@ "testing", "xunit" ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.0" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -1577,6 +1687,10 @@ "filesystem", "iterator" ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.5" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -1636,6 +1750,10 @@ "keywords": [ "process" ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -1691,6 +1809,10 @@ "keywords": [ "template" ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.3" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -1746,6 +1868,10 @@ "keywords": [ "timer" ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.2" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -1841,6 +1967,10 @@ "testing", "xunit" ], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.4.0" + }, "funding": [ { "url": "https://phpunit.de/donate.html", @@ -1900,6 +2030,10 @@ "container-interop", "psr" ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/master" + }, "time": "2017-02-14T16:28:37+00:00" }, { @@ -1947,6 +2081,9 @@ "psr", "psr-3" ], + "support": { + "source": "https://github.com/php-fig/log/tree/1.1.3" + }, "time": "2020-03-23T09:12:05+00:00" }, { @@ -1996,6 +2133,10 @@ } ], "description": "General-purpose collections pipeline", + "support": { + "issues": "https://github.com/sanmai/pipeline/issues", + "source": "https://github.com/sanmai/pipeline/tree/v5.0.1" + }, "funding": [ { "url": "https://github.com/sanmai", @@ -2048,6 +2189,10 @@ ], "description": "Library for parsing CLI options", "homepage": "https://github.com/sebastianbergmann/cli-parser", + "support": { + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -2100,6 +2245,10 @@ ], "description": "Collection of value objects that represent the PHP code units", "homepage": "https://github.com/sebastianbergmann/code-unit", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.7" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -2151,6 +2300,10 @@ ], "description": "Looks up which function or method a line of code belongs to", "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -2221,6 +2374,10 @@ "compare", "equality" ], + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.5" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -2274,6 +2431,10 @@ ], "description": "Library for calculating the complexity of PHP code units", "homepage": "https://github.com/sebastianbergmann/complexity", + "support": { + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.1" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -2336,6 +2497,10 @@ "unidiff", "unified diff" ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.3" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -2395,6 +2560,10 @@ "environment", "hhvm" ], + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.3" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -2468,6 +2637,10 @@ "export", "exporter" ], + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.3" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -2528,6 +2701,10 @@ "keywords": [ "global state" ], + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.1" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -2581,6 +2758,10 @@ ], "description": "Library for counting the lines of code in PHP source code", "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "support": { + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.1" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -2634,6 +2815,10 @@ ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.3" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -2685,6 +2870,10 @@ ], "description": "Allows reflection of object attributes, including inherited and non-public ones", "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.3" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -2744,6 +2933,10 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.3" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -2795,6 +2988,10 @@ ], "description": "Provides a list of PHP built-in functions that operate on resources", "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "support": { + "issues": "https://github.com/sebastianbergmann/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -2847,6 +3044,10 @@ ], "description": "Collection of value objects that represent the types of the PHP type system", "homepage": "https://github.com/sebastianbergmann/type", + "support": { + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/2.2.2" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -2896,6 +3097,10 @@ ], "description": "Library that helps with managing the version number of Git-hosted PHP projects", "homepage": "https://github.com/sebastianbergmann/version", + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -2951,6 +3156,10 @@ "parser", "validator" ], + "support": { + "issues": "https://github.com/Seldaek/jsonlint/issues", + "source": "https://github.com/Seldaek/jsonlint/tree/master" + }, "funding": [ { "url": "https://github.com/Seldaek", @@ -2965,16 +3174,16 @@ }, { "name": "slevomat/coding-standard", - "version": "6.4.0", + "version": "6.4.1", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "bf3a16a630d8245c350b459832a71afa55c02fd3" + "reference": "696dcca217d0c9da2c40d02731526c1e25b65346" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/bf3a16a630d8245c350b459832a71afa55c02fd3", - "reference": "bf3a16a630d8245c350b459832a71afa55c02fd3", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/696dcca217d0c9da2c40d02731526c1e25b65346", + "reference": "696dcca217d0c9da2c40d02731526c1e25b65346", "shasum": "" }, "require": { @@ -2986,11 +3195,11 @@ "require-dev": { "phing/phing": "2.16.3", "php-parallel-lint/php-parallel-lint": "1.2.0", - "phpstan/phpstan": "0.12.40", + "phpstan/phpstan": "0.12.48", "phpstan/phpstan-deprecation-rules": "0.12.5", "phpstan/phpstan-phpunit": "0.12.16", "phpstan/phpstan-strict-rules": "0.12.5", - "phpunit/phpunit": "7.5.20|8.5.5|9.3.8" + "phpunit/phpunit": "7.5.20|8.5.5|9.4.0" }, "type": "phpcodesniffer-standard", "extra": { @@ -3008,6 +3217,10 @@ "MIT" ], "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", + "support": { + "issues": "https://github.com/slevomat/coding-standard/issues", + "source": "https://github.com/slevomat/coding-standard/tree/6.4.1" + }, "funding": [ { "url": "https://github.com/kukulich", @@ -3018,7 +3231,7 @@ "type": "tidelift" } ], - "time": "2020-08-31T07:02:52+00:00" + "time": "2020-10-05T12:39:37+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -3069,6 +3282,11 @@ "phpcs", "standards" ], + "support": { + "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", + "source": "https://github.com/squizlabs/PHP_CodeSniffer", + "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + }, "time": "2020-08-10T04:50:15+00:00" }, { @@ -3148,6 +3366,9 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/console/tree/v5.1.7" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3212,6 +3433,9 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/filesystem/tree/v5.1.7" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3275,6 +3499,9 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/finder/tree/v5.1.7" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3351,6 +3578,9 @@ "polyfill", "portable" ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.18.0" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3429,6 +3659,9 @@ "portable", "shim" ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.18.1" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3510,6 +3743,9 @@ "portable", "shim" ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.18.1" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3587,6 +3823,9 @@ "portable", "shim" ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.18.1" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3663,6 +3902,9 @@ "portable", "shim" ], + "support": { + "source": "https://github.com/symfony/polyfill-php73/tree/master" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3743,6 +3985,9 @@ "portable", "shim" ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/master" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3807,6 +4052,9 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/process/tree/5.1" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3883,6 +4131,9 @@ "interoperability", "standards" ], + "support": { + "source": "https://github.com/symfony/service-contracts/tree/master" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3968,6 +4219,9 @@ "utf-8", "utf8" ], + "support": { + "source": "https://github.com/symfony/string/tree/v5.1.7" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -4115,6 +4369,10 @@ "MIT" ], "description": "PHP core functions that throw exceptions instead of returning FALSE on error", + "support": { + "issues": "https://github.com/thecodingmachine/safe/issues", + "source": "https://github.com/thecodingmachine/safe/tree/v1.2.1" + }, "time": "2020-09-25T17:23:59+00:00" }, { @@ -4155,6 +4413,10 @@ } ], "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "support": { + "issues": "https://github.com/theseer/tokenizer/issues", + "source": "https://github.com/theseer/tokenizer/tree/master" + }, "funding": [ { "url": "https://github.com/theseer", @@ -4210,6 +4472,10 @@ "check", "validate" ], + "support": { + "issues": "https://github.com/webmozart/assert/issues", + "source": "https://github.com/webmozart/assert/tree/master" + }, "time": "2020-07-08T17:02:28+00:00" }, { @@ -4256,6 +4522,10 @@ } ], "description": "A robust cross-platform utility for normalizing, comparing and modifying file paths.", + "support": { + "issues": "https://github.com/webmozart/path-util/issues", + "source": "https://github.com/webmozart/path-util/tree/2.3.0" + }, "time": "2015-12-17T08:42:14+00:00" } ], @@ -4268,5 +4538,5 @@ "php": "^7.4 || ^8.0" }, "platform-dev": [], - "plugin-api-version": "1.1.0" + "plugin-api-version": "2.0.0" } From 3e0a9756601f76cac6cbcc00af464a7b2eb818ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Cobucci?= Date: Mon, 5 Oct 2020 19:51:33 +0200 Subject: [PATCH 2/6] Introduce Makefile --- .gitattributes | 1 + .gitignore | 1 + Makefile | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 Makefile diff --git a/.gitattributes b/.gitattributes index 907d5fa2..b99108ce 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6,3 +6,4 @@ /README.md export-ignore /*.dist export-ignore /composer.lock export-ignore +/Makefile export-ignore diff --git a/.gitignore b/.gitignore index 5056e096..8a25a0df 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /infection-log.txt /phpstan.neon /.phpunit.result.cache +/build diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..ed6b5ff5 --- /dev/null +++ b/Makefile @@ -0,0 +1,33 @@ +PARALLELISM := $(shell nproc) + +.PHONY: all +all: install phpcbf phpcs phpstan phpunit infection + +.PHONY: install +install: vendor/composer/installed.json + +vendor/composer/installed.json: composer.json composer.lock + @composer install $(INSTALL_FLAGS) + @touch -c composer.json composer.lock vendor/composer/installed.json + +.PHONY: phpunit +phpunit: + @vendor/bin/phpunit + +.PHONY: infection +infection: + @vendor/bin/phpunit --coverage-xml=build/coverage-xml --log-junit=build/junit.xml $(PHPUNIT_FLAGS) + @vendor/bin/infection -s --threads=$(PARALLELISM) --coverage=build + +.PHONY: phpcbf +phpcbf: + @vendor/bin/phpcbf --parallel=$(PARALLELISM) + +.PHONY: phpcs +phpcs: + @vendor/bin/phpcs --parallel=$(PARALLELISM) $(PHPCS_FLAGS) + +.PHONY: phpstan +phpstan: + @vendor/bin/phpstan analyse + From dea9865410a57862134d69f893e9eebfe784869f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Cobucci?= Date: Mon, 5 Oct 2020 19:53:03 +0200 Subject: [PATCH 3/6] Remove unnecessary and arbitrary parallelism config --- phpcs.xml.dist | 1 - 1 file changed, 1 deletion(-) diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 5257bbf8..6cabcb43 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -5,7 +5,6 @@ > - From e8f8b6fcdda97a39946da2665313fedf8c092254 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Cobucci?= Date: Mon, 5 Oct 2020 19:55:57 +0200 Subject: [PATCH 4/6] Add GH Actions workflows --- .github/workflows/coding-standards.yml | 56 +++++++++++++ .github/workflows/mutation-tests.yml | 59 ++++++++++++++ .github/workflows/phpunit.yml | 104 +++++++++++++++++++++++++ .github/workflows/static-analysis.yml | 56 +++++++++++++ 4 files changed, 275 insertions(+) create mode 100644 .github/workflows/coding-standards.yml create mode 100644 .github/workflows/mutation-tests.yml create mode 100644 .github/workflows/phpunit.yml create mode 100644 .github/workflows/static-analysis.yml diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml new file mode 100644 index 00000000..f25fbe95 --- /dev/null +++ b/.github/workflows/coding-standards.yml @@ -0,0 +1,56 @@ +name: "Check Coding Standards" + +on: + pull_request: + push: + +jobs: + coding-standards: + name: "Check Coding Standards" + + runs-on: ${{ matrix.operating-system }} + + strategy: + matrix: + dependencies: + - "locked" + php-version: + - "7.4" + operating-system: + - "ubuntu-latest" + + steps: + - name: "Checkout" + uses: "actions/checkout@v2" + + - name: "Install PHP" + uses: "shivammathur/setup-php@v2" + with: + coverage: "none" + php-version: "${{ matrix.php-version }}" + ini-values: memory_limit=-1 + tools: composer:v2, cs2pr + + - name: "Cache dependencies" + uses: "actions/cache@v2" + with: + path: | + ~/.composer/cache + vendor + key: "php-${{ matrix.php-version }}-${{ matrix.dependencies }}" + restore-keys: "php-${{ matrix.php-version }}-${{ matrix.dependencies }}" + + - name: "Install lowest dependencies" + if: ${{ matrix.dependencies == 'lowest' }} + run: "composer update --prefer-lowest --no-interaction --no-progress" + + - name: "Install highest dependencies" + if: ${{ matrix.dependencies == 'highest' }} + run: "composer update --no-interaction --no-progress" + + - name: "Install locked dependencies" + if: ${{ matrix.dependencies == 'locked' }} + run: "composer install --no-interaction --no-progress" + + - name: "Coding Standard" + run: "make phpcs PHPCS_FLAGS='-q --report=checkstyle | cs2pr'" diff --git a/.github/workflows/mutation-tests.yml b/.github/workflows/mutation-tests.yml new file mode 100644 index 00000000..ea2a0361 --- /dev/null +++ b/.github/workflows/mutation-tests.yml @@ -0,0 +1,59 @@ +name: "Mutation tests" + +on: + pull_request: + push: + +jobs: + mutation-tests: + name: "Mutation tests" + + runs-on: ${{ matrix.operating-system }} + + strategy: + matrix: + dependencies: + - "locked" + php-version: + - "7.4" + operating-system: + - "ubuntu-latest" + + steps: + - name: "Checkout" + uses: "actions/checkout@v2" + + - name: "Install PHP" + uses: "shivammathur/setup-php@v2" + with: + coverage: "xdebug" + php-version: "${{ matrix.php-version }}" + ini-values: memory_limit=-1 + tools: composer:v2, cs2pr + + - name: "Cache dependencies" + uses: "actions/cache@v2" + with: + path: | + ~/.composer/cache + vendor + key: "php-${{ matrix.php-version }}-${{ matrix.dependencies }}" + restore-keys: "php-${{ matrix.php-version }}-${{ matrix.dependencies }}" + + - name: "Install lowest dependencies" + if: ${{ matrix.dependencies == 'lowest' }} + run: "composer update --prefer-lowest --no-interaction --no-progress" + + - name: "Install highest dependencies" + if: ${{ matrix.dependencies == 'highest' }} + run: "composer update --no-interaction --no-progress" + + - name: "Install locked dependencies" + if: ${{ matrix.dependencies == 'locked' }} + run: "composer install --no-interaction --no-progress" + + - name: "Infection" + run: "make infection PHPUNIT_FLAGS=--coverage-clover=coverage.xml" + + - name: "Upload Code Coverage" + uses: "codecov/codecov-action@v1" diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml new file mode 100644 index 00000000..fe8989c7 --- /dev/null +++ b/.github/workflows/phpunit.yml @@ -0,0 +1,104 @@ +name: "PHPUnit tests" + +on: + pull_request: + push: + +jobs: + phpunit: + name: "PHPUnit tests" + + runs-on: ${{ matrix.operating-system }} + + strategy: + matrix: + dependencies: + - "lowest" + - "highest" + - "locked" + - "development" + php-version: + - "7.4" + operating-system: + - "ubuntu-latest" + + steps: + - name: "Checkout" + uses: "actions/checkout@v2" + + - name: "Install PHP" + uses: "shivammathur/setup-php@v2" + with: + php-version: "${{ matrix.php-version }}" + ini-values: memory_limit=-1 + tools: composer:v2, cs2pr + + - name: "Cache dependencies" + uses: "actions/cache@v2" + with: + path: | + ~/.composer/cache + vendor + key: "php-${{ matrix.php-version }}-${{ matrix.dependencies }}" + restore-keys: "php-${{ matrix.php-version }}-${{ matrix.dependencies }}" + + - name: "Install lowest dependencies" + if: ${{ matrix.dependencies == 'lowest' }} + run: "composer update --prefer-lowest --no-interaction --no-progress" + + - name: "Install highest dependencies" + if: ${{ matrix.dependencies == 'highest' }} + run: "composer update --no-interaction --no-progress" + + - name: "Install locked dependencies" + if: ${{ matrix.dependencies == 'locked' }} + run: "composer install --no-interaction --no-progress" + + - name: "Install development dependencies" + if: ${{ matrix.dependencies == 'development' }} + run: "composer config minimum-stability dev && composer update --no-interaction --no-progress" + + - name: "Tests" + run: "make phpunit" + + phpunit-rc: + name: "PHPUnit tests on PHP 8" + + runs-on: ${{ matrix.operating-system }} + + strategy: + matrix: + dependencies: + - "locked" + php-version: + - "8.0" + operating-system: + - "ubuntu-latest" + + steps: + - name: "Checkout" + uses: "actions/checkout@v2" + + - name: "Install PHP" + uses: "shivammathur/setup-php@v2" + with: + coverage: "none" + php-version: "${{ matrix.php-version }}" + ini-values: memory_limit=-1 + tools: composer:v2, cs2pr + + - name: "Cache dependencies" + uses: "actions/cache@v2" + with: + path: | + ~/.composer/cache + vendor + key: "php-${{ matrix.php-version }}-${{ matrix.dependencies }}" + restore-keys: "php-${{ matrix.php-version }}-${{ matrix.dependencies }}" + + - name: "Install locked dependencies" + if: ${{ matrix.dependencies == 'locked' }} + run: "composer install --no-interaction --no-progress --ignore-platform-req=php" + + - name: "Tests" + run: "make phpunit" diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml new file mode 100644 index 00000000..602d1596 --- /dev/null +++ b/.github/workflows/static-analysis.yml @@ -0,0 +1,56 @@ +name: "Static Analysis" + +on: + pull_request: + push: + +jobs: + mutation-tests: + name: "Static Analysis" + + runs-on: ${{ matrix.operating-system }} + + strategy: + matrix: + dependencies: + - "locked" + php-version: + - "7.4" + operating-system: + - "ubuntu-latest" + + steps: + - name: "Checkout" + uses: "actions/checkout@v2" + + - name: "Install PHP" + uses: "shivammathur/setup-php@v2" + with: + coverage: "none" + php-version: "${{ matrix.php-version }}" + ini-values: memory_limit=-1 + tools: composer:v2, cs2pr + + - name: "Cache dependencies" + uses: "actions/cache@v2" + with: + path: | + ~/.composer/cache + vendor + key: "php-${{ matrix.php-version }}-${{ matrix.dependencies }}" + restore-keys: "php-${{ matrix.php-version }}-${{ matrix.dependencies }}" + + - name: "Install lowest dependencies" + if: ${{ matrix.dependencies == 'lowest' }} + run: "composer update --prefer-lowest --no-interaction --no-progress" + + - name: "Install highest dependencies" + if: ${{ matrix.dependencies == 'highest' }} + run: "composer update --no-interaction --no-progress" + + - name: "Install locked dependencies" + if: ${{ matrix.dependencies == 'locked' }} + run: "composer install --no-interaction --no-progress" + + - name: "PHPStan" + run: "make phpstan" From ec47115e7fa572be2b867c20589e87713ccc7127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Cobucci?= Date: Mon, 5 Oct 2020 19:56:30 +0200 Subject: [PATCH 5/6] Remove obsolete CI configuration --- .scrutinizer.yml | 37 -------------------------------- .travis.yml | 55 ------------------------------------------------ 2 files changed, 92 deletions(-) delete mode 100644 .scrutinizer.yml delete mode 100644 .travis.yml diff --git a/.scrutinizer.yml b/.scrutinizer.yml deleted file mode 100644 index a6619605..00000000 --- a/.scrutinizer.yml +++ /dev/null @@ -1,37 +0,0 @@ -build: - nodes: - analysis: - environment: - mysql: false - postgresql: false - redis: false - rabbitmq: false - mongodb: false - php: - version: 7.4 - cache: - disabled: false - directories: - - ~/.composer/cache - - project_setup: - override: true - tests: - override: - - php-scrutinizer-run - - phpcs-run - - dependencies: - override: - - composer install --no-interaction --prefer-dist - -checks: - php: true - -tools: - external_code_coverage: true - -build_failure_conditions: - - 'elements.rating(<= C).new.exists' - - 'issues.severity(>= MAJOR).new.exists' - - 'project.metric_change("scrutinizer.test_coverage", < -0.01)' diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d92cdad3..00000000 --- a/.travis.yml +++ /dev/null @@ -1,55 +0,0 @@ -os: linux -dist: focal -language: php - -php: - - 7.4 - - nightly - -cache: - directories: - - $HOME/.composer/cache - -before_install: - - mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini{,.disabled} || echo "xdebug not available" - - composer self-update - -install: travis_retry composer install - -script: - - ./vendor/bin/phpunit - -jobs: - allow_failures: - - php: nightly - - include: - - stage: Metrics and quality - env: COVERAGE - before_script: - - mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini{.disabled,} - - if [[ ! $(php -m | grep -si xdebug) ]]; then echo "xdebug required for coverage"; exit 1; fi - script: - - ./vendor/bin/phpunit --coverage-clover ./clover.xml - after_script: - - wget https://scrutinizer-ci.com/ocular.phar - - php ocular.phar code-coverage:upload --format=php-clover ./clover.xml - - - stage: Metrics and quality - env: CODE_STANDARD - script: - - ./vendor/bin/phpcs - - - stage: Metrics and quality - env: MUTATION - before_script: - - mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini{.disabled,} - - if [[ ! $(php -m | grep -si xdebug) ]]; then echo "xdebug required for coverage"; exit 1; fi - script: - - ./vendor/bin/phpunit --coverage-xml=build/coverage-xml --log-junit=build/junit.xml - - ./vendor/bin/infection -s --threads=$(nproc) --coverage=build - - - stage: Metrics and quality - env: STATIC_ANALYSIS - script: - - ./vendor/bin/phpstan analyse From 4060f2d584285eda2ae343783ad3959acace5c7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Cobucci?= Date: Mon, 5 Oct 2020 19:58:38 +0200 Subject: [PATCH 6/6] Update README --- README.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 498bebc3..9180dc19 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,11 @@ # Clock -[![Total Downloads](https://img.shields.io/packagist/dt/lcobucci/clock.svg?style=flat-square)](https://packagist.org/packages/lcobucci/clock) -[![Latest Stable Version](https://img.shields.io/packagist/v/lcobucci/clock.svg?style=flat-square)](https://packagist.org/packages/lcobucci/clock) -[![Unstable Version](https://img.shields.io/packagist/vpre/lcobucci/clock.svg?style=flat-square)](https://packagist.org/packages/lcobucci/clock) +[![Total Downloads]](https://packagist.org/packages/lcobucci/clock) +[![Latest Stable Version]](https://packagist.org/packages/lcobucci/clock) +[![Unstable Version]](https://packagist.org/packages/lcobucci/clock) - -[![Build Status](https://img.shields.io/travis/lcobucci/clock/2.1.x.svg?style=flat-square)](http://travis-ci.org/lcobucci/clock) -[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/lcobucci/clock/2.1.x.svg?style=flat-square)](https://scrutinizer-ci.com/g/lcobucci/clock/?branch=2.1.x) -[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/lcobucci/clock/2.1.x.svg?style=flat-square)](https://scrutinizer-ci.com/g/lcobucci/clock/?branch=2.1.x) +[![Build Status]](https://github.com/lcobucci/clock/actions?query=workflow%3A%22PHPUnit%20Tests%22+branch%3A2.1.x) +[![Code Coverage]](https://codecov.io/gh/lcobucci/clock) Yet another clock abstraction... @@ -15,7 +13,7 @@ The purpose is to decouple projects from `DateTimeImmutable` instantiation so th ## Installation -Package is available on [Packagist](http://packagist.org/packages/lcobucci/clock), you can install it using [Composer](http://getcomposer.org). +Package is available on [Packagist], you can install it using [Composer]. ```shell composer require lcobucci/clock @@ -63,3 +61,11 @@ $objects = [ var_dump(filterData($clock, $objects)); // last item will be filtered ``` + +[Total Downloads]: https://img.shields.io/packagist/dt/lcobucci/clock.svg?style=flat-square +[Latest Stable Version]: https://img.shields.io/packagist/v/lcobucci/clock.svg?style=flat-square +[Unstable Version]: https://img.shields.io/packagist/vpre/lcobucci/clock.svg?style=flat-square +[Build Status]: https://img.shields.io/github/workflow/status/lcobucci/clock/PHPUnit%20tests/2.1.x?style=flat-square +[Code Coverage]: https://codecov.io/gh/lcobucci/clock/branch/2.1.x/graph/badge.svg +[Packagist]: http://packagist.org/packages/lcobucci/clock +[Composer]: http://getcomposer.org