From 78fd51886f73786f77b19a528e22ad3e58caae15 Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Thu, 21 Jan 2021 11:52:27 +0000 Subject: [PATCH 01/31] set all deps to @stable to try to get a working set of PHP8 deps - has worked --- composer.json | 30 +- composer.lock | 2976 +++++++++++++++++++++++++++++++++++++------------ 2 files changed, 2254 insertions(+), 752 deletions(-) diff --git a/composer.json b/composer.json index 4b48b18..ae0749b 100644 --- a/composer.json +++ b/composer.json @@ -19,21 +19,20 @@ }, "require": { "php": "^7.2|^8.0", - "phpunit/phpunit": "^8.0|^9.0", - "jakub-onderka/php-console-highlighter": "^0.3.2", - "edmondscommerce/php-parallel-lint": "~1.0.1", - "phploc/phploc": "^4.0|^5.0|^6.0|^7.0", - "phpmd/phpmd": "^2.8", - "phpstan/phpstan": "^0.12", - "squizlabs/php_codesniffer": "~3", - "sllh/composer-versions-check": "^2.0", - "phpstan/phpstan-strict-rules": "^0.12", - "infection/infection": "^0.10|^0.20", - "funkyproject/reflection-file": "^0.1.0", - "maglnet/composer-require-checker": "^2.0", "ext-json": "*", - "phpstan/extension-installer": "^1.0", - "friendsofphp/php-cs-fixer": "^2.16" + "phpunit/phpunit": "@stable", + "jakub-onderka/php-console-highlighter": "@stable", + "edmondscommerce/php-parallel-lint": "@stable", + "phploc/phploc": "@stable", + "phpmd/phpmd": "@stable", + "phpstan/phpstan": "@stable", + "squizlabs/php_codesniffer": "@stable", + "phpstan/phpstan-strict-rules": "@stable", + "infection/infection": "@stable", + "funkyproject/reflection-file": "@stable", + "maglnet/composer-require-checker": "@stable", + "phpstan/extension-installer": "@stable", + "friendsofphp/php-cs-fixer": "@stable" }, "require-dev": { "phpstan/phpstan-phpunit": "^0.12" @@ -44,7 +43,8 @@ "phpstan/phpstan-doctrine": "Adds checks for Doctrine", "phpstan/phpstan-deprecation-rules": "Checks for deprecated functions and methods", "phpstan/phpstan-symfony": "Symfony specific checks", - "nunomaduro/larastan": "Laravel specific checks (PHPStan Wrapper)" + "nunomaduro/larastan": "Laravel specific checks (PHPStan Wrapper)", + "sllh/composer-versions-check":"To be brought back in when there is a PHP8 version..." }, "bin": [ "bin/qa", diff --git a/composer.lock b/composer.lock index 527d0ca..5e4c25c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,41 +4,44 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "49be259307363133a81efa909737c77e", + "content-hash": "7f1663f3669982d7d5ea34f22ac2ce7d", "packages": [ { - "name": "composer/ca-bundle", - "version": "1.2.8", + "name": "composer/package-versions-deprecated", + "version": "1.11.99.1", "source": { "type": "git", - "url": "https://github.com/composer/ca-bundle.git", - "reference": "8a7ecad675253e4654ea05505233285377405215" + "url": "https://github.com/composer/package-versions-deprecated.git", + "reference": "7413f0b55a051e89485c5cb9f765fe24bb02a7b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/8a7ecad675253e4654ea05505233285377405215", - "reference": "8a7ecad675253e4654ea05505233285377405215", + "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/7413f0b55a051e89485c5cb9f765fe24bb02a7b6", + "reference": "7413f0b55a051e89485c5cb9f765fe24bb02a7b6", "shasum": "" }, "require": { - "ext-openssl": "*", - "ext-pcre": "*", - "php": "^5.3.2 || ^7.0 || ^8.0" + "composer-plugin-api": "^1.1.0 || ^2.0", + "php": "^7 || ^8" + }, + "replace": { + "ocramius/package-versions": "1.11.99" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8", - "psr/log": "^1.0", - "symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0" + "composer/composer": "^1.9.3 || ^2.0@dev", + "ext-zip": "^1.13", + "phpunit/phpunit": "^6.5 || ^7" }, - "type": "library", + "type": "composer-plugin", "extra": { + "class": "PackageVersions\\Installer", "branch-alias": { "dev-master": "1.x-dev" } }, "autoload": { "psr-4": { - "Composer\\CaBundle\\": "src" + "PackageVersions\\": "src/PackageVersions" } }, "notification-url": "https://packagist.org/downloads/", @@ -46,21 +49,35 @@ "MIT" ], "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com" + }, { "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "email": "j.boggiano@seld.be" } ], - "description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.", - "keywords": [ - "cabundle", - "cacert", - "certificate", - "ssl", - "tls" + "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", + "support": { + "issues": "https://github.com/composer/package-versions-deprecated/issues", + "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.1" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } ], - "time": "2020-08-23T12:54:47+00:00" + "time": "2020-11-11T10:22:58+00:00" }, { "name": "composer/semver", @@ -122,6 +139,25 @@ "validation", "versioning" ], + "support": { + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/semver/issues", + "source": "https://github.com/composer/semver/tree/3.2.4" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], "time": "2020-11-13T08:59:24+00:00" }, { @@ -166,6 +202,25 @@ "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.5" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], "time": "2020-11-13T08:04:11+00:00" }, { @@ -237,6 +292,10 @@ "docblock", "parser" ], + "support": { + "issues": "https://github.com/doctrine/annotations/issues", + "source": "https://github.com/doctrine/annotations/tree/1.11.1" + }, "time": "2020-10-26T10:28:16+00:00" }, { @@ -288,6 +347,24 @@ "constructor", "instantiate" ], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.4.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], "time": "2020-11-10T18:47:58+00:00" }, { @@ -350,6 +427,24 @@ "parser", "php" ], + "support": { + "issues": "https://github.com/doctrine/lexer/issues", + "source": "https://github.com/doctrine/lexer/tree/1.2.1" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", + "type": "tidelift" + } + ], "time": "2020-05-25T17:44:05+00:00" }, { @@ -396,20 +491,23 @@ ], "description": "This tool check syntax of PHP files about 20x faster than serial check.", "homepage": "https://github.com/JakubOnderka/PHP-Parallel-Lint", + "support": { + "source": "https://github.com/edmondscommerce/PHP-Parallel-Lint/tree/master" + }, "time": "2019-03-18T09:51:07+00:00" }, { "name": "friendsofphp/php-cs-fixer", - "version": "v2.17.3", + "version": "v2.18.0", "source": { "type": "git", "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "bd32f5dd72cdfc7b53f54077f980e144bfa2f595" + "reference": "cbc5b50bfa2688a1afca20e5a8c71f058e9ccbef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/bd32f5dd72cdfc7b53f54077f980e144bfa2f595", - "reference": "bd32f5dd72cdfc7b53f54077f980e144bfa2f595", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/cbc5b50bfa2688a1afca20e5a8c71f058e9ccbef", + "reference": "cbc5b50bfa2688a1afca20e5a8c71f058e9ccbef", "shasum": "" }, "require": { @@ -431,7 +529,6 @@ "symfony/stopwatch": "^3.0 || ^4.0 || ^5.0" }, "require-dev": { - "johnkary/phpunit-speedtrap": "^1.1 || ^2.0 || ^3.0", "justinrainbow/json-schema": "^5.0", "keradus/cli-executor": "^1.4", "mikey179/vfsstream": "^1.6", @@ -440,11 +537,11 @@ "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2", "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.2.1", "phpspec/prophecy-phpunit": "^1.1 || ^2.0", - "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.13 || ^9.4.4 <9.5", + "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.13 || ^9.5", "phpunitgoodpractices/polyfill": "^1.5", "phpunitgoodpractices/traits": "^1.9.1", "sanmai/phpunit-legacy-adapter": "^6.4 || ^8.2.1", - "symfony/phpunit-bridge": "^5.1", + "symfony/phpunit-bridge": "^5.2.1", "symfony/yaml": "^3.0 || ^4.0 || ^5.0" }, "suggest": { @@ -490,7 +587,17 @@ } ], "description": "A tool to automatically fix PHP code style", - "time": "2020-12-24T11:14:44+00:00" + "support": { + "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues", + "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v2.18.0" + }, + "funding": [ + { + "url": "https://github.com/keradus", + "type": "github" + } + ], + "time": "2021-01-18T03:31:06+00:00" }, { "name": "funkyproject/reflection-file", @@ -517,45 +624,215 @@ } }, "notification-url": "https://packagist.org/downloads/", + "support": { + "issues": "https://github.com/funkyproject/reflection-file/issues", + "source": "https://github.com/funkyproject/reflection-file/tree/master" + }, "time": "2014-04-02T16:24:49+00:00" }, + { + "name": "infection/abstract-testframework-adapter", + "version": "0.3.1", + "source": { + "type": "git", + "url": "https://github.com/infection/abstract-testframework-adapter.git", + "reference": "c52539339f28d6b67625ff24496289b3e6d66025" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/infection/abstract-testframework-adapter/zipball/c52539339f28d6b67625ff24496289b3e6d66025", + "reference": "c52539339f28d6b67625ff24496289b3e6d66025", + "shasum": "" + }, + "require": { + "php": "^7.3 || ^8.0" + }, + "require-dev": { + "ergebnis/composer-normalize": "^2.8", + "friendsofphp/php-cs-fixer": "^2.16", + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Infection\\AbstractTestFramework\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Maks Rafalko", + "email": "maks.rafalko@gmail.com" + } + ], + "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" + }, + { + "name": "infection/extension-installer", + "version": "0.1.1", + "source": { + "type": "git", + "url": "https://github.com/infection/extension-installer.git", + "reference": "ff30c0adffcdbc747c96adf92382ccbe271d0afd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/infection/extension-installer/zipball/ff30c0adffcdbc747c96adf92382ccbe271d0afd", + "reference": "ff30c0adffcdbc747c96adf92382ccbe271d0afd", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.1 || ^2.0" + }, + "require-dev": { + "composer/composer": "^1.9", + "friendsofphp/php-cs-fixer": "^2.16", + "infection/infection": "^0.15.2", + "php-coveralls/php-coveralls": "^2.2", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12.10", + "phpstan/phpstan-phpunit": "^0.12.6", + "phpstan/phpstan-strict-rules": "^0.12.2", + "phpstan/phpstan-webmozart-assert": "^0.12.2", + "phpunit/phpunit": "^8.5", + "vimeo/psalm": "^3.8" + }, + "type": "composer-plugin", + "extra": { + "class": "Infection\\ExtensionInstaller\\Plugin" + }, + "autoload": { + "psr-4": { + "Infection\\ExtensionInstaller\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Maks Rafalko", + "email": "maks.rafalko@gmail.com" + } + ], + "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" + }, + { + "name": "infection/include-interceptor", + "version": "0.2.4", + "source": { + "type": "git", + "url": "https://github.com/infection/include-interceptor.git", + "reference": "e3cf9317a7fd554ab60a5587f028b16418cc4264" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/infection/include-interceptor/zipball/e3cf9317a7fd554ab60a5587f028b16418cc4264", + "reference": "e3cf9317a7fd554ab60a5587f028b16418cc4264", + "shasum": "" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.16", + "infection/infection": "^0.15.0", + "phan/phan": "^2.4 || ^3", + "php-coveralls/php-coveralls": "^2.2", + "phpstan/phpstan": "^0.12.8", + "phpunit/phpunit": "^8.5", + "vimeo/psalm": "^3.8" + }, + "type": "library", + "autoload": { + "psr-4": { + "Infection\\StreamWrapper\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Maks Rafalko", + "email": "maks.rafalko@gmail.com" + } + ], + "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" + }, { "name": "infection/infection", - "version": "0.10.6", + "version": "0.20.2", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "ccffd492fd235d66bc0407880bc121a28026d3f5" + "reference": "6035c1566af6a5a8d833a276351e5e18ed412305" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/ccffd492fd235d66bc0407880bc121a28026d3f5", - "reference": "ccffd492fd235d66bc0407880bc121a28026d3f5", + "url": "https://api.github.com/repos/infection/infection/zipball/6035c1566af6a5a8d833a276351e5e18ed412305", + "reference": "6035c1566af6a5a8d833a276351e5e18ed412305", "shasum": "" }, "require": { - "composer/xdebug-handler": "^1.1", + "composer/xdebug-handler": "^1.3.3", "ext-dom": "*", - "nikic/php-parser": "^4.0", - "ocramius/package-versions": "^1.2", - "padraic/phar-updater": "^1.0.4", - "php": "^7.1", - "pimple/pimple": "^3.2", - "sebastian/diff": "^1.4 || ^2.0 || ^3.0", - "symfony/console": "^3.2 || ^4.0", - "symfony/filesystem": "^3.2 || ^4.0", - "symfony/finder": "^3.2 || ^4.0", - "symfony/process": "^3.2 || ^4.0", - "symfony/yaml": "^3.2 || ^4.0", - "webmozart/assert": "^1.3" + "ext-json": "*", + "ext-libxml": "*", + "infection/abstract-testframework-adapter": "^0.3.1", + "infection/extension-installer": "^0.1.0", + "infection/include-interceptor": "^0.2.4", + "justinrainbow/json-schema": "^5.2", + "nikic/php-parser": "^4.10.2", + "ocramius/package-versions": "^1.2 || ^2.0", + "ondram/ci-detector": "^3.3.0", + "php": "^7.4 || ^8.0", + "sanmai/pipeline": "^3.1 || ^5.0", + "sebastian/diff": "^3.0.2 || ^4.0", + "seld/jsonlint": "^1.7", + "symfony/console": "^3.4.29 || ^4.1.19 || ^5.0", + "symfony/filesystem": "^3.4.29 || ^4.1.19 || ^5.0", + "symfony/finder": "^3.4.29 || ^4.1.19 || ^5.0", + "symfony/process": "^3.4.29 || ^4.1.19 || ^5.0", + "thecodingmachine/safe": "^1.0", + "webmozart/assert": "^1.3", + "webmozart/path-util": "^2.3" }, "conflict": { - "symfony/console": "=3.4.16 || =4.1.5", - "symfony/process": "3.4.2" + "phpunit/php-code-coverage": ">9 <9.1.4", + "symfony/console": "=4.1.5" }, "require-dev": { - "mockery/mockery": "^1.1", - "phpunit/phpunit": "^6" + "ext-simplexml": "*", + "helmich/phpunit-json-assert": "^3.0", + "phpspec/prophecy-phpunit": "^2.0", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12.8", + "phpstan/phpstan-phpunit": "^0.12.6", + "phpstan/phpstan-strict-rules": "^0.12.5", + "phpstan/phpstan-webmozart-assert": "^0.12.2", + "phpunit/phpunit": "^9.3.11", + "symfony/phpunit-bridge": "^4.4.14 || ^5.1.6", + "symfony/yaml": "^5.0", + "thecodingmachine/phpstan-safe-rule": "^1.0", + "vimeo/psalm": "^4.0" }, "bin": [ "bin/infection" @@ -576,6 +853,10 @@ "email": "maks.rafalko@gmail.com", "homepage": "https://twitter.com/maks_rafalko" }, + { + "name": "Oleg Zhulnev", + "homepage": "https://github.com/sidz" + }, { "name": "Gert de Pagter", "homepage": "https://github.com/BackEndTea" @@ -585,14 +866,15 @@ "email": "theo.fidry@gmail.com", "homepage": "https://twitter.com/tfidry" }, - { - "name": "Oleg Zhulnev", - "homepage": "https://github.com/sidz" - }, { "name": "Alexey Kopytko", "email": "alexey@kopytko.com", "homepage": "https://www.alexeykopytko.com" + }, + { + "name": "Andreas Möller", + "email": "am@localheinz.com", + "homepage": "https://localheinz.com" } ], "description": "Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.", @@ -604,7 +886,11 @@ "testing", "unit testing" ], - "time": "2018-10-30T19:14:11+00:00" + "support": { + "issues": "https://github.com/infection/infection/issues", + "source": "https://github.com/infection/infection/tree/0.20.2" + }, + "time": "2020-11-20T17:15:57+00:00" }, { "name": "jakub-onderka/php-console-color", @@ -646,38 +932,43 @@ "email": "jakub.onderka@gmail.com" } ], + "support": { + "issues": "https://github.com/JakubOnderka/PHP-Console-Color/issues", + "source": "https://github.com/JakubOnderka/PHP-Console-Color/tree/master" + }, "abandoned": "php-parallel-lint/php-console-color", "time": "2018-09-29T17:23:10+00:00" }, { "name": "jakub-onderka/php-console-highlighter", - "version": "v0.3.2", + "version": "v0.4", "source": { "type": "git", "url": "https://github.com/JakubOnderka/PHP-Console-Highlighter.git", - "reference": "7daa75df45242c8d5b75a22c00a201e7954e4fb5" + "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Highlighter/zipball/7daa75df45242c8d5b75a22c00a201e7954e4fb5", - "reference": "7daa75df45242c8d5b75a22c00a201e7954e4fb5", + "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Highlighter/zipball/9f7a229a69d52506914b4bc61bfdb199d90c5547", + "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547", "shasum": "" }, "require": { - "jakub-onderka/php-console-color": "~0.1", - "php": ">=5.3.0" + "ext-tokenizer": "*", + "jakub-onderka/php-console-color": "~0.2", + "php": ">=5.4.0" }, "require-dev": { "jakub-onderka/php-code-style": "~1.0", - "jakub-onderka/php-parallel-lint": "~0.5", + "jakub-onderka/php-parallel-lint": "~1.0", "jakub-onderka/php-var-dump-check": "~0.1", "phpunit/phpunit": "~4.0", "squizlabs/php_codesniffer": "~1.5" }, "type": "library", "autoload": { - "psr-0": { - "JakubOnderka\\PhpConsoleHighlighter": "src/" + "psr-4": { + "JakubOnderka\\PhpConsoleHighlighter\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -691,35 +982,115 @@ "homepage": "http://www.acci.cz/" } ], + "description": "Highlight PHP code in terminal", + "support": { + "issues": "https://github.com/JakubOnderka/PHP-Console-Highlighter/issues", + "source": "https://github.com/JakubOnderka/PHP-Console-Highlighter/tree/master" + }, "abandoned": "php-parallel-lint/php-console-highlighter", - "time": "2015-04-20T18:58:01+00:00" + "time": "2018-09-29T18:48:56+00:00" + }, + { + "name": "justinrainbow/json-schema", + "version": "5.2.10", + "source": { + "type": "git", + "url": "https://github.com/justinrainbow/json-schema.git", + "reference": "2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b", + "reference": "2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "~2.2.20||~2.15.1", + "json-schema/json-schema-test-suite": "1.2.0", + "phpunit/phpunit": "^4.8.35" + }, + "bin": [ + "bin/validate-json" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "JsonSchema\\": "src/JsonSchema/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bruno Prieto Reis", + "email": "bruno.p.reis@gmail.com" + }, + { + "name": "Justin Rainbow", + "email": "justin.rainbow@gmail.com" + }, + { + "name": "Igor Wiedler", + "email": "igor@wiedler.ch" + }, + { + "name": "Robert Schönthal", + "email": "seroscho@googlemail.com" + } + ], + "description": "A library to validate a json schema.", + "homepage": "https://github.com/justinrainbow/json-schema", + "keywords": [ + "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" }, { "name": "maglnet/composer-require-checker", - "version": "2.0.0", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/maglnet/ComposerRequireChecker.git", - "reference": "2d0ed3c76913a24bee08e324446aa47dd1ab37fb" + "reference": "b3cd6d30e2335997c5eabb19e3f01d699bc06caa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/maglnet/ComposerRequireChecker/zipball/2d0ed3c76913a24bee08e324446aa47dd1ab37fb", - "reference": "2d0ed3c76913a24bee08e324446aa47dd1ab37fb", + "url": "https://api.github.com/repos/maglnet/ComposerRequireChecker/zipball/b3cd6d30e2335997c5eabb19e3f01d699bc06caa", + "reference": "b3cd6d30e2335997c5eabb19e3f01d699bc06caa", "shasum": "" }, "require": { + "composer-runtime-api": "^2.0.0", "ext-json": "*", "ext-phar": "*", - "nikic/php-parser": "^4.0", - "php": "^7.1", - "symfony/console": "^3.4.17 | ^4.1.6", - "webmozart/glob": "^4.1" + "nikic/php-parser": "^4.10.2", + "php": "^7.4 || ^8.0", + "symfony/console": "^5.1.8", + "webmozart/assert": "^1.9.1", + "webmozart/glob": "^4.2.0" }, "require-dev": { - "mikey179/vfsstream": "^1.6", - "phpstan/phpstan": "^0.10.3", - "phpunit/phpunit": "^6.0" + "doctrine/coding-standard": "^8.2.0", + "ext-zend-opcache": "*", + "mikey179/vfsstream": "^1.6.8", + "phpstan/phpstan": "^0.12.64", + "phpunit/phpunit": "^9.5.0", + "vimeo/psalm": "^4.3.2" }, "bin": [ "bin/composer-require-checker" @@ -727,7 +1098,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "2.1-dev" } }, "autoload": { @@ -762,7 +1133,11 @@ "require", "requirements" ], - "time": "2019-03-19T20:16:54+00:00" + "support": { + "issues": "https://github.com/maglnet/ComposerRequireChecker/issues", + "source": "https://github.com/maglnet/ComposerRequireChecker/tree/3.1.0" + }, + "time": "2021-01-18T21:38:15+00:00" }, { "name": "myclabs/deep-copy", @@ -810,6 +1185,16 @@ "object", "object graph" ], + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], "time": "2020-11-13T09:40:50+00:00" }, { @@ -862,44 +1247,42 @@ "parser", "php" ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.4" + }, "time": "2020-12-20T10:01:03+00:00" }, { - "name": "ocramius/package-versions", - "version": "1.5.1", + "name": "ondram/ci-detector", + "version": "3.5.1", "source": { "type": "git", - "url": "https://github.com/Ocramius/PackageVersions.git", - "reference": "1d32342b8c1eb27353c8887c366147b4c2da673c" + "url": "https://github.com/OndraM/ci-detector.git", + "reference": "594e61252843b68998bddd48078c5058fe9028bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Ocramius/PackageVersions/zipball/1d32342b8c1eb27353c8887c366147b4c2da673c", - "reference": "1d32342b8c1eb27353c8887c366147b4c2da673c", + "url": "https://api.github.com/repos/OndraM/ci-detector/zipball/594e61252843b68998bddd48078c5058fe9028bd", + "reference": "594e61252843b68998bddd48078c5058fe9028bd", "shasum": "" }, "require": { - "composer-plugin-api": "^1.0.0", - "php": "^7.3.0" + "php": "^7.1 || ^8.0" }, "require-dev": { - "composer/composer": "^1.8.6", - "doctrine/coding-standard": "^6.0.0", - "ext-zip": "*", - "infection/infection": "^0.13.4", - "phpunit/phpunit": "^8.2.5", - "vimeo/psalm": "^3.4.9" - }, - "type": "composer-plugin", - "extra": { - "class": "PackageVersions\\Installer", - "branch-alias": { - "dev-master": "1.6.x-dev" - } + "ergebnis/composer-normalize": "^2.2", + "lmc/coding-standard": "^1.3 || ^2.0", + "php-parallel-lint/php-parallel-lint": "^1.1", + "phpstan/extension-installer": "^1.0.3", + "phpstan/phpstan": "^0.12.0", + "phpstan/phpstan-phpunit": "^0.12.1", + "phpunit/phpunit": "^7.1 || ^8.0 || ^9.0" }, + "type": "library", "autoload": { "psr-4": { - "PackageVersions\\": "src/PackageVersions" + "OndraM\\CiDetector\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -908,180 +1291,95 @@ ], "authors": [ { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" + "name": "Ondřej Machulda", + "email": "ondrej.machulda@gmail.com" } ], - "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", - "time": "2019-07-17T15:49:50+00:00" + "description": "Detect continuous integration environment and provide unified access to properties of current build", + "keywords": [ + "CircleCI", + "Codeship", + "Wercker", + "adapter", + "appveyor", + "aws", + "aws codebuild", + "bamboo", + "bitbucket", + "buddy", + "ci-info", + "codebuild", + "continuous integration", + "continuousphp", + "drone", + "github", + "gitlab", + "interface", + "jenkins", + "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" }, { - "name": "padraic/humbug_get_contents", - "version": "1.1.2", + "name": "pdepend/pdepend", + "version": "2.8.0", "source": { "type": "git", - "url": "https://github.com/humbug/file_get_contents.git", - "reference": "dcb086060c9dd6b2f51d8f7a895500307110b7a7" + "url": "https://github.com/pdepend/pdepend.git", + "reference": "c64472f8e76ca858c79ad9a4cf1e2734b3f8cc38" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/humbug/file_get_contents/zipball/dcb086060c9dd6b2f51d8f7a895500307110b7a7", - "reference": "dcb086060c9dd6b2f51d8f7a895500307110b7a7", + "url": "https://api.github.com/repos/pdepend/pdepend/zipball/c64472f8e76ca858c79ad9a4cf1e2734b3f8cc38", + "reference": "c64472f8e76ca858c79ad9a4cf1e2734b3f8cc38", "shasum": "" }, "require": { - "composer/ca-bundle": "^1.0", - "ext-openssl": "*", - "php": "^5.3 || ^7.0 || ^7.1 || ^7.2" + "php": ">=5.3.7", + "symfony/config": "^2.3.0|^3|^4|^5", + "symfony/dependency-injection": "^2.3.0|^3|^4|^5", + "symfony/filesystem": "^2.3.0|^3|^4|^5" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.1", - "mikey179/vfsstream": "^1.6", - "phpunit/phpunit": "^4.8 || ^5.7 || ^6.5" + "easy-doc/easy-doc": "0.0.0 || ^1.2.3", + "gregwar/rst": "^1.0", + "phpunit/phpunit": "^4.8.35|^5.7", + "squizlabs/php_codesniffer": "^2.0.0" }, + "bin": [ + "src/bin/pdepend" + ], "type": "library", "extra": { - "bamarni-bin": { - "bin-links": false - }, "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "2.x-dev" } }, "autoload": { "psr-4": { - "Humbug\\": "src/" - }, - "files": [ - "src/function.php", - "src/functions.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Pádraic Brady", - "email": "padraic.brady@gmail.com", - "homepage": "http://blog.astrumfutura.com" - }, - { - "name": "Théo Fidry", - "email": "theo.fidry@gmail.com" - } - ], - "description": "Secure wrapper for accessing HTTPS resources with file_get_contents for PHP 5.3+", - "homepage": "https://github.com/padraic/file_get_contents", - "keywords": [ - "download", - "file_get_contents", - "http", - "https", - "ssl", - "tls" - ], - "time": "2018-02-12T18:47:17+00:00" - }, - { - "name": "padraic/phar-updater", - "version": "v1.0.6", - "source": { - "type": "git", - "url": "https://github.com/humbug/phar-updater.git", - "reference": "d01d3b8f26e541ac9b9eeba1e18d005d852f7ff1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/humbug/phar-updater/zipball/d01d3b8f26e541ac9b9eeba1e18d005d852f7ff1", - "reference": "d01d3b8f26e541ac9b9eeba1e18d005d852f7ff1", - "shasum": "" - }, - "require": { - "padraic/humbug_get_contents": "^1.0", - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "psr-4": { - "Humbug\\SelfUpdate\\": "src/" + "PDepend\\": "src/main/php/PDepend" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], - "authors": [ - { - "name": "Pádraic Brady", - "email": "padraic.brady@gmail.com", - "homepage": "http://blog.astrumfutura.com" - } - ], - "description": "A thing to make PHAR self-updating easy and secure.", - "keywords": [ - "humbug", - "phar", - "self-update", - "update" - ], - "abandoned": true, - "time": "2018-03-30T12:52:15+00:00" - }, - { - "name": "pdepend/pdepend", - "version": "2.8.0", - "source": { - "type": "git", - "url": "https://github.com/pdepend/pdepend.git", - "reference": "c64472f8e76ca858c79ad9a4cf1e2734b3f8cc38" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/pdepend/pdepend/zipball/c64472f8e76ca858c79ad9a4cf1e2734b3f8cc38", - "reference": "c64472f8e76ca858c79ad9a4cf1e2734b3f8cc38", - "shasum": "" - }, - "require": { - "php": ">=5.3.7", - "symfony/config": "^2.3.0|^3|^4|^5", - "symfony/dependency-injection": "^2.3.0|^3|^4|^5", - "symfony/filesystem": "^2.3.0|^3|^4|^5" - }, - "require-dev": { - "easy-doc/easy-doc": "0.0.0 || ^1.2.3", - "gregwar/rst": "^1.0", - "phpunit/phpunit": "^4.8.35|^5.7", - "squizlabs/php_codesniffer": "^2.0.0" - }, - "bin": [ - "src/bin/pdepend" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } + "description": "Official version of pdepend to be handled with Composer", + "support": { + "issues": "https://github.com/pdepend/pdepend/issues", + "source": "https://github.com/pdepend/pdepend/tree/master" }, - "autoload": { - "psr-4": { - "PDepend\\": "src/main/php/PDepend" + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/pdepend/pdepend", + "type": "tidelift" } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" ], - "description": "Official version of pdepend to be handled with Composer", "time": "2020-06-20T10:53:13+00:00" }, { @@ -1138,6 +1436,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" }, { @@ -1185,6 +1487,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/3.0.4" + }, "time": "2020-12-13T23:18:30+00:00" }, { @@ -1236,6 +1542,10 @@ "keywords": [ "diff" ], + "support": { + "issues": "https://github.com/PHP-CS-Fixer/diff/issues", + "source": "https://github.com/PHP-CS-Fixer/diff/tree/v1.3.1" + }, "time": "2020-10-14T08:39:05+00:00" }, { @@ -1285,6 +1595,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" }, { @@ -1337,6 +1651,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" }, { @@ -1382,27 +1700,33 @@ } ], "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" }, { "name": "phploc/phploc", - "version": "5.0.0", + "version": "7.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phploc.git", - "reference": "5b714ccb7cb8ca29ccf9caf6eb1aed0131d3a884" + "reference": "af0d5fc84f3f7725513ba59cdcbe670ac2a4532a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phploc/zipball/5b714ccb7cb8ca29ccf9caf6eb1aed0131d3a884", - "reference": "5b714ccb7cb8ca29ccf9caf6eb1aed0131d3a884", + "url": "https://api.github.com/repos/sebastianbergmann/phploc/zipball/af0d5fc84f3f7725513ba59cdcbe670ac2a4532a", + "reference": "af0d5fc84f3f7725513ba59cdcbe670ac2a4532a", "shasum": "" }, "require": { - "php": "^7.2", - "sebastian/finder-facade": "^1.1", - "sebastian/version": "^2.0", - "symfony/console": "^4.0" + "ext-dom": "*", + "ext-json": "*", + "php": ">=7.3", + "phpunit/php-file-iterator": "^3.0", + "sebastian/cli-parser": "^1.0", + "sebastian/version": "^3.0" }, "bin": [ "phploc" @@ -1410,7 +1734,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-master": "7.0-dev" } }, "autoload": { @@ -1431,7 +1755,17 @@ ], "description": "A tool for quickly measuring the size of a PHP project.", "homepage": "https://github.com/sebastianbergmann/phploc", - "time": "2019-03-16T10:41:19+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/phploc/issues", + "source": "https://github.com/sebastianbergmann/phploc/tree/7.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-12-07T05:51:20+00:00" }, { "name": "phpmd/phpmd", @@ -1503,6 +1837,17 @@ "phpmd", "pmd" ], + "support": { + "irc": "irc://irc.freenode.org/phpmd", + "issues": "https://github.com/phpmd/phpmd/issues", + "source": "https://github.com/phpmd/phpmd/tree/2.9.1" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/phpmd/phpmd", + "type": "tidelift" + } + ], "time": "2020-09-23T22:06:32+00:00" }, { @@ -1566,6 +1911,10 @@ "spy", "stub" ], + "support": { + "issues": "https://github.com/phpspec/prophecy/issues", + "source": "https://github.com/phpspec/prophecy/tree/1.12.2" + }, "time": "2020-12-19T10:15:11+00:00" }, { @@ -1607,20 +1956,24 @@ "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.1.0" + }, "time": "2020-12-13T13:06:13+00:00" }, { "name": "phpstan/phpstan", - "version": "0.12.65", + "version": "0.12.68", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "1c7658668b28f8d647a8b874372acf14c4352688" + "reference": "ddbe01af0706ee094c3f1ce9730b35aebb508d3d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/1c7658668b28f8d647a8b874372acf14c4352688", - "reference": "1c7658668b28f8d647a8b874372acf14c4352688", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ddbe01af0706ee094c3f1ce9730b35aebb508d3d", + "reference": "ddbe01af0706ee094c3f1ce9730b35aebb508d3d", "shasum": "" }, "require": { @@ -1649,25 +2002,43 @@ "MIT" ], "description": "PHPStan - PHP Static Analysis Tool", - "time": "2021-01-06T16:51:10+00:00" + "support": { + "issues": "https://github.com/phpstan/phpstan/issues", + "source": "https://github.com/phpstan/phpstan/tree/0.12.68" + }, + "funding": [ + { + "url": "https://github.com/ondrejmirtes", + "type": "github" + }, + { + "url": "https://www.patreon.com/phpstan", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", + "type": "tidelift" + } + ], + "time": "2021-01-18T12:29:17+00:00" }, { "name": "phpstan/phpstan-strict-rules", - "version": "0.12.7", + "version": "0.12.9", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-strict-rules.git", - "reference": "03807e3410747ec18cd5f05a6342384adcc423bf" + "reference": "0705fefc7c9168529fd130e341428f5f10f4f01d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/03807e3410747ec18cd5f05a6342384adcc423bf", - "reference": "03807e3410747ec18cd5f05a6342384adcc423bf", + "url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/0705fefc7c9168529fd130e341428f5f10f4f01d", + "reference": "0705fefc7c9168529fd130e341428f5f10f4f01d", "shasum": "" }, "require": { "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.60" + "phpstan/phpstan": "^0.12.66" }, "require-dev": { "phing/phing": "^2.16.3", @@ -1696,44 +2067,52 @@ "MIT" ], "description": "Extra strict and opinionated rules for PHPStan", - "time": "2020-12-13T13:27:14+00:00" + "support": { + "issues": "https://github.com/phpstan/phpstan-strict-rules/issues", + "source": "https://github.com/phpstan/phpstan-strict-rules/tree/0.12.9" + }, + "time": "2021-01-13T08:50:28+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "7.0.14", + "version": "9.2.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "bb7c9a210c72e4709cdde67f8b7362f672f2225c" + "reference": "f3e026641cc91909d421802dd3ac7827ebfd97e1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/bb7c9a210c72e4709cdde67f8b7362f672f2225c", - "reference": "bb7c9a210c72e4709cdde67f8b7362f672f2225c", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f3e026641cc91909d421802dd3ac7827ebfd97e1", + "reference": "f3e026641cc91909d421802dd3ac7827ebfd97e1", "shasum": "" }, "require": { "ext-dom": "*", + "ext-libxml": "*", "ext-xmlwriter": "*", - "php": ">=7.2", - "phpunit/php-file-iterator": "^2.0.2", - "phpunit/php-text-template": "^1.2.1", - "phpunit/php-token-stream": "^3.1.1 || ^4.0", - "sebastian/code-unit-reverse-lookup": "^1.0.1", - "sebastian/environment": "^4.2.2", - "sebastian/version": "^2.0.1", - "theseer/tokenizer": "^1.1.3" + "nikic/php-parser": "^4.10.2", + "php": ">=7.3", + "phpunit/php-file-iterator": "^3.0.3", + "phpunit/php-text-template": "^2.0.2", + "sebastian/code-unit-reverse-lookup": "^2.0.2", + "sebastian/complexity": "^2.0", + "sebastian/environment": "^5.1.2", + "sebastian/lines-of-code": "^1.0.3", + "sebastian/version": "^3.0.1", + "theseer/tokenizer": "^1.2.0" }, "require-dev": { - "phpunit/phpunit": "^8.2.2" + "phpunit/phpunit": "^9.3" }, "suggest": { - "ext-xdebug": "^2.7.2" + "ext-pcov": "*", + "ext-xdebug": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "9.2-dev" } }, "autoload": { @@ -1759,32 +2138,42 @@ "testing", "xunit" ], - "time": "2020-12-02T13:39:03+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-28T06:44:49+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "2.0.3", + "version": "3.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "4b49fb70f067272b659ef0174ff9ca40fdaa6357" + "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/4b49fb70f067272b659ef0174ff9ca40fdaa6357", - "reference": "4b49fb70f067272b659ef0174ff9ca40fdaa6357", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/aa4be8575f26070b100fccb67faabb28f21f66f8", + "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^8.5" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -1809,26 +2198,48 @@ "filesystem", "iterator" ], - "time": "2020-11-30T08:25:21+00:00" + "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", + "type": "github" + } + ], + "time": "2020-09-28T05:57:25+00:00" }, { - "name": "phpunit/php-text-template", - "version": "1.2.1", + "name": "phpunit/php-invoker", + "version": "3.1.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686" + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686", - "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.3" + }, + "require-dev": { + "ext-pcntl": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcntl": "*" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, "autoload": { "classmap": [ "src/" @@ -1845,37 +2256,47 @@ "role": "lead" } ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", "keywords": [ - "template" + "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", + "type": "github" + } ], - "time": "2015-06-21T13:50:34+00:00" + "time": "2020-09-28T05:58:55+00:00" }, { - "name": "phpunit/php-timer", - "version": "2.1.3", + "name": "phpunit/php-text-template", + "version": "2.0.4", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "2454ae1765516d20c4ffe103d85a58a9a3bd5662" + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/2454ae1765516d20c4ffe103d85a58a9a3bd5662", - "reference": "2454ae1765516d20c4ffe103d85a58a9a3bd5662", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^8.5" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -1894,38 +2315,47 @@ "role": "lead" } ], - "description": "Utility class for timing", - "homepage": "https://github.com/sebastianbergmann/php-timer/", + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", "keywords": [ - "timer" + "template" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } ], - "time": "2020-11-30T08:20:02+00:00" + "time": "2020-10-26T05:33:50+00:00" }, { - "name": "phpunit/php-token-stream", - "version": "4.0.4", + "name": "phpunit/php-timer", + "version": "5.0.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "a853a0e183b9db7eed023d7933a858fa1c8d25a3" + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/a853a0e183b9db7eed023d7933a858fa1c8d25a3", - "reference": "a853a0e183b9db7eed023d7933a858fa1c8d25a3", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", "shasum": "" }, "require": { - "ext-tokenizer": "*", - "php": "^7.3 || ^8.0" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^9.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -1940,29 +2370,39 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Wrapper around PHP's tokenizer extension.", - "homepage": "https://github.com/sebastianbergmann/php-token-stream/", + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", "keywords": [ - "tokenizer" + "timer" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } ], - "abandoned": true, - "time": "2020-08-04T08:28:15+00:00" + "time": "2020-10-26T13:16:10+00:00" }, { "name": "phpunit/phpunit", - "version": "8.5.13", + "version": "9.5.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "8e86be391a58104ef86037ba8a846524528d784e" + "reference": "e7bdf4085de85a825f4424eae52c99a1cec2f360" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/8e86be391a58104ef86037ba8a846524528d784e", - "reference": "8e86be391a58104ef86037ba8a846524528d784e", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/e7bdf4085de85a825f4424eae52c99a1cec2f360", + "reference": "e7bdf4085de85a825f4424eae52c99a1cec2f360", "shasum": "" }, "require": { @@ -1973,32 +2413,35 @@ "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.10.0", + "myclabs/deep-copy": "^1.10.1", "phar-io/manifest": "^2.0.1", "phar-io/version": "^3.0.2", - "php": ">=7.2", - "phpspec/prophecy": "^1.10.3", - "phpunit/php-code-coverage": "^7.0.12", - "phpunit/php-file-iterator": "^2.0.2", - "phpunit/php-text-template": "^1.2.1", - "phpunit/php-timer": "^2.1.2", - "sebastian/comparator": "^3.0.2", - "sebastian/diff": "^3.0.2", - "sebastian/environment": "^4.2.3", - "sebastian/exporter": "^3.1.2", - "sebastian/global-state": "^3.0.0", - "sebastian/object-enumerator": "^3.0.3", - "sebastian/resource-operations": "^2.0.1", - "sebastian/type": "^1.1.3", - "sebastian/version": "^2.0.1" + "php": ">=7.3", + "phpspec/prophecy": "^1.12.1", + "phpunit/php-code-coverage": "^9.2.3", + "phpunit/php-file-iterator": "^3.0.5", + "phpunit/php-invoker": "^3.1.1", + "phpunit/php-text-template": "^2.0.3", + "phpunit/php-timer": "^5.0.2", + "sebastian/cli-parser": "^1.0.1", + "sebastian/code-unit": "^1.0.6", + "sebastian/comparator": "^4.0.5", + "sebastian/diff": "^4.0.3", + "sebastian/environment": "^5.1.3", + "sebastian/exporter": "^4.0.3", + "sebastian/global-state": "^5.0.1", + "sebastian/object-enumerator": "^4.0.3", + "sebastian/resource-operations": "^3.0.3", + "sebastian/type": "^2.3", + "sebastian/version": "^3.0.2" }, "require-dev": { - "ext-pdo": "*" + "ext-pdo": "*", + "phpspec/prophecy-phpunit": "^2.0.1" }, "suggest": { "ext-soap": "*", - "ext-xdebug": "*", - "phpunit/php-invoker": "^2.0.0" + "ext-xdebug": "*" }, "bin": [ "phpunit" @@ -2006,12 +2449,15 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "8.5-dev" + "dev-master": "9.5-dev" } }, "autoload": { "classmap": [ "src/" + ], + "files": [ + "src/Framework/Assert/Functions.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -2032,38 +2478,48 @@ "testing", "xunit" ], - "time": "2020-12-01T04:53:52+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.1" + }, + "funding": [ + { + "url": "https://phpunit.de/donate.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-01-17T07:42:25+00:00" }, { - "name": "pimple/pimple", - "version": "v3.3.1", + "name": "psr/container", + "version": "1.0.0", "source": { "type": "git", - "url": "https://github.com/silexphp/Pimple.git", - "reference": "21e45061c3429b1e06233475cc0e1f6fc774d5b0" + "url": "https://github.com/php-fig/container.git", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/silexphp/Pimple/zipball/21e45061c3429b1e06233475cc0e1f6fc774d5b0", - "reference": "21e45061c3429b1e06233475cc0e1f6fc774d5b0", + "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/container": "^1.0" - }, - "require-dev": { - "symfony/phpunit-bridge": "^5.0" + "php": ">=5.3.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.3.x-dev" + "dev-master": "1.0.x-dev" } }, "autoload": { - "psr-0": { - "Pimple": "src/" + "psr-4": { + "Psr\\Container\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2072,34 +2528,41 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "Pimple, a simple Dependency Injection Container", - "homepage": "https://pimple.symfony.com", + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", "keywords": [ + "PSR-11", "container", - "dependency injection" + "container-interface", + "container-interop", + "psr" ], - "time": "2020-11-24T20:35:42+00:00" + "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" }, { - "name": "psr/container", + "name": "psr/event-dispatcher", "version": "1.0.0", "source": { "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=7.2.0" }, "type": "library", "extra": { @@ -2109,7 +2572,7 @@ }, "autoload": { "psr-4": { - "Psr\\Container\\": "src/" + "Psr\\EventDispatcher\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2122,16 +2585,17 @@ "homepage": "http://www.php-fig.org/" } ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", + "description": "Standard interfaces for event handling.", "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" + "events", + "psr", + "psr-14" ], - "time": "2017-02-14T16:28:37+00:00" + "support": { + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" + }, + "time": "2019-01-08T18:20:26+00:00" }, { "name": "psr/log", @@ -2178,79 +2642,269 @@ "psr", "psr-3" ], + "support": { + "source": "https://github.com/php-fig/log/tree/1.1.3" + }, "time": "2020-03-23T09:12:05+00:00" }, { - "name": "sebastian/code-unit-reverse-lookup", - "version": "1.0.2", + "name": "sanmai/pipeline", + "version": "v5.1.0", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619" + "url": "https://github.com/sanmai/pipeline.git", + "reference": "f935e10ddcb758c89829e7b69cfb1dc2b2638518" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/1de8cd5c010cb153fcd68b8d0f64606f523f7619", - "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619", + "url": "https://api.github.com/repos/sanmai/pipeline/zipball/f935e10ddcb758c89829e7b69cfb1dc2b2638518", + "reference": "f935e10ddcb758c89829e7b69cfb1dc2b2638518", "shasum": "" }, "require": { - "php": ">=5.6" + "php": "^7.1 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^8.5" + "ergebnis/composer-normalize": "^2.8", + "friendsofphp/php-cs-fixer": "^2.16", + "infection/infection": ">=0.10.5", + "league/pipeline": "^1.0 || ^0.3", + "phan/phan": "^1.1 || ^2.0 || ^3.0", + "php-coveralls/php-coveralls": "^2.4.1", + "phpstan/phpstan": ">=0.10", + "phpunit/phpunit": "^7.4 || ^8.1 || ^9.4", + "vimeo/psalm": "^2.0 || ^3.0 || ^4.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-main": "v5.x-dev" } }, "autoload": { - "classmap": [ - "src/" + "psr-4": { + "Pipeline\\": "src/" + }, + "files": [ + "src/functions.php" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "Apache-2.0" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "name": "Alexey Kopytko", + "email": "alexey@kopytko.com" } ], - "description": "Looks up which function or method a line of code belongs to", - "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "time": "2020-11-30T08:15:22+00:00" - }, - { + "description": "General-purpose collections pipeline", + "support": { + "issues": "https://github.com/sanmai/pipeline/issues", + "source": "https://github.com/sanmai/pipeline/tree/v5.1.0" + }, + "funding": [ + { + "url": "https://github.com/sanmai", + "type": "github" + } + ], + "time": "2020-10-25T15:20:56+00:00" + }, + { + "name": "sebastian/cli-parser", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "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", + "type": "github" + } + ], + "time": "2020-09-28T06:08:49+00:00" + }, + { + "name": "sebastian/code-unit", + "version": "1.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "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.8" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:08:54+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "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", + "type": "github" + } + ], + "time": "2020-09-28T05:30:19+00:00" + }, + { "name": "sebastian/comparator", - "version": "3.0.3", + "version": "4.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "1071dfcef776a57013124ff35e1fc41ccd294758" + "reference": "55f4261989e546dc112258c7a75935a81a7ce382" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/1071dfcef776a57013124ff35e1fc41ccd294758", - "reference": "1071dfcef776a57013124ff35e1fc41ccd294758", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/55f4261989e546dc112258c7a75935a81a7ce382", + "reference": "55f4261989e546dc112258c7a75935a81a7ce382", "shasum": "" }, "require": { - "php": ">=7.1", - "sebastian/diff": "^3.0", - "sebastian/exporter": "^3.1" + "php": ">=7.3", + "sebastian/diff": "^4.0", + "sebastian/exporter": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^8.5" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -2287,33 +2941,100 @@ "compare", "equality" ], - "time": "2020-11-30T08:04:30+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T15:49:45+00:00" + }, + { + "name": "sebastian/complexity", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/complexity.git", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.7", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library 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.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T15:52:27+00:00" }, { "name": "sebastian/diff", - "version": "3.0.3", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "14f72dd46eaf2f2293cbe79c93cc0bc43161a211" + "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/14f72dd46eaf2f2293cbe79c93cc0bc43161a211", - "reference": "14f72dd46eaf2f2293cbe79c93cc0bc43161a211", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^7.5 || ^8.0", - "symfony/process": "^2 || ^3.3 || ^4" + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -2343,27 +3064,37 @@ "unidiff", "unified diff" ], - "time": "2020-11-30T07:59:04+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:10:38+00:00" }, { "name": "sebastian/environment", - "version": "4.2.4", + "version": "5.1.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "d47bbbad83711771f167c72d4e3f25f7fcc1f8b0" + "reference": "388b6ced16caa751030f6a69e588299fa09200ac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/d47bbbad83711771f167c72d4e3f25f7fcc1f8b0", - "reference": "d47bbbad83711771f167c72d4e3f25f7fcc1f8b0", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/388b6ced16caa751030f6a69e588299fa09200ac", + "reference": "388b6ced16caa751030f6a69e588299fa09200ac", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^7.5" + "phpunit/phpunit": "^9.3" }, "suggest": { "ext-posix": "*" @@ -2371,7 +3102,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.2-dev" + "dev-master": "5.1-dev" } }, "autoload": { @@ -2396,34 +3127,44 @@ "environment", "hhvm" ], - "time": "2020-11-30T07:53:42+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:52:38+00:00" }, { "name": "sebastian/exporter", - "version": "3.1.3", + "version": "4.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "6b853149eab67d4da22291d36f5b0631c0fd856e" + "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/6b853149eab67d4da22291d36f5b0631c0fd856e", - "reference": "6b853149eab67d4da22291d36f5b0631c0fd856e", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/d89cc98761b8cb5a1a235a6b703ae50d34080e65", + "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65", "shasum": "" }, "require": { - "php": ">=7.0", - "sebastian/recursion-context": "^3.0" + "php": ">=7.3", + "sebastian/recursion-context": "^4.0" }, "require-dev": { "ext-mbstring": "*", - "phpunit/phpunit": "^6.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1.x-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -2463,30 +3204,49 @@ "export", "exporter" ], - "time": "2020-11-30T07:47:53+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:24:23+00:00" }, { - "name": "sebastian/finder-facade", - "version": "1.2.3", + "name": "sebastian/global-state", + "version": "5.0.2", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/finder-facade.git", - "reference": "167c45d131f7fc3d159f56f191a0a22228765e16" + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "a90ccbddffa067b51f574dea6eb25d5680839455" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/finder-facade/zipball/167c45d131f7fc3d159f56f191a0a22228765e16", - "reference": "167c45d131f7fc3d159f56f191a0a22228765e16", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/a90ccbddffa067b51f574dea6eb25d5680839455", + "reference": "a90ccbddffa067b51f574dea6eb25d5680839455", "shasum": "" }, "require": { - "php": "^7.1", - "symfony/finder": "^2.3|^3.0|^4.0|^5.0", - "theseer/fdomdocument": "^1.6" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-dom": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-uopz": "*" }, "type": "library", "extra": { - "branch-alias": [] + "branch-alias": { + "dev-master": "5.0-dev" + } }, "autoload": { "classmap": [ @@ -2500,45 +3260,51 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" } ], - "description": "FinderFacade is a convenience wrapper for Symfony's Finder component.", - "homepage": "https://github.com/sebastianbergmann/finder-facade", - "abandoned": true, - "time": "2020-01-16T08:08:45+00:00" + "time": "2020-10-26T15:55:19+00:00" }, { - "name": "sebastian/global-state", - "version": "3.0.1", + "name": "sebastian/lines-of-code", + "version": "1.0.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "474fb9edb7ab891665d3bfc6317f42a0a150454b" + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/474fb9edb7ab891665d3bfc6317f42a0a150454b", - "reference": "474fb9edb7ab891665d3bfc6317f42a0a150454b", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", "shasum": "" }, "require": { - "php": ">=7.2", - "sebastian/object-reflector": "^1.1.1", - "sebastian/recursion-context": "^3.0" + "nikic/php-parser": "^4.6", + "php": ">=7.3" }, "require-dev": { - "ext-dom": "*", - "phpunit/phpunit": "^8.0" - }, - "suggest": { - "ext-uopz": "*" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -2553,42 +3319,50 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", - "keywords": [ - "global state" + "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.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } ], - "time": "2020-11-30T07:43:24+00:00" + "time": "2020-11-28T06:42:11+00:00" }, { "name": "sebastian/object-enumerator", - "version": "3.0.4", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2" + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2", - "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", "shasum": "" }, "require": { - "php": ">=7.0", - "sebastian/object-reflector": "^1.1.1", - "sebastian/recursion-context": "^3.0" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^6.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0.x-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -2608,32 +3382,42 @@ ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "time": "2020-11-30T07:40:27+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:12:34+00:00" }, { "name": "sebastian/object-reflector", - "version": "1.1.2", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d" + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/9b8772b9cbd456ab45d4a598d2dd1a1bced6363d", - "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", "shasum": "" }, "require": { - "php": ">=7.0" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^6.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -2653,32 +3437,42 @@ ], "description": "Allows reflection of object attributes, including inherited and non-public ones", "homepage": "https://github.com/sebastianbergmann/object-reflector/", - "time": "2020-11-30T07:37:18+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:14:26+00:00" }, { "name": "sebastian/recursion-context", - "version": "3.0.1", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb" + "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/367dcba38d6e1977be014dc4b22f47a484dac7fb", - "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172", + "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172", "shasum": "" }, "require": { - "php": ">=7.0" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^6.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0.x-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -2706,29 +3500,42 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2020-11-30T07:34:24+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:17:30+00:00" }, { "name": "sebastian/resource-operations", - "version": "2.0.2", + "version": "3.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "31d35ca87926450c44eae7e2611d45a7a65ea8b3" + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/31d35ca87926450c44eae7e2611d45a7a65ea8b3", - "reference": "31d35ca87926450c44eae7e2611d45a7a65ea8b3", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -2748,32 +3555,42 @@ ], "description": "Provides a list of PHP built-in functions that operate on resources", "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "time": "2020-11-30T07:30:19+00:00" + "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", + "type": "github" + } + ], + "time": "2020-09-28T06:45:17+00:00" }, { "name": "sebastian/type", - "version": "1.1.4", + "version": "2.3.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "0150cfbc4495ed2df3872fb31b26781e4e077eb4" + "reference": "81cd61ab7bbf2de744aba0ea61fae32f721df3d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/0150cfbc4495ed2df3872fb31b26781e4e077eb4", - "reference": "0150cfbc4495ed2df3872fb31b26781e4e077eb4", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/81cd61ab7bbf2de744aba0ea61fae32f721df3d2", + "reference": "81cd61ab7bbf2de744aba0ea61fae32f721df3d2", "shasum": "" }, "require": { - "php": ">=7.2" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^8.2" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "2.3-dev" } }, "autoload": { @@ -2794,29 +3611,39 @@ ], "description": "Collection of value objects that represent the types of the PHP type system", "homepage": "https://github.com/sebastianbergmann/type", - "time": "2020-11-30T07:25:11+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/2.3.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:18:59+00:00" }, { "name": "sebastian/version", - "version": "2.0.1", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019" + "reference": "c6c1022351a901512170118436c764e473f6de8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019", - "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", "shasum": "" }, "require": { - "php": ">=5.6" + "php": ">=7.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -2837,40 +3664,45 @@ ], "description": "Library that helps with managing the version number of Git-hosted PHP projects", "homepage": "https://github.com/sebastianbergmann/version", - "time": "2016-10-03T07:35:21+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:39:44+00:00" }, { - "name": "sllh/composer-versions-check", - "version": "v2.0.4", + "name": "seld/jsonlint", + "version": "1.8.3", "source": { "type": "git", - "url": "https://github.com/soullivaneuh/composer-versions-check.git", - "reference": "05bca35588b6f234390fd4946d84c8f8e1890c43" + "url": "https://github.com/Seldaek/jsonlint.git", + "reference": "9ad6ce79c342fbd44df10ea95511a1b24dee5b57" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/soullivaneuh/composer-versions-check/zipball/05bca35588b6f234390fd4946d84c8f8e1890c43", - "reference": "05bca35588b6f234390fd4946d84c8f8e1890c43", + "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/9ad6ce79c342fbd44df10ea95511a1b24dee5b57", + "reference": "9ad6ce79c342fbd44df10ea95511a1b24dee5b57", "shasum": "" }, "require": { - "composer-plugin-api": "^1.0 || ^2.0", - "php": "^5.3 || ^7.0" + "php": "^5.3 || ^7.0 || ^8.0" }, "require-dev": { - "composer/composer": "^1.0 || ^2.0", - "symfony/phpunit-bridge": "^2.7.4|^3.0" - }, - "type": "composer-plugin", - "extra": { - "class": "SLLH\\ComposerVersionsCheck\\VersionsCheckPlugin", - "branch-alias": { - "dev-master": "2.x-dev" - } + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" }, + "bin": [ + "bin/jsonlint" + ], + "type": "library", "autoload": { "psr-4": { - "SLLH\\ComposerVersionsCheck\\": "src/" + "Seld\\JsonLint\\": "src/Seld/JsonLint/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2879,18 +3711,33 @@ ], "authors": [ { - "name": "Sullivan SENECHAL", - "email": "soullivaneuh@gmail.com" + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" } ], - "description": "Checks if packages are up to date to last major versions after update", + "description": "JSON Linter", "keywords": [ - "composer", - "plugin", - "update", - "versions" + "json", + "linter", + "parser", + "validator" ], - "time": "2020-05-05T13:03:07+00:00" + "support": { + "issues": "https://github.com/Seldaek/jsonlint/issues", + "source": "https://github.com/Seldaek/jsonlint/tree/1.8.3" + }, + "funding": [ + { + "url": "https://github.com/Seldaek", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/seld/jsonlint", + "type": "tidelift" + } + ], + "time": "2020-11-11T09:19:24+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -2941,6 +3788,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-10-23T02:01:07+00:00" }, { @@ -3002,46 +3854,65 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/config/tree/v5.2.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], "time": "2020-12-09T18:54:12+00:00" }, { "name": "symfony/console", - "version": "v4.4.18", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "12e071278e396cc3e1c149857337e9e192deca0b" + "reference": "47c02526c532fb381374dab26df05e7313978976" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/12e071278e396cc3e1c149857337e9e192deca0b", - "reference": "12e071278e396cc3e1c149857337e9e192deca0b", + "url": "https://api.github.com/repos/symfony/console/zipball/47c02526c532fb381374dab26df05e7313978976", + "reference": "47c02526c532fb381374dab26df05e7313978976", "shasum": "" }, "require": { - "php": ">=7.1.3", + "php": ">=7.2.5", "symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-php73": "^1.8", "symfony/polyfill-php80": "^1.15", - "symfony/service-contracts": "^1.1|^2" + "symfony/service-contracts": "^1.1|^2", + "symfony/string": "^5.1" }, "conflict": { - "symfony/dependency-injection": "<3.4", - "symfony/event-dispatcher": "<4.3|>=5", + "symfony/dependency-injection": "<4.4", + "symfony/dotenv": "<5.1", + "symfony/event-dispatcher": "<4.4", "symfony/lock": "<4.4", - "symfony/process": "<3.3" + "symfony/process": "<4.4" }, "provide": { "psr/log-implementation": "1.0" }, "require-dev": { "psr/log": "~1.0", - "symfony/config": "^3.4|^4.0|^5.0", - "symfony/dependency-injection": "^3.4|^4.0|^5.0", - "symfony/event-dispatcher": "^4.3", + "symfony/config": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/event-dispatcher": "^4.4|^5.0", "symfony/lock": "^4.4|^5.0", - "symfony/process": "^3.4|^4.0|^5.0", - "symfony/var-dumper": "^4.3|^5.0" + "symfony/process": "^4.4|^5.0", + "symfony/var-dumper": "^4.4|^5.0" }, "suggest": { "psr/log": "For using the console logger", @@ -3074,7 +3945,30 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2020-12-18T07:41:31+00:00" + "keywords": [ + "cli", + "command line", + "console", + "terminal" + ], + "support": { + "source": "https://github.com/symfony/console/tree/v5.2.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-12-18T08:03:05+00:00" }, { "name": "symfony/dependency-injection", @@ -3144,6 +4038,23 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/dependency-injection/tree/v5.2.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], "time": "2020-12-18T08:03:05+00:00" }, { @@ -3194,42 +4105,61 @@ ], "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/master" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], "time": "2020-09-07T11:33:47+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v4.4.18", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "5d4c874b0eb1c32d40328a09dbc37307a5a910b0" + "reference": "1c93f7a1dff592c252574c79a8635a8a80856042" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/5d4c874b0eb1c32d40328a09dbc37307a5a910b0", - "reference": "5d4c874b0eb1c32d40328a09dbc37307a5a910b0", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/1c93f7a1dff592c252574c79a8635a8a80856042", + "reference": "1c93f7a1dff592c252574c79a8635a8a80856042", "shasum": "" }, "require": { - "php": ">=7.1.3", - "symfony/event-dispatcher-contracts": "^1.1" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1", + "symfony/event-dispatcher-contracts": "^2", + "symfony/polyfill-php80": "^1.15" }, "conflict": { - "symfony/dependency-injection": "<3.4" + "symfony/dependency-injection": "<4.4" }, "provide": { "psr/event-dispatcher-implementation": "1.0", - "symfony/event-dispatcher-implementation": "1.1" + "symfony/event-dispatcher-implementation": "2.0" }, "require-dev": { "psr/log": "~1.0", - "symfony/config": "^3.4|^4.0|^5.0", - "symfony/dependency-injection": "^3.4|^4.0|^5.0", - "symfony/error-handler": "~3.4|~4.4", - "symfony/expression-language": "^3.4|^4.0|^5.0", - "symfony/http-foundation": "^3.4|^4.0|^5.0", + "symfony/config": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/error-handler": "^4.4|^5.0", + "symfony/expression-language": "^4.4|^5.0", + "symfony/http-foundation": "^4.4|^5.0", "symfony/service-contracts": "^1.1|^2", - "symfony/stopwatch": "^3.4|^4.0|^5.0" + "symfony/stopwatch": "^4.4|^5.0" }, "suggest": { "symfony/dependency-injection": "", @@ -3260,33 +4190,50 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2020-12-18T07:41:31+00:00" + "support": { + "source": "https://github.com/symfony/event-dispatcher/tree/v5.2.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-12-18T08:03:05+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v1.1.9", + "version": "v2.2.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "84e23fdcd2517bf37aecbd16967e83f0caee25a7" + "reference": "0ba7d54483095a198fa51781bc608d17e84dffa2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/84e23fdcd2517bf37aecbd16967e83f0caee25a7", - "reference": "84e23fdcd2517bf37aecbd16967e83f0caee25a7", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/0ba7d54483095a198fa51781bc608d17e84dffa2", + "reference": "0ba7d54483095a198fa51781bc608d17e84dffa2", "shasum": "" }, "require": { - "php": ">=7.1.3" + "php": ">=7.2.5", + "psr/event-dispatcher": "^1" }, "suggest": { - "psr/event-dispatcher": "", "symfony/event-dispatcher-implementation": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "2.2-dev" }, "thanks": { "name": "symfony/contracts", @@ -3322,24 +4269,41 @@ "interoperability", "standards" ], - "time": "2020-07-06T13:19:58+00:00" + "support": { + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.2.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-09-07T11:33:47+00:00" }, { "name": "symfony/filesystem", - "version": "v4.4.18", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "d99fbef7e0f69bf162ae6131b31132fa3cc4bcbe" + "reference": "fa8f8cab6b65e2d99a118e082935344c5ba8c60d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/d99fbef7e0f69bf162ae6131b31132fa3cc4bcbe", - "reference": "d99fbef7e0f69bf162ae6131b31132fa3cc4bcbe", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/fa8f8cab6b65e2d99a118e082935344c5ba8c60d", + "reference": "fa8f8cab6b65e2d99a118e082935344c5ba8c60d", "shasum": "" }, "require": { - "php": ">=7.1.3", + "php": ">=7.2.5", "symfony/polyfill-ctype": "~1.8" }, "type": "library", @@ -3367,32 +4331,191 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2020-11-30T13:04:35+00:00" + "support": { + "source": "https://github.com/symfony/filesystem/tree/v5.2.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-11-30T17:05:38+00:00" + }, + { + "name": "symfony/finder", + "version": "v5.2.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "0b9231a5922fd7287ba5b411893c0ecd2733e5ba" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/0b9231a5922fd7287ba5b411893c0ecd2733e5ba", + "reference": "0b9231a5922fd7287ba5b411893c0ecd2733e5ba", + "shasum": "" + }, + "require": { + "php": ">=7.2.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Finder Component", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/finder/tree/v5.2.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-12-08T17:02:38+00:00" + }, + { + "name": "symfony/options-resolver", + "version": "v5.2.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/options-resolver.git", + "reference": "87a2a4a766244e796dd9cb9d6f58c123358cd986" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/87a2a4a766244e796dd9cb9d6f58c123358cd986", + "reference": "87a2a4a766244e796dd9cb9d6f58c123358cd986", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1", + "symfony/polyfill-php73": "~1.0", + "symfony/polyfill-php80": "^1.15" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\OptionsResolver\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony OptionsResolver Component", + "homepage": "https://symfony.com", + "keywords": [ + "config", + "configuration", + "options" + ], + "support": { + "source": "https://github.com/symfony/options-resolver/tree/v5.2.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T12:08:07+00:00" }, { - "name": "symfony/finder", - "version": "v4.4.18", + "name": "symfony/polyfill-ctype", + "version": "v1.22.0", "source": { "type": "git", - "url": "https://github.com/symfony/finder.git", - "reference": "ebd0965f2dc2d4e0f11487c16fbb041e50b5c09b" + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "c6c942b1ac76c82448322025e084cadc56048b4e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/ebd0965f2dc2d4e0f11487c16fbb041e50b5c09b", - "reference": "ebd0965f2dc2d4e0f11487c16fbb041e50b5c09b", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/c6c942b1ac76c82448322025e084cadc56048b4e", + "reference": "c6c942b1ac76c82448322025e084cadc56048b4e", "shasum": "" }, "require": { - "php": ">=7.1.3" + "php": ">=7.1" + }, + "suggest": { + "ext-ctype": "For best performance" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, "autoload": { "psr-4": { - "Symfony\\Component\\Finder\\": "" + "Symfony\\Polyfill\\Ctype\\": "" }, - "exclude-from-classmap": [ - "/Tests/" + "files": [ + "bootstrap.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -3401,45 +4524,77 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Finder Component", + "description": "Symfony polyfill for ctype functions", "homepage": "https://symfony.com", - "time": "2020-12-08T16:59:59+00:00" + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.22.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-07T16:49:33+00:00" }, { - "name": "symfony/options-resolver", - "version": "v5.2.1", + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.22.0", "source": { "type": "git", - "url": "https://github.com/symfony/options-resolver.git", - "reference": "87a2a4a766244e796dd9cb9d6f58c123358cd986" + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "267a9adeb8ecb8071040a740930e077cdfb987af" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/87a2a4a766244e796dd9cb9d6f58c123358cd986", - "reference": "87a2a4a766244e796dd9cb9d6f58c123358cd986", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/267a9adeb8ecb8071040a740930e077cdfb987af", + "reference": "267a9adeb8ecb8071040a740930e077cdfb987af", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/polyfill-php73": "~1.0", - "symfony/polyfill-php80": "^1.15" + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, "autoload": { "psr-4": { - "Symfony\\Component\\OptionsResolver\\": "" + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" }, - "exclude-from-classmap": [ - "/Tests/" + "files": [ + "bootstrap.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -3448,47 +4603,67 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony OptionsResolver Component", + "description": "Symfony polyfill for intl's grapheme_* functions", "homepage": "https://symfony.com", "keywords": [ - "config", - "configuration", - "options" + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" ], - "time": "2020-10-24T12:08:07+00:00" + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.22.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-07T16:49:33+00:00" }, { - "name": "symfony/polyfill-ctype", - "version": "v1.20.0", + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.22.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "f4ba089a5b6366e453971d3aad5fe8e897b37f41" + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "6e971c891537eb617a00bb07a43d182a6915faba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/f4ba089a5b6366e453971d3aad5fe8e897b37f41", - "reference": "f4ba089a5b6366e453971d3aad5fe8e897b37f41", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/6e971c891537eb617a00bb07a43d182a6915faba", + "reference": "6e971c891537eb617a00bb07a43d182a6915faba", "shasum": "" }, "require": { "php": ">=7.1" }, "suggest": { - "ext-ctype": "For best performance" + "ext-intl": "For best performance" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.20-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3497,10 +4672,13 @@ }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" }, "files": [ "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", @@ -3509,36 +4687,55 @@ ], "authors": [ { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for ctype functions", + "description": "Symfony polyfill for intl's Normalizer class and related functions", "homepage": "https://symfony.com", "keywords": [ "compatibility", - "ctype", + "intl", + "normalizer", "polyfill", - "portable" + "portable", + "shim" ], - "time": "2020-10-23T14:02:19+00:00" + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.22.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-07T17:09:11+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.20.0", + "version": "v1.22.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "39d483bdf39be819deabf04ec872eb0b2410b531" + "reference": "f377a3dd1fde44d37b9831d68dc8dea3ffd28e13" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/39d483bdf39be819deabf04ec872eb0b2410b531", - "reference": "39d483bdf39be819deabf04ec872eb0b2410b531", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f377a3dd1fde44d37b9831d68dc8dea3ffd28e13", + "reference": "f377a3dd1fde44d37b9831d68dc8dea3ffd28e13", "shasum": "" }, "require": { @@ -3550,7 +4747,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.20-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3588,7 +4785,24 @@ "portable", "shim" ], - "time": "2020-10-23T14:02:19+00:00" + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.22.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-07T16:49:33+00:00" }, { "name": "symfony/polyfill-php70", @@ -3639,20 +4853,37 @@ "portable", "shim" ], + "support": { + "source": "https://github.com/symfony/polyfill-php70/tree/v1.20.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], "time": "2020-10-23T14:02:19+00:00" }, { "name": "symfony/polyfill-php72", - "version": "v1.20.0", + "version": "v1.22.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "cede45fcdfabdd6043b3592e83678e42ec69e930" + "reference": "cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/cede45fcdfabdd6043b3592e83678e42ec69e930", - "reference": "cede45fcdfabdd6043b3592e83678e42ec69e930", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9", + "reference": "cc6e6f9b39fe8075b3dabfbaf5b5f645ae1340c9", "shasum": "" }, "require": { @@ -3661,7 +4892,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.20-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3698,20 +4929,37 @@ "portable", "shim" ], - "time": "2020-10-23T14:02:19+00:00" + "support": { + "source": "https://github.com/symfony/polyfill-php72/tree/v1.22.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-07T16:49:33+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.20.0", + "version": "v1.22.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "8ff431c517be11c78c48a39a66d37431e26a6bed" + "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/8ff431c517be11c78c48a39a66d37431e26a6bed", - "reference": "8ff431c517be11c78c48a39a66d37431e26a6bed", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", + "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", "shasum": "" }, "require": { @@ -3720,7 +4968,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.20-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3760,20 +5008,37 @@ "portable", "shim" ], - "time": "2020-10-23T14:02:19+00:00" + "support": { + "source": "https://github.com/symfony/polyfill-php73/tree/v1.22.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-07T16:49:33+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.20.0", + "version": "v1.22.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "e70aa8b064c5b72d3df2abd5ab1e90464ad009de" + "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/e70aa8b064c5b72d3df2abd5ab1e90464ad009de", - "reference": "e70aa8b064c5b72d3df2abd5ab1e90464ad009de", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dc3063ba22c2a1fd2f45ed856374d79114998f91", + "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91", "shasum": "" }, "require": { @@ -3782,7 +5047,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.20-dev" + "dev-main": "1.22-dev" }, "thanks": { "name": "symfony/polyfill", @@ -3826,24 +5091,42 @@ "portable", "shim" ], - "time": "2020-10-23T14:02:19+00:00" + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.22.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-07T16:49:33+00:00" }, { "name": "symfony/process", - "version": "v4.4.18", + "version": "v5.2.1", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "075316ff72233ce3d04a9743414292e834f2cb4a" + "reference": "bd8815b8b6705298beaa384f04fabd459c10bedd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/075316ff72233ce3d04a9743414292e834f2cb4a", - "reference": "075316ff72233ce3d04a9743414292e834f2cb4a", + "url": "https://api.github.com/repos/symfony/process/zipball/bd8815b8b6705298beaa384f04fabd459c10bedd", + "reference": "bd8815b8b6705298beaa384f04fabd459c10bedd", "shasum": "" }, "require": { - "php": ">=7.1.3" + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.15" }, "type": "library", "autoload": { @@ -3870,7 +5153,24 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2020-12-08T16:59:59+00:00" + "support": { + "source": "https://github.com/symfony/process/tree/v5.2.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-12-08T17:03:37+00:00" }, { "name": "symfony/service-contracts", @@ -3932,6 +5232,23 @@ "interoperability", "standards" ], + "support": { + "source": "https://github.com/symfony/service-contracts/tree/master" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], "time": "2020-09-07T11:33:47+00:00" }, { @@ -3977,40 +5294,61 @@ ], "description": "Symfony Stopwatch Component", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/stopwatch/tree/v5.2.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], "time": "2020-11-01T16:14:45+00:00" }, { - "name": "symfony/yaml", - "version": "v4.4.18", + "name": "symfony/string", + "version": "v5.2.1", "source": { "type": "git", - "url": "https://github.com/symfony/yaml.git", - "reference": "bbce94f14d73732340740366fcbe63363663a403" + "url": "https://github.com/symfony/string.git", + "reference": "5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/bbce94f14d73732340740366fcbe63363663a403", - "reference": "bbce94f14d73732340740366fcbe63363663a403", + "url": "https://api.github.com/repos/symfony/string/zipball/5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed", + "reference": "5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed", "shasum": "" }, "require": { - "php": ">=7.1.3", - "symfony/polyfill-ctype": "~1.8" - }, - "conflict": { - "symfony/console": "<3.4" + "php": ">=7.2.5", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "~1.15" }, "require-dev": { - "symfony/console": "^3.4|^4.0|^5.0" - }, - "suggest": { - "symfony/console": "For validating YAML files using the lint command" + "symfony/error-handler": "^4.4|^5.0", + "symfony/http-client": "^4.4|^5.0", + "symfony/translation-contracts": "^1.1|^2", + "symfony/var-exporter": "^4.4|^5.0" }, "type": "library", "autoload": { "psr-4": { - "Symfony\\Component\\Yaml\\": "" + "Symfony\\Component\\String\\": "" }, + "files": [ + "Resources/functions.php" + ], "exclude-from-classmap": [ "/Tests/" ] @@ -4021,57 +5359,181 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Yaml Component", + "description": "Symfony String component", "homepage": "https://symfony.com", - "time": "2020-12-08T16:59:59+00:00" + "keywords": [ + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" + ], + "support": { + "source": "https://github.com/symfony/string/tree/v5.2.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-12-05T07:33:16+00:00" }, { - "name": "theseer/fdomdocument", - "version": "1.6.6", + "name": "thecodingmachine/safe", + "version": "v1.3.3", "source": { "type": "git", - "url": "https://github.com/theseer/fDOMDocument.git", - "reference": "6e8203e40a32a9c770bcb62fe37e68b948da6dca" + "url": "https://github.com/thecodingmachine/safe.git", + "reference": "a8ab0876305a4cdaef31b2350fcb9811b5608dbc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/fDOMDocument/zipball/6e8203e40a32a9c770bcb62fe37e68b948da6dca", - "reference": "6e8203e40a32a9c770bcb62fe37e68b948da6dca", + "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/a8ab0876305a4cdaef31b2350fcb9811b5608dbc", + "reference": "a8ab0876305a4cdaef31b2350fcb9811b5608dbc", "shasum": "" }, "require": { - "ext-dom": "*", - "lib-libxml": "*", - "php": ">=5.3.3" + "php": ">=7.2" + }, + "require-dev": { + "phpstan/phpstan": "^0.12", + "squizlabs/php_codesniffer": "^3.2", + "thecodingmachine/phpstan-strict-rules": "^0.12" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.1-dev" + } + }, "autoload": { - "classmap": [ - "src/" + "psr-4": { + "Safe\\": [ + "lib/", + "deprecated/", + "generated/" + ] + }, + "files": [ + "deprecated/apc.php", + "deprecated/libevent.php", + "deprecated/mssql.php", + "deprecated/stats.php", + "lib/special_cases.php", + "generated/apache.php", + "generated/apcu.php", + "generated/array.php", + "generated/bzip2.php", + "generated/calendar.php", + "generated/classobj.php", + "generated/com.php", + "generated/cubrid.php", + "generated/curl.php", + "generated/datetime.php", + "generated/dir.php", + "generated/eio.php", + "generated/errorfunc.php", + "generated/exec.php", + "generated/fileinfo.php", + "generated/filesystem.php", + "generated/filter.php", + "generated/fpm.php", + "generated/ftp.php", + "generated/funchand.php", + "generated/gmp.php", + "generated/gnupg.php", + "generated/hash.php", + "generated/ibase.php", + "generated/ibmDb2.php", + "generated/iconv.php", + "generated/image.php", + "generated/imap.php", + "generated/info.php", + "generated/ingres-ii.php", + "generated/inotify.php", + "generated/json.php", + "generated/ldap.php", + "generated/libxml.php", + "generated/lzf.php", + "generated/mailparse.php", + "generated/mbstring.php", + "generated/misc.php", + "generated/msql.php", + "generated/mysql.php", + "generated/mysqli.php", + "generated/mysqlndMs.php", + "generated/mysqlndQc.php", + "generated/network.php", + "generated/oci8.php", + "generated/opcache.php", + "generated/openssl.php", + "generated/outcontrol.php", + "generated/password.php", + "generated/pcntl.php", + "generated/pcre.php", + "generated/pdf.php", + "generated/pgsql.php", + "generated/posix.php", + "generated/ps.php", + "generated/pspell.php", + "generated/readline.php", + "generated/rpminfo.php", + "generated/rrd.php", + "generated/sem.php", + "generated/session.php", + "generated/shmop.php", + "generated/simplexml.php", + "generated/sockets.php", + "generated/sodium.php", + "generated/solr.php", + "generated/spl.php", + "generated/sqlsrv.php", + "generated/ssdeep.php", + "generated/ssh2.php", + "generated/stream.php", + "generated/strings.php", + "generated/swoole.php", + "generated/uodbc.php", + "generated/uopz.php", + "generated/url.php", + "generated/var.php", + "generated/xdiff.php", + "generated/xml.php", + "generated/xmlrpc.php", + "generated/yaml.php", + "generated/yaz.php", + "generated/zip.php", + "generated/zlib.php" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "lead" - } + "MIT" ], - "description": "The classes contained within this repository extend the standard DOM to use exceptions at all occasions of errors instead of PHP warnings or notices. They also add various custom methods and shortcuts for convenience and to simplify the usage of DOM.", - "homepage": "https://github.com/theseer/fDOMDocument", - "time": "2017-06-30T11:53:12+00:00" + "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.3.3" + }, + "time": "2020-10-28T17:51:34+00:00" }, { "name": "theseer/tokenizer", @@ -4111,6 +5573,16 @@ } ], "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", + "type": "github" + } + ], "time": "2020-07-12T23:59:07+00:00" }, { @@ -4118,12 +5590,12 @@ "version": "1.9.1", "source": { "type": "git", - "url": "https://github.com/webmozart/assert.git", + "url": "https://github.com/webmozarts/assert.git", "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389", "shasum": "" }, @@ -4160,30 +5632,33 @@ "check", "validate" ], + "support": { + "issues": "https://github.com/webmozarts/assert/issues", + "source": "https://github.com/webmozarts/assert/tree/1.9.1" + }, "time": "2020-07-08T17:02:28+00:00" }, { "name": "webmozart/glob", - "version": "4.1.0", + "version": "4.3.0", "source": { "type": "git", - "url": "https://github.com/webmozart/glob.git", - "reference": "3cbf63d4973cf9d780b93d2da8eec7e4a9e63bbe" + "url": "https://github.com/webmozarts/glob.git", + "reference": "06358fafde0f32edb4513f4fd88fe113a40c90ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/glob/zipball/3cbf63d4973cf9d780b93d2da8eec7e4a9e63bbe", - "reference": "3cbf63d4973cf9d780b93d2da8eec7e4a9e63bbe", + "url": "https://api.github.com/repos/webmozarts/glob/zipball/06358fafde0f32edb4513f4fd88fe113a40c90ee", + "reference": "06358fafde0f32edb4513f4fd88fe113a40c90ee", "shasum": "" }, "require": { - "php": "^5.3.3|^7.0", + "php": "^7.3 || ^8.0.0", "webmozart/path-util": "^2.2" }, "require-dev": { - "phpunit/phpunit": "^4.6", - "sebastian/version": "^1.0.1", - "symfony/filesystem": "^2.5" + "phpunit/phpunit": "^8.0", + "symfony/filesystem": "^5.1" }, "type": "library", "extra": { @@ -4207,7 +5682,11 @@ } ], "description": "A PHP implementation of Ant's glob.", - "time": "2015-12-29T11:14:33+00:00" + "support": { + "issues": "https://github.com/webmozarts/glob/issues", + "source": "https://github.com/webmozarts/glob/tree/4.3.0" + }, + "time": "2021-01-21T06:17:15+00:00" }, { "name": "webmozart/path-util", @@ -4253,6 +5732,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" } ], @@ -4306,17 +5789,36 @@ "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.17" + }, "time": "2020-12-13T12:12:51+00:00" } ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": { + "phpunit/phpunit": 0, + "jakub-onderka/php-console-highlighter": 0, + "edmondscommerce/php-parallel-lint": 0, + "phploc/phploc": 0, + "phpmd/phpmd": 0, + "phpstan/phpstan": 0, + "squizlabs/php_codesniffer": 0, + "phpstan/phpstan-strict-rules": 0, + "infection/infection": 0, + "funkyproject/reflection-file": 0, + "maglnet/composer-require-checker": 0, + "phpstan/extension-installer": 0, + "friendsofphp/php-cs-fixer": 0 + }, "prefer-stable": false, "prefer-lowest": false, "platform": { "php": "^7.2|^8.0", "ext-json": "*" }, - "platform-dev": [] + "platform-dev": [], + "plugin-api-version": "2.0.0" } From 38e8c93193e2c293837ad027b9f57951df0c9db4 Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Thu, 21 Jan 2021 12:49:51 +0000 Subject: [PATCH 02/31] successfully running bin/qa against itself --- bin/qa | 3 +- composer.json | 6 +- composer.lock | 275 ++++++++---------- .../generic/allStaticAnalysisTools.inc.bash | 3 +- qaConfig/phpunit.xml | 2 +- qaConfig/qaConfig.inc.bash | 4 +- src/Markdown/LinksChecker.php | 2 +- 7 files changed, 129 insertions(+), 166 deletions(-) diff --git a/bin/qa b/bin/qa index 04d5c8b..71eaa19 100755 --- a/bin/qa +++ b/bin/qa @@ -75,7 +75,8 @@ then echo "Xdebug is not enabled - infection and coverage not available" else xdebugEnabled=1 - echo "Xdebug is enabled" + export XDEBUG_MODE=coverage + echo "Xdebug is enabled in coverage mode" fi diff --git a/composer.json b/composer.json index ae0749b..f67fdda 100644 --- a/composer.json +++ b/composer.json @@ -21,10 +21,10 @@ "php": "^7.2|^8.0", "ext-json": "*", "phpunit/phpunit": "@stable", - "jakub-onderka/php-console-highlighter": "@stable", - "edmondscommerce/php-parallel-lint": "@stable", + "php-parallel-lint/php-console-color": "@stable", + "php-parallel-lint/php-parallel-lint": "@stable", "phploc/phploc": "@stable", - "phpmd/phpmd": "@stable", + "phpmd/phpmd": "dev-master@dev", "phpstan/phpstan": "@stable", "squizlabs/php_codesniffer": "@stable", "phpstan/phpstan-strict-rules": "@stable", diff --git a/composer.lock b/composer.lock index 5e4c25c..0a43ff1 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7f1663f3669982d7d5ea34f22ac2ce7d", + "content-hash": "585c1f9f9e4ec8688837e96d408e7591", "packages": [ { "name": "composer/package-versions-deprecated", @@ -447,55 +447,6 @@ ], "time": "2020-05-25T17:44:05+00:00" }, - { - "name": "edmondscommerce/php-parallel-lint", - "version": "1.0.3", - "source": { - "type": "git", - "url": "https://github.com/edmondscommerce/PHP-Parallel-Lint.git", - "reference": "df3a683e20ef9a6322f8563ec2f3a44cb46192d2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/edmondscommerce/PHP-Parallel-Lint/zipball/df3a683e20ef9a6322f8563ec2f3a44cb46192d2", - "reference": "df3a683e20ef9a6322f8563ec2f3a44cb46192d2", - "shasum": "" - }, - "require": { - "ext-json": "*", - "php": ">=5.4.0" - }, - "require-dev": { - "jakub-onderka/php-console-highlighter": "~0.3", - "nette/tester": "~1.3", - "squizlabs/php_codesniffer": "~2.7" - }, - "bin": [ - "parallel-lint" - ], - "type": "library", - "autoload": { - "classmap": [ - "./src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-2-Clause" - ], - "authors": [ - { - "name": "Jakub Onderka", - "email": "ahoj@jakubonderka.cz" - } - ], - "description": "This tool check syntax of PHP files about 20x faster than serial check.", - "homepage": "https://github.com/JakubOnderka/PHP-Parallel-Lint", - "support": { - "source": "https://github.com/edmondscommerce/PHP-Parallel-Lint/tree/master" - }, - "time": "2019-03-18T09:51:07+00:00" - }, { "name": "friendsofphp/php-cs-fixer", "version": "v2.18.0", @@ -892,104 +843,6 @@ }, "time": "2020-11-20T17:15:57+00:00" }, - { - "name": "jakub-onderka/php-console-color", - "version": "v0.2", - "source": { - "type": "git", - "url": "https://github.com/JakubOnderka/PHP-Console-Color.git", - "reference": "d5deaecff52a0d61ccb613bb3804088da0307191" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Color/zipball/d5deaecff52a0d61ccb613bb3804088da0307191", - "reference": "d5deaecff52a0d61ccb613bb3804088da0307191", - "shasum": "" - }, - "require": { - "php": ">=5.4.0" - }, - "require-dev": { - "jakub-onderka/php-code-style": "1.0", - "jakub-onderka/php-parallel-lint": "1.0", - "jakub-onderka/php-var-dump-check": "0.*", - "phpunit/phpunit": "~4.3", - "squizlabs/php_codesniffer": "1.*" - }, - "type": "library", - "autoload": { - "psr-4": { - "JakubOnderka\\PhpConsoleColor\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-2-Clause" - ], - "authors": [ - { - "name": "Jakub Onderka", - "email": "jakub.onderka@gmail.com" - } - ], - "support": { - "issues": "https://github.com/JakubOnderka/PHP-Console-Color/issues", - "source": "https://github.com/JakubOnderka/PHP-Console-Color/tree/master" - }, - "abandoned": "php-parallel-lint/php-console-color", - "time": "2018-09-29T17:23:10+00:00" - }, - { - "name": "jakub-onderka/php-console-highlighter", - "version": "v0.4", - "source": { - "type": "git", - "url": "https://github.com/JakubOnderka/PHP-Console-Highlighter.git", - "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Highlighter/zipball/9f7a229a69d52506914b4bc61bfdb199d90c5547", - "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547", - "shasum": "" - }, - "require": { - "ext-tokenizer": "*", - "jakub-onderka/php-console-color": "~0.2", - "php": ">=5.4.0" - }, - "require-dev": { - "jakub-onderka/php-code-style": "~1.0", - "jakub-onderka/php-parallel-lint": "~1.0", - "jakub-onderka/php-var-dump-check": "~0.1", - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~1.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "JakubOnderka\\PhpConsoleHighlighter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jakub Onderka", - "email": "acci@acci.cz", - "homepage": "http://www.acci.cz/" - } - ], - "description": "Highlight PHP code in terminal", - "support": { - "issues": "https://github.com/JakubOnderka/PHP-Console-Highlighter/issues", - "source": "https://github.com/JakubOnderka/PHP-Console-Highlighter/tree/master" - }, - "abandoned": "php-parallel-lint/php-console-highlighter", - "time": "2018-09-29T18:48:56+00:00" - }, { "name": "justinrainbow/json-schema", "version": "5.2.10", @@ -1548,6 +1401,113 @@ }, "time": "2020-10-14T08:39:05+00:00" }, + { + "name": "php-parallel-lint/php-console-color", + "version": "v1.0", + "source": { + "type": "git", + "url": "https://github.com/php-parallel-lint/PHP-Console-Color.git", + "reference": "9b67e6458a1ec1e1b03fa247a15d41aea0021ab3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-parallel-lint/PHP-Console-Color/zipball/9b67e6458a1ec1e1b03fa247a15d41aea0021ab3", + "reference": "9b67e6458a1ec1e1b03fa247a15d41aea0021ab3", + "shasum": "" + }, + "require": { + "php": ">=5.4.0" + }, + "replace": { + "jakub-onderka/php-console-color": "*" + }, + "require-dev": { + "php-parallel-lint/php-code-style": "1.0", + "php-parallel-lint/php-parallel-lint": "^1.0", + "php-parallel-lint/php-var-dump-check": "0.*", + "phpunit/phpunit": "^4.8.36 || ^5.0 || ^6.0 || ^7.0", + "squizlabs/php_codesniffer": "1.*" + }, + "type": "library", + "autoload": { + "psr-4": { + "PHP_Parallel_Lint\\PhpConsoleColor\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Jakub Onderka", + "email": "jakub.onderka@gmail.com" + } + ], + "description": "Simple library for creating colored console ouput.", + "support": { + "issues": "https://github.com/php-parallel-lint/PHP-Console-Color/issues", + "source": "https://github.com/php-parallel-lint/PHP-Console-Color/tree/v1.0" + }, + "time": "2020-10-31T08:10:16+00:00" + }, + { + "name": "php-parallel-lint/php-parallel-lint", + "version": "v1.2.0", + "source": { + "type": "git", + "url": "https://github.com/php-parallel-lint/PHP-Parallel-Lint.git", + "reference": "474f18bc6cc6aca61ca40bfab55139de614e51ca" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-parallel-lint/PHP-Parallel-Lint/zipball/474f18bc6cc6aca61ca40bfab55139de614e51ca", + "reference": "474f18bc6cc6aca61ca40bfab55139de614e51ca", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": ">=5.4.0" + }, + "replace": { + "grogy/php-parallel-lint": "*", + "jakub-onderka/php-parallel-lint": "*" + }, + "require-dev": { + "nette/tester": "^1.3 || ^2.0", + "php-parallel-lint/php-console-highlighter": "~0.3", + "squizlabs/php_codesniffer": "~3.0" + }, + "suggest": { + "php-parallel-lint/php-console-highlighter": "Highlight syntax in code snippet" + }, + "bin": [ + "parallel-lint" + ], + "type": "library", + "autoload": { + "classmap": [ + "./" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Jakub Onderka", + "email": "ahoj@jakubonderka.cz" + } + ], + "description": "This tool check syntax of PHP files about 20x faster than serial check.", + "homepage": "https://github.com/php-parallel-lint/PHP-Parallel-Lint", + "support": { + "issues": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/issues", + "source": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/tree/master" + }, + "time": "2020-04-04T12:18:32+00:00" + }, { "name": "phpdocumentor/reflection-common", "version": "2.2.0", @@ -1769,16 +1729,16 @@ }, { "name": "phpmd/phpmd", - "version": "2.9.1", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/phpmd/phpmd.git", - "reference": "ce10831d4ddc2686c1348a98069771dd314534a8" + "reference": "5cc2d16b9a7cee666475ac454fef805d41b4159c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpmd/phpmd/zipball/ce10831d4ddc2686c1348a98069771dd314534a8", - "reference": "ce10831d4ddc2686c1348a98069771dd314534a8", + "url": "https://api.github.com/repos/phpmd/phpmd/zipball/5cc2d16b9a7cee666475ac454fef805d41b4159c", + "reference": "5cc2d16b9a7cee666475ac454fef805d41b4159c", "shasum": "" }, "require": { @@ -1796,6 +1756,7 @@ "phpunit/phpunit": "^4.8.36 || ^5.7.27", "squizlabs/php_codesniffer": "^2.0" }, + "default-branch": true, "bin": [ "src/bin/phpmd" ], @@ -1840,7 +1801,7 @@ "support": { "irc": "irc://irc.freenode.org/phpmd", "issues": "https://github.com/phpmd/phpmd/issues", - "source": "https://github.com/phpmd/phpmd/tree/2.9.1" + "source": "https://github.com/phpmd/phpmd/tree/master" }, "funding": [ { @@ -1848,7 +1809,7 @@ "type": "tidelift" } ], - "time": "2020-09-23T22:06:32+00:00" + "time": "2021-01-11T18:52:47+00:00" }, { "name": "phpspec/prophecy", @@ -5800,10 +5761,10 @@ "minimum-stability": "stable", "stability-flags": { "phpunit/phpunit": 0, - "jakub-onderka/php-console-highlighter": 0, - "edmondscommerce/php-parallel-lint": 0, + "php-parallel-lint/php-console-color": 0, + "php-parallel-lint/php-parallel-lint": 0, "phploc/phploc": 0, - "phpmd/phpmd": 0, + "phpmd/phpmd": 20, "phpstan/phpstan": 0, "squizlabs/php_codesniffer": 0, "phpstan/phpstan-strict-rules": 0, diff --git a/includes/generic/allStaticAnalysisTools.inc.bash b/includes/generic/allStaticAnalysisTools.inc.bash index c6d27e9..5b435b1 100644 --- a/includes/generic/allStaticAnalysisTools.inc.bash +++ b/includes/generic/allStaticAnalysisTools.inc.bash @@ -15,6 +15,7 @@ echo " Running PHP Mess Detector ------------------------- " -runTool messDetector +echo " --- MESS DETECTOR SKIPPED - CURRENTLY BROKEN IN PHP8 ---" +#runTool messDetector diff --git a/qaConfig/phpunit.xml b/qaConfig/phpunit.xml index 7c2e464..cea0372 100644 --- a/qaConfig/phpunit.xml +++ b/qaConfig/phpunit.xml @@ -33,7 +33,7 @@ ../tests/Small - ../tests/Medium + ../tests/Large diff --git a/qaConfig/qaConfig.inc.bash b/qaConfig/qaConfig.inc.bash index e0a5aa8..143567e 100644 --- a/qaConfig/qaConfig.inc.bash +++ b/qaConfig/qaConfig.inc.bash @@ -3,8 +3,8 @@ echo " Setting Infection Minimums -------------------------- " -mutationScoreIndicator=26 -coveredCodeMSI=52 +infectionMutationScoreIndicator=74 +infectionCoveredCodeMSI=78 pathsToIgnore+=("tests/assets") diff --git a/src/Markdown/LinksChecker.php b/src/Markdown/LinksChecker.php index 30de6a1..7d5737f 100644 --- a/src/Markdown/LinksChecker.php +++ b/src/Markdown/LinksChecker.php @@ -206,7 +206,7 @@ private static function validateHttpLink(array $link, array &$errors, int &$retu ); $result = null; try { - $headers = get_headers($href, 0, $context); + $headers = get_headers($href, false, $context); if ($headers === false) { throw new RuntimeException('Failed getting headers for href ' . $href); } From fc44a3db010484fb61824b6259109faa5a491edf Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Thu, 21 Jan 2021 15:11:48 +0000 Subject: [PATCH 03/31] fixing retry on require checker --- includes/generic/composerRequireChecker.inc.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/generic/composerRequireChecker.inc.bash b/includes/generic/composerRequireChecker.inc.bash index 0594722..4e9001c 100644 --- a/includes/generic/composerRequireChecker.inc.bash +++ b/includes/generic/composerRequireChecker.inc.bash @@ -3,8 +3,10 @@ composerRequireCheckExitCode=99 while (( composerRequireCheckExitCode > 0 )) do + set +e phpNoXdebug ./bin/composer-require-checker check --config-file="${composerRequireCheckerConfig}" -- "${projectRoot}/composer.json"; composerRequireCheckExitCode=$? + set -e if (( $composerRequireCheckExitCode > 0 )) then echo " From b78aeec118f082eaf6043c7216dcac163856206e Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Thu, 21 Jan 2021 19:29:35 +0000 Subject: [PATCH 04/31] using composer require checker shim instead of the raw package --- composer.json | 4 +- composer.lock | 200 ++++++++++++++++---------------------------------- 2 files changed, 65 insertions(+), 139 deletions(-) diff --git a/composer.json b/composer.json index f67fdda..48447a0 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "phpstan/phpstan-strict-rules": "@stable", "infection/infection": "@stable", "funkyproject/reflection-file": "@stable", - "maglnet/composer-require-checker": "@stable", + "irstea/composer-require-checker-shim": "@stable", "phpstan/extension-installer": "@stable", "friendsofphp/php-cs-fixer": "@stable" }, @@ -44,7 +44,7 @@ "phpstan/phpstan-deprecation-rules": "Checks for deprecated functions and methods", "phpstan/phpstan-symfony": "Symfony specific checks", "nunomaduro/larastan": "Laravel specific checks (PHPStan Wrapper)", - "sllh/composer-versions-check":"To be brought back in when there is a PHP8 version..." + "sllh/composer-versions-check": "To be brought back in when there is a PHP8 version..." }, "bin": [ "bin/qa", diff --git a/composer.lock b/composer.lock index 0a43ff1..e063526 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "585c1f9f9e4ec8688837e96d408e7591", + "content-hash": "7502d973cf95a3fd19bf0534caf5b54d", "packages": [ { "name": "composer/package-versions-deprecated", @@ -449,16 +449,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v2.18.0", + "version": "v2.18.1", "source": { "type": "git", "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "cbc5b50bfa2688a1afca20e5a8c71f058e9ccbef" + "reference": "c68ff6231adb276857761e43b7ed082f164dce0b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/cbc5b50bfa2688a1afca20e5a8c71f058e9ccbef", - "reference": "cbc5b50bfa2688a1afca20e5a8c71f058e9ccbef", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/c68ff6231adb276857761e43b7ed082f164dce0b", + "reference": "c68ff6231adb276857761e43b7ed082f164dce0b", "shasum": "" }, "require": { @@ -540,7 +540,7 @@ "description": "A tool to automatically fix PHP code style", "support": { "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues", - "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v2.18.0" + "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v2.18.1" }, "funding": [ { @@ -548,7 +548,7 @@ "type": "github" } ], - "time": "2021-01-18T03:31:06+00:00" + "time": "2021-01-21T18:50:42+00:00" }, { "name": "funkyproject/reflection-file", @@ -843,6 +843,61 @@ }, "time": "2020-11-20T17:15:57+00:00" }, + { + "name": "irstea/composer-require-checker-shim", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://gitlab.irstea.fr/pole-is/tools/composer-require-checker-shim", + "reference": "25c4a5523b39a132641059c2c1218a5a0f6ee12d" + }, + "require": { + "ext-json": "*", + "ext-phar": "*", + "php": "^7.4 || ^8.0" + }, + "replace": { + "maglnet/composer-require-checker": "self.version" + }, + "bin": [ + "bin/composer-require-checker" + ], + "type": "library", + "autoload": { + "exclude-from-classmap": [ + "bin/composer-require-checker" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "http://ocramius.github.io/" + }, + { + "name": "Matthias Glaub", + "email": "magl@magl.net", + "homepage": "http://magl.net" + } + ], + "description": "Shim repository for maglnet/composer-require-checker", + "homepage": "https://github.com/maglnet/ComposerRequireChecker", + "keywords": [ + "analysis", + "cli", + "composer", + "dependency", + "imports", + "require", + "requirements", + "shim" + ], + "time": "2021-01-19T03:20:13+00:00" + }, { "name": "justinrainbow/json-schema", "version": "5.2.10", @@ -913,85 +968,6 @@ }, "time": "2020-05-27T16:41:55+00:00" }, - { - "name": "maglnet/composer-require-checker", - "version": "3.1.0", - "source": { - "type": "git", - "url": "https://github.com/maglnet/ComposerRequireChecker.git", - "reference": "b3cd6d30e2335997c5eabb19e3f01d699bc06caa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/maglnet/ComposerRequireChecker/zipball/b3cd6d30e2335997c5eabb19e3f01d699bc06caa", - "reference": "b3cd6d30e2335997c5eabb19e3f01d699bc06caa", - "shasum": "" - }, - "require": { - "composer-runtime-api": "^2.0.0", - "ext-json": "*", - "ext-phar": "*", - "nikic/php-parser": "^4.10.2", - "php": "^7.4 || ^8.0", - "symfony/console": "^5.1.8", - "webmozart/assert": "^1.9.1", - "webmozart/glob": "^4.2.0" - }, - "require-dev": { - "doctrine/coding-standard": "^8.2.0", - "ext-zend-opcache": "*", - "mikey179/vfsstream": "^1.6.8", - "phpstan/phpstan": "^0.12.64", - "phpunit/phpunit": "^9.5.0", - "vimeo/psalm": "^4.3.2" - }, - "bin": [ - "bin/composer-require-checker" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.1-dev" - } - }, - "autoload": { - "psr-4": { - "ComposerRequireChecker\\": "src/ComposerRequireChecker" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "http://ocramius.github.io/" - }, - { - "name": "Matthias Glaub", - "email": "magl@magl.net", - "homepage": "http://magl.net" - } - ], - "description": "CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package", - "homepage": "https://github.com/maglnet/ComposerRequireChecker", - "keywords": [ - "analysis", - "cli", - "composer", - "dependency", - "imports", - "require", - "requirements" - ], - "support": { - "issues": "https://github.com/maglnet/ComposerRequireChecker/issues", - "source": "https://github.com/maglnet/ComposerRequireChecker/tree/3.1.0" - }, - "time": "2021-01-18T21:38:15+00:00" - }, { "name": "myclabs/deep-copy", "version": "1.10.2", @@ -5599,56 +5575,6 @@ }, "time": "2020-07-08T17:02:28+00:00" }, - { - "name": "webmozart/glob", - "version": "4.3.0", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/glob.git", - "reference": "06358fafde0f32edb4513f4fd88fe113a40c90ee" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/glob/zipball/06358fafde0f32edb4513f4fd88fe113a40c90ee", - "reference": "06358fafde0f32edb4513f4fd88fe113a40c90ee", - "shasum": "" - }, - "require": { - "php": "^7.3 || ^8.0.0", - "webmozart/path-util": "^2.2" - }, - "require-dev": { - "phpunit/phpunit": "^8.0", - "symfony/filesystem": "^5.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Glob\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "A PHP implementation of Ant's glob.", - "support": { - "issues": "https://github.com/webmozarts/glob/issues", - "source": "https://github.com/webmozarts/glob/tree/4.3.0" - }, - "time": "2021-01-21T06:17:15+00:00" - }, { "name": "webmozart/path-util", "version": "2.3.0", @@ -5770,7 +5696,7 @@ "phpstan/phpstan-strict-rules": 0, "infection/infection": 0, "funkyproject/reflection-file": 0, - "maglnet/composer-require-checker": 0, + "irstea/composer-require-checker-shim": 0, "phpstan/extension-installer": 0, "friendsofphp/php-cs-fixer": 0 }, From d1e00caf95bebe4d02966806cf8c3dfb5717057f Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Fri, 22 Jan 2021 19:50:11 +0000 Subject: [PATCH 05/31] retry or abort loop for cs fixer --- includes/generic/phpCsFixer.inc.bash | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/includes/generic/phpCsFixer.inc.bash b/includes/generic/phpCsFixer.inc.bash index b0fdc8f..5caae28 100644 --- a/includes/generic/phpCsFixer.inc.bash +++ b/includes/generic/phpCsFixer.inc.bash @@ -1,11 +1,21 @@ set -e for phpCsPathToCheck in "${pathsToCheck[@]}"; do printf "\nRunning PHP CS Fixer For Path:\n - $phpCsPathToCheck\n\n" - phpNoXdebug -f ./bin/php-cs-fixer -- \ - --config="$phpCsConfigPath" \ - --cache-file="$phpCsCacheFile.$(echo $phpCsPathToCheck | md5sum -)" \ - --allow-risky=yes \ - --show-progress=dots \ - fix \ - $phpCsPathToCheck + + csFixerExitCode=99 + while ((csFixerExitCode > 1)); do + set +e + phpNoXdebug -f ./bin/php-cs-fixer -- \ + --config="$phpCsConfigPath" \ + --cache-file="$phpCsCacheFile.$(echo $phpCsPathToCheck | md5sum -)" \ + --allow-risky=yes \ + --show-progress=dots \ + fix \ + $phpCsPathToCheck + csFixerExitCode=$? + set -e + if ((csFixerExitCode > 0)); then + tryAgainOrAbort "PHP CS Fixer" + fi + done done From 82d973401d6592b819b69da8a14938f7268f99b0 Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Fri, 22 Jan 2021 20:00:44 +0000 Subject: [PATCH 06/31] disabling phpdoc_to_return_type cs fixer due to clash with PHPStan, making CS fixer run in verbose mode for now --- configDefaults/generic/php_cs.php | 1 + includes/generic/phpCsFixer.inc.bash | 1 + 2 files changed, 2 insertions(+) diff --git a/configDefaults/generic/php_cs.php b/configDefaults/generic/php_cs.php index caf8ab3..f50ca36 100644 --- a/configDefaults/generic/php_cs.php +++ b/configDefaults/generic/php_cs.php @@ -82,6 +82,7 @@ ], 'single_line_throw' => false, 'global_namespace_import' => true, + 'phpdoc_to_return_type' => false, ]; diff --git a/includes/generic/phpCsFixer.inc.bash b/includes/generic/phpCsFixer.inc.bash index 5caae28..c7ecdbf 100644 --- a/includes/generic/phpCsFixer.inc.bash +++ b/includes/generic/phpCsFixer.inc.bash @@ -10,6 +10,7 @@ for phpCsPathToCheck in "${pathsToCheck[@]}"; do --cache-file="$phpCsCacheFile.$(echo $phpCsPathToCheck | md5sum -)" \ --allow-risky=yes \ --show-progress=dots \ + --vvv \ fix \ $phpCsPathToCheck csFixerExitCode=$? From be3bcbb74e70753828a593f15e4023a7f6585812 Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Fri, 22 Jan 2021 20:29:24 +0000 Subject: [PATCH 07/31] making cs fixer use the finder defined in config instead of the standard paths to check, allow override of finder without overriding the rules --- configDefaults/generic/php_cs.php | 10 +++++-- configDefaults/generic/php_cs_finder.php | 8 ++++++ includes/generic/phpCsFixer.inc.bash | 36 ++++++++++-------------- 3 files changed, 30 insertions(+), 24 deletions(-) create mode 100644 configDefaults/generic/php_cs_finder.php diff --git a/configDefaults/generic/php_cs.php b/configDefaults/generic/php_cs.php index f50ca36..30a6b01 100644 --- a/configDefaults/generic/php_cs.php +++ b/configDefaults/generic/php_cs.php @@ -94,9 +94,13 @@ function () { } )(); -$finder = PhpCsFixer\Finder::create() - ->in($projectRoot) - ->exclude('var'); +$finderPath = __DIR__ . '/php_cs_finder.php'; +$overridePath = "$projectRoot/qaConfig/php_cs_finder.php"; +if (file_exists($overridePath)) { + $finderPath = $overridePath; +} + +$finder = require $finderPath; return PhpCsFixer\Config::create() ->setRules($rules) diff --git a/configDefaults/generic/php_cs_finder.php b/configDefaults/generic/php_cs_finder.php new file mode 100644 index 0000000..5102899 --- /dev/null +++ b/configDefaults/generic/php_cs_finder.php @@ -0,0 +1,8 @@ +in($projectRoot) + ->exclude('var'); + diff --git a/includes/generic/phpCsFixer.inc.bash b/includes/generic/phpCsFixer.inc.bash index c7ecdbf..689f23f 100644 --- a/includes/generic/phpCsFixer.inc.bash +++ b/includes/generic/phpCsFixer.inc.bash @@ -1,22 +1,16 @@ -set -e -for phpCsPathToCheck in "${pathsToCheck[@]}"; do - printf "\nRunning PHP CS Fixer For Path:\n - $phpCsPathToCheck\n\n" - - csFixerExitCode=99 - while ((csFixerExitCode > 1)); do - set +e - phpNoXdebug -f ./bin/php-cs-fixer -- \ - --config="$phpCsConfigPath" \ - --cache-file="$phpCsCacheFile.$(echo $phpCsPathToCheck | md5sum -)" \ - --allow-risky=yes \ - --show-progress=dots \ - --vvv \ - fix \ - $phpCsPathToCheck - csFixerExitCode=$? - set -e - if ((csFixerExitCode > 0)); then - tryAgainOrAbort "PHP CS Fixer" - fi - done +csFixerExitCode=99 +while ((csFixerExitCode > 1)); do + set +e + phpNoXdebug -f ./bin/php-cs-fixer -- \ + --config="$phpCsConfigPath" \ + --cache-file="$phpCsCacheFile.$(echo $phpCsPathToCheck | md5sum -)" \ + --allow-risky=yes \ + --show-progress=dots \ + -vvv \ + fix + csFixerExitCode=$? + set -e + if ((csFixerExitCode > 0)); then + tryAgainOrAbort "PHP CS Fixer" + fi done From 2889aa02cfc45bdcc9869f0f3d69d375115a4ffe Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Fri, 22 Jan 2021 20:47:59 +0000 Subject: [PATCH 08/31] git uncommited check can now be skipped interaticely, PHPCS is now disabled as current stable version does not handle PHP8 --- includes/functions.inc.bash | 382 +++++++++--------- .../generic/allCodingStandardsTools.inc.bash | 33 +- 2 files changed, 201 insertions(+), 214 deletions(-) diff --git a/includes/functions.inc.bash b/includes/functions.inc.bash index ce72cf3..cf2c44b 100644 --- a/includes/functions.inc.bash +++ b/includes/functions.inc.bash @@ -5,33 +5,29 @@ readonly platformGeneric="generic" readonly platformLaravel="laravellumen" readonly platformSymfony="symfony" -function detectPlatform(){ +function detectPlatform() { - if [[ -f $projectRoot/$specifiedPath/etc/module.xml && -f $projectRoot/$specifiedPath/registration.php ]] - then - echo $platformMagento2 - return 0 - fi + if [[ -f $projectRoot/$specifiedPath/etc/module.xml && -f $projectRoot/$specifiedPath/registration.php ]]; then + echo $platformMagento2 + return 0 + fi - if [[ -f $projectRoot/bin/magento ]] - then - echo $platformMagento2 - return 0 - fi + if [[ -f $projectRoot/bin/magento ]]; then + echo $platformMagento2 + return 0 + fi - if [[ -f $projectRoot/artisan ]] - then - echo $platformLaravel; - return 0; - fi + if [[ -f $projectRoot/artisan ]]; then + echo $platformLaravel + return 0 + fi - if [[ -f $projectRoot/symfony.lock ]] - then - echo $platformSymfony; - return 0; - fi + if [[ -f $projectRoot/symfony.lock ]]; then + echo $platformSymfony + return 0 + fi - echo $platformGeneric + echo $platformGeneric } ################################################################ @@ -39,43 +35,40 @@ function detectPlatform(){ # First check for a project qaConfig tool override # Then a platform tool # finally the Generic tool -function runTool(){ - local tool="$1" - local projectOverridePath="$projectConfigPath/tools/$tool.inc.bash" - local platformPath="$DIR/../includes/$platform/$tool.inc.bash" - local genericPath="$DIR/../includes/generic/$tool.inc.bash" - - if [[ -f "$projectOverridePath" ]] - then - echo "Running Project Override $tool" - source "$projectOverridePath" - return 0 - elif [[ -f "$platformPath" ]] - then - echo "Running $platform $tool" - source "$platformPath" - return 0 - fi - echo "Running generic $tool" - source "$genericPath" +function runTool() { + local tool="$1" + local projectOverridePath="$projectConfigPath/tools/$tool.inc.bash" + local platformPath="$DIR/../includes/$platform/$tool.inc.bash" + local genericPath="$DIR/../includes/generic/$tool.inc.bash" + + if [[ -f "$projectOverridePath" ]]; then + echo "Running Project Override $tool" + source "$projectOverridePath" + return 0 + elif [[ -f "$platformPath" ]]; then + echo "Running $platform $tool" + source "$platformPath" + return 0 + fi + echo "Running generic $tool" + source "$genericPath" } # This is very much like run tool # It will check for a project level override # Then it will run the generic tool explicitly function runNonPlatformTool() { - local tool="$1" - local projectOverridePath="$projectConfigPath/tools/$tool.inc.bash" - local genericPath="$DIR/../includes/generic/$tool.inc.bash" - - if [[ -f "$projectOverridePath" ]] - then - echo "Running Project Override $tool" - source "$projectOverridePath" - return 0 - fi - echo "Running generic $tool" - source "$genericPath" + local tool="$1" + local projectOverridePath="$projectConfigPath/tools/$tool.inc.bash" + local genericPath="$DIR/../includes/generic/$tool.inc.bash" + + if [[ -f "$projectOverridePath" ]]; then + echo "Running Project Override $tool" + source "$projectOverridePath" + return 0 + fi + echo "Running generic $tool" + source "$genericPath" } ################################################################ @@ -88,37 +81,34 @@ function runNonPlatformTool() { # Usage: # # `configPath "relative/path/to/file/or/folder" -function configPath(){ - local relativePath="$1" - local platformPath="$defaultConfigPath/$platform/$relativePath" - local genericPath="$defaultConfigPath/generic/$relativePath" - if [[ -f $projectConfigPath/$relativePath ]] - then - echo $projectConfigPath/$relativePath - elif [[ -f $platformPath ]] - then - echo $platformPath - else - echo $genericPath - fi +function configPath() { + local relativePath="$1" + local platformPath="$defaultConfigPath/$platform/$relativePath" + local genericPath="$defaultConfigPath/generic/$relativePath" + if [[ -f $projectConfigPath/$relativePath ]]; then + echo $projectConfigPath/$relativePath + elif [[ -f $platformPath ]]; then + echo $platformPath + else + echo $genericPath + fi } ############################################################### # Function to run PHP without Xdebug enabled, much faster # Usage: # `phpNoXdebug path/to/php/file.php -- -arg1 -arg2` -function phpNoXdebug { - if [[ ! -f ${noXdebugConfigPath} ]] - then - # Using awk to ensure that files ending without newlines do not lead to configuration error - ${phpBinPath} -i | grep "\.ini" | grep -o -e '\(/[a-z0-9._-]\+\)\+\.ini' | grep -v xdebug | xargs awk 'FNR==1{print ""}1' > "$noXdebugConfigPath" - fi - set -x - ${phpBinPath} -n -c "$noXdebugConfigPath" "$@" - local exitCode=$? - set +x - echo - return $exitCode +function phpNoXdebug() { + if [[ ! -f ${noXdebugConfigPath} ]]; then + # Using awk to ensure that files ending without newlines do not lead to configuration error + ${phpBinPath} -i | grep "\.ini" | grep -o -e '\(/[a-z0-9._-]\+\)\+\.ini' | grep -v xdebug | xargs awk 'FNR==1{print ""}1' >"$noXdebugConfigPath" + fi + set -x + ${phpBinPath} -n -c "$noXdebugConfigPath" "$@" + local exitCode=$? + set +x + echo + return $exitCode } ############################################################### @@ -128,40 +118,35 @@ function phpNoXdebug { # # Usage: # checkForUncommitedChanges -function checkForUncommittedChanges { - if [[ "false" != "${CI:-'false'}" ]] - then - echo "Skipping uncommited changes check in CI" - return 0; - fi - if [[ "$skipUncommittedChangesCheck" == "1" ]] - then - echo "Skipping uncommitted changes check. export skipUncommittedChangesCheck=0 to reinstate" - return 0 - fi - - targetDir=${1:-$(pwd)} - originalDir=$(pwd) - - if [[ ! -d $targetDir/.git/ ]] - then - echo "$targetDir is not a git repo" - return - fi - - cd $targetDir - - set +e - inGitRepo="$(git rev-parse --is-inside-work-tree 2>/dev/null)" - if [[ "" != "$inGitRepo" ]] - then - git status | grep -Eq "nothing to commit, working .*? clean" - repoDirty=$? - set -e - if (( $repoDirty > 0 )) - then - git status - echo " +function checkForUncommittedChanges() { + if [[ "false" != "${CI:-'false'}" ]]; then + echo "Skipping uncommited changes check in CI" + return 0 + fi + if [[ "$skipUncommittedChangesCheck" == "1" ]]; then + echo "Skipping uncommitted changes check. export skipUncommittedChangesCheck=0 to reinstate" + return 0 + fi + + targetDir=${1:-$(pwd)} + originalDir=$(pwd) + + if [[ ! -d $targetDir/.git/ ]]; then + echo "$targetDir is not a git repo" + return + fi + + cd $targetDir + + set +e + inGitRepo="$(git rev-parse --is-inside-work-tree 2>/dev/null)" + if [[ "" != "$inGitRepo" ]]; then + git status | grep -Eq "nothing to commit, working .*? clean" + repoDirty=$? + set -e + if (($repoDirty > 0)); then + git status + echo " ================================================== @@ -171,39 +156,48 @@ function checkForUncommittedChanges { (git commit will be 'git add -A; git commit') - or export skipUncommittedChangesCheck=1 to ignore + Alternatively you can skip (s), but please be aware that from this point on, your code is going to be + actively changed and not having a git commit to restore to could cause you significant pain. + You have been warned. + + To always skip, you can export skipUncommittedChangesCheck=1 ================================================== " - read -n 1 commitOrAbort - if [[ "$commitOrAbort" != "c" ]] - then - printf "\n\n\nAborting...\n\n\n" - exit 1 - fi - git add -A - git commit - fi + read -n 1 commitOrAbort + case "$commitOrAbort" in + s) + echo "Skipping" + return 0 + ;; + c) + git add -A + git commit + ;; + *) + printf "\n\n\nAborting...\n\n\n" + exit 1 + ;; + esac fi + fi - cd $originalDir + cd $originalDir } -function phpunitReRunFailedOrFull(){ - if [[ "false" != "${CI:-'false'}" ]] - then - return 0; - fi - local rerunFailed - local reunLogFileTimeLimit=${phpunitRerunTimeoutMins:-5} - local rerunLogFile="$(find $varDir -type f -name 'phpunit.junit.xml' -mmin -$reunLogFileTimeLimit)"; - if [[ "" == "$rerunLogFile" ]] - then - echo ""; - return 1; - fi - echo " +function phpunitReRunFailedOrFull() { + if [[ "false" != "${CI:-'false'}" ]]; then + return 0 + fi + local rerunFailed + local reunLogFileTimeLimit=${phpunitRerunTimeoutMins:-5} + local rerunLogFile="$(find $varDir -type f -name 'phpunit.junit.xml' -mmin -$reunLogFileTimeLimit)" + if [[ "" == "$rerunLogFile" ]]; then + echo "" + return 1 + fi + echo " ================================================== @@ -216,24 +210,21 @@ function phpunitReRunFailedOrFull(){ ================================================== " - set +e - read -t 10 -n 1 rerunFailed - set -e - if [[ "y" != "$rerunFailed" ]] - then - printf "\n\nRunning Full...\n\n" - return 1 - fi - printf "\n\nRerunning Failed Only\n\n" - return 0; + set +e + read -t 10 -n 1 rerunFailed + set -e + if [[ "y" != "$rerunFailed" ]]; then + printf "\n\nRunning Full...\n\n" + return 1 + fi + printf "\n\nRerunning Failed Only\n\n" + return 0 } - -function tryAgainOrAbort(){ - toolname="$1" - if [[ "false" != "${CI:-'false'}" ]] - then - echo " +function tryAgainOrAbort() { + toolname="$1" + if [[ "false" != "${CI:-'false'}" ]]; then + echo " ================================================== @@ -242,9 +233,9 @@ function tryAgainOrAbort(){ ================================================== " - exit 1 - fi - echo " + exit 1 + fi + echo " ================================================== @@ -257,28 +248,24 @@ function tryAgainOrAbort(){ ================================================== " - while read -n 1 tryAgainOrAbort - do - if [[ "n" == "$tryAgainOrAbort" ]] - then - printf "\n\nAborting...\n\n" - exit 1 - fi - if [[ "y" == "$tryAgainOrAbort" ]] - then - break; - fi - printf "\n\ninvalid choice: $tryAgainOrAbort - should be y or n \n\n would you like to try again? (y/n)" - done - printf "\n\nTrying again, good luck!\n\n" - hasBeenRestarted="true" + while read -n 1 tryAgainOrAbort; do + if [[ "n" == "$tryAgainOrAbort" ]]; then + printf "\n\nAborting...\n\n" + exit 1 + fi + if [[ "y" == "$tryAgainOrAbort" ]]; then + break + fi + printf "\n\ninvalid choice: $tryAgainOrAbort - should be y or n \n\n would you like to try again? (y/n)" + done + printf "\n\nTrying again, good luck!\n\n" + hasBeenRestarted="true" } -function findTestsDir(){ - testsDir="$(find $projectRoot -maxdepth 1 -type d \( -name test -o -name tests \) | head -n1)" - if [[ "" == "$testsDir" ]] - then - echo " +function findTestsDir() { + testsDir="$(find $projectRoot -maxdepth 1 -type d \( -name test -o -name tests \) | head -n1)" + if [[ "" == "$testsDir" ]]; then + echo " ##### ERROR ############################################ @@ -295,18 +282,16 @@ function findTestsDir(){ ######################################################## - " 1>&2; - exit 1 - fi - echo "$testsDir" + " 1>&2 + exit 1 + fi + echo "$testsDir" } - -function findSrcDir(){ - srcDir="$projectRoot/src" - if [[ "" == "$srcDir" ]] - then - echo " +function findSrcDir() { + srcDir="$projectRoot/src" + if [[ "" == "$srcDir" ]]; then + echo " ##### ERROR ############################################ @@ -323,17 +308,16 @@ function findSrcDir(){ ######################################################## - " 1>&2; - exit 1 - fi - echo "$srcDir" + " 1>&2 + exit 1 + fi + echo "$srcDir" } -function findBinDir(){ - binDir="$(find $projectRoot -maxdepth 2 -type d -name bin | head -n1)" - if [[ "" == "$binDir" ]] - then - echo " +function findBinDir() { + binDir="$(find $projectRoot -maxdepth 2 -type d -name bin | head -n1)" + if [[ "" == "$binDir" ]]; then + echo " ##### ERROR ############################################ @@ -350,8 +334,8 @@ function findBinDir(){ ######################################################## - " 1>&2; - exit 1 - fi - echo "$binDir" + " 1>&2 + exit 1 + fi + echo "$binDir" } diff --git a/includes/generic/allCodingStandardsTools.inc.bash b/includes/generic/allCodingStandardsTools.inc.bash index 6406d9e..eaf40d5 100644 --- a/includes/generic/allCodingStandardsTools.inc.bash +++ b/includes/generic/allCodingStandardsTools.inc.bash @@ -6,18 +6,21 @@ Running PHP-CS-Fixer runTool phpCsFixer -echo " - -Running Beautifier and Fixer ----------------------------- -" - -runTool beautifierFixer - -echo " - -Running Code Sniffer --------------------- -" - -runTool codeSniffer +# Code Sniffer does not currently support PHP8, for example +# https://github.com/squizlabs/PHP_CodeSniffer/issues/3167 +# Hopefully 3.6 release will fix this, but for now lets disable the whole thing because it's totally broken +#echo " +# +#Running Beautifier and Fixer +#---------------------------- +#" +# +#runTool beautifierFixer +# +#echo " +# +#Running Code Sniffer +#-------------------- +#" +# +#runTool codeSniffer From 1d30d5db8af369682b9416933cf8ac3fe5610356 Mon Sep 17 00:00:00 2001 From: joseph Date: Fri, 29 Jan 2021 15:18:17 +0000 Subject: [PATCH 09/31] reverting from shim back to plain for composer require checker - the shim is 404ing --- composer.json | 3 +- composer.lock | 706 +++++++++++++++++++++++++++++++++++++------------- 2 files changed, 522 insertions(+), 187 deletions(-) diff --git a/composer.json b/composer.json index 48447a0..8c51ef4 100644 --- a/composer.json +++ b/composer.json @@ -30,11 +30,12 @@ "phpstan/phpstan-strict-rules": "@stable", "infection/infection": "@stable", "funkyproject/reflection-file": "@stable", - "irstea/composer-require-checker-shim": "@stable", + "maglnet/composer-require-checker": "@stable", "phpstan/extension-installer": "@stable", "friendsofphp/php-cs-fixer": "@stable" }, "require-dev": { + "roave/security-advisories": "dev-master", "phpstan/phpstan-phpunit": "^0.12" }, "suggest": { diff --git a/composer.lock b/composer.lock index e063526..46eefa9 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7502d973cf95a3fd19bf0534caf5b54d", + "content-hash": "63cae0052155590bbc137c9ce5343e32", "packages": [ { "name": "composer/package-versions-deprecated", @@ -449,16 +449,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v2.18.1", + "version": "v2.18.2", "source": { "type": "git", "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "c68ff6231adb276857761e43b7ed082f164dce0b" + "reference": "18f8c9d184ba777380794a389fabc179896ba913" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/c68ff6231adb276857761e43b7ed082f164dce0b", - "reference": "c68ff6231adb276857761e43b7ed082f164dce0b", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/18f8c9d184ba777380794a389fabc179896ba913", + "reference": "18f8c9d184ba777380794a389fabc179896ba913", "shasum": "" }, "require": { @@ -538,17 +538,13 @@ } ], "description": "A tool to automatically fix PHP code style", - "support": { - "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues", - "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v2.18.1" - }, "funding": [ { "url": "https://github.com/keradus", "type": "github" } ], - "time": "2021-01-21T18:50:42+00:00" + "time": "2021-01-26T00:22:21+00:00" }, { "name": "funkyproject/reflection-file", @@ -730,16 +726,16 @@ }, { "name": "infection/infection", - "version": "0.20.2", + "version": "0.18.2", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "6035c1566af6a5a8d833a276351e5e18ed412305" + "reference": "05685f8e97ec2d42455fdaad6984446d5af2f67e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/6035c1566af6a5a8d833a276351e5e18ed412305", - "reference": "6035c1566af6a5a8d833a276351e5e18ed412305", + "url": "https://api.github.com/repos/infection/infection/zipball/05685f8e97ec2d42455fdaad6984446d5af2f67e", + "reference": "05685f8e97ec2d42455fdaad6984446d5af2f67e", "shasum": "" }, "require": { @@ -754,7 +750,7 @@ "nikic/php-parser": "^4.10.2", "ocramius/package-versions": "^1.2 || ^2.0", "ondram/ci-detector": "^3.3.0", - "php": "^7.4 || ^8.0", + "php": "^7.3 || ^8.0", "sanmai/pipeline": "^3.1 || ^5.0", "sebastian/diff": "^3.0.2 || ^4.0", "seld/jsonlint": "^1.7", @@ -771,19 +767,18 @@ "symfony/console": "=4.1.5" }, "require-dev": { + "composer/package-versions-deprecated": "^1.2 || ^2.0", "ext-simplexml": "*", "helmich/phpunit-json-assert": "^3.0", "phpspec/prophecy-phpunit": "^2.0", "phpstan/extension-installer": "^1.0", "phpstan/phpstan": "^0.12.8", "phpstan/phpstan-phpunit": "^0.12.6", - "phpstan/phpstan-strict-rules": "^0.12.5", "phpstan/phpstan-webmozart-assert": "^0.12.2", "phpunit/phpunit": "^9.3.11", "symfony/phpunit-bridge": "^4.4.14 || ^5.1.6", "symfony/yaml": "^5.0", - "thecodingmachine/phpstan-safe-rule": "^1.0", - "vimeo/psalm": "^4.0" + "thecodingmachine/phpstan-safe-rule": "^1.0" }, "bin": [ "bin/infection" @@ -837,66 +832,7 @@ "testing", "unit testing" ], - "support": { - "issues": "https://github.com/infection/infection/issues", - "source": "https://github.com/infection/infection/tree/0.20.2" - }, - "time": "2020-11-20T17:15:57+00:00" - }, - { - "name": "irstea/composer-require-checker-shim", - "version": "3.0.0", - "source": { - "type": "git", - "url": "https://gitlab.irstea.fr/pole-is/tools/composer-require-checker-shim", - "reference": "25c4a5523b39a132641059c2c1218a5a0f6ee12d" - }, - "require": { - "ext-json": "*", - "ext-phar": "*", - "php": "^7.4 || ^8.0" - }, - "replace": { - "maglnet/composer-require-checker": "self.version" - }, - "bin": [ - "bin/composer-require-checker" - ], - "type": "library", - "autoload": { - "exclude-from-classmap": [ - "bin/composer-require-checker" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "http://ocramius.github.io/" - }, - { - "name": "Matthias Glaub", - "email": "magl@magl.net", - "homepage": "http://magl.net" - } - ], - "description": "Shim repository for maglnet/composer-require-checker", - "homepage": "https://github.com/maglnet/ComposerRequireChecker", - "keywords": [ - "analysis", - "cli", - "composer", - "dependency", - "imports", - "require", - "requirements", - "shim" - ], - "time": "2021-01-19T03:20:13+00:00" + "time": "2020-10-21T20:25:38+00:00" }, { "name": "justinrainbow/json-schema", @@ -968,6 +904,78 @@ }, "time": "2020-05-27T16:41:55+00:00" }, + { + "name": "maglnet/composer-require-checker", + "version": "2.1.0", + "source": { + "type": "git", + "url": "https://github.com/maglnet/ComposerRequireChecker.git", + "reference": "0c66698d487fcb5c66cf07108e2180c818fb2e72" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/maglnet/ComposerRequireChecker/zipball/0c66698d487fcb5c66cf07108e2180c818fb2e72", + "reference": "0c66698d487fcb5c66cf07108e2180c818fb2e72", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-phar": "*", + "nikic/php-parser": "^4.3", + "ocramius/package-versions": "^1.4.2", + "php": "^7.2", + "symfony/console": "^5.0", + "webmozart/glob": "^4.1" + }, + "require-dev": { + "ext-zend-opcache": "*", + "mikey179/vfsstream": "^1.6", + "phpstan/phpstan": "^0.12", + "phpunit/phpunit": "^8.4.3" + }, + "bin": [ + "bin/composer-require-checker" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1-dev" + } + }, + "autoload": { + "psr-4": { + "ComposerRequireChecker\\": "src/ComposerRequireChecker" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "http://ocramius.github.io/" + }, + { + "name": "Matthias Glaub", + "email": "magl@magl.net", + "homepage": "http://magl.net" + } + ], + "description": "CLI tool to analyze composer dependencies and verify that no unknown symbols are used in the sources of a package", + "homepage": "https://github.com/maglnet/ComposerRequireChecker", + "keywords": [ + "analysis", + "cli", + "composer", + "dependency", + "imports", + "require", + "requirements" + ], + "time": "2019-12-28T13:49:20+00:00" + }, { "name": "myclabs/deep-copy", "version": "1.10.2", @@ -1732,7 +1740,6 @@ "phpunit/phpunit": "^4.8.36 || ^5.7.27", "squizlabs/php_codesniffer": "^2.0" }, - "default-branch": true, "bin": [ "src/bin/phpmd" ], @@ -1774,11 +1781,6 @@ "phpmd", "pmd" ], - "support": { - "irc": "irc://irc.freenode.org/phpmd", - "issues": "https://github.com/phpmd/phpmd/issues", - "source": "https://github.com/phpmd/phpmd/tree/master" - }, "funding": [ { "url": "https://tidelift.com/funding/github/packagist/phpmd/phpmd", @@ -1901,16 +1903,16 @@ }, { "name": "phpstan/phpstan", - "version": "0.12.68", + "version": "0.12.70", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "ddbe01af0706ee094c3f1ce9730b35aebb508d3d" + "reference": "07f0ef37f5f876e8cee44cc8ea0ec3fe80d499ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ddbe01af0706ee094c3f1ce9730b35aebb508d3d", - "reference": "ddbe01af0706ee094c3f1ce9730b35aebb508d3d", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/07f0ef37f5f876e8cee44cc8ea0ec3fe80d499ee", + "reference": "07f0ef37f5f876e8cee44cc8ea0ec3fe80d499ee", "shasum": "" }, "require": { @@ -1939,10 +1941,6 @@ "MIT" ], "description": "PHPStan - PHP Static Analysis Tool", - "support": { - "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/0.12.68" - }, "funding": [ { "url": "https://github.com/ondrejmirtes", @@ -1957,7 +1955,7 @@ "type": "tidelift" } ], - "time": "2021-01-18T12:29:17+00:00" + "time": "2021-01-27T17:06:47+00:00" }, { "name": "phpstan/phpstan-strict-rules", @@ -3734,16 +3732,16 @@ }, { "name": "symfony/config", - "version": "v5.2.1", + "version": "v5.2.2", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "d0a82d965296083fe463d655a3644cbe49cbaa80" + "reference": "50e0e1314a3b2609d32b6a5a0d0fb5342494c4ab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/d0a82d965296083fe463d655a3644cbe49cbaa80", - "reference": "d0a82d965296083fe463d655a3644cbe49cbaa80", + "url": "https://api.github.com/repos/symfony/config/zipball/50e0e1314a3b2609d32b6a5a0d0fb5342494c4ab", + "reference": "50e0e1314a3b2609d32b6a5a0d0fb5342494c4ab", "shasum": "" }, "require": { @@ -3789,11 +3787,8 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Config Component", + "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/config/tree/v5.2.1" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3808,20 +3803,20 @@ "type": "tidelift" } ], - "time": "2020-12-09T18:54:12+00:00" + "time": "2021-01-27T10:15:41+00:00" }, { "name": "symfony/console", - "version": "v5.2.1", + "version": "v5.2.2", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "47c02526c532fb381374dab26df05e7313978976" + "reference": "d62ec79478b55036f65e2602e282822b8eaaff0a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/47c02526c532fb381374dab26df05e7313978976", - "reference": "47c02526c532fb381374dab26df05e7313978976", + "url": "https://api.github.com/repos/symfony/console/zipball/d62ec79478b55036f65e2602e282822b8eaaff0a", + "reference": "d62ec79478b55036f65e2602e282822b8eaaff0a", "shasum": "" }, "require": { @@ -3880,7 +3875,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Console Component", + "description": "Eases the creation of beautiful and testable command line interfaces", "homepage": "https://symfony.com", "keywords": [ "cli", @@ -3888,9 +3883,6 @@ "console", "terminal" ], - "support": { - "source": "https://github.com/symfony/console/tree/v5.2.1" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3905,20 +3897,20 @@ "type": "tidelift" } ], - "time": "2020-12-18T08:03:05+00:00" + "time": "2021-01-27T10:15:41+00:00" }, { "name": "symfony/dependency-injection", - "version": "v5.2.1", + "version": "v5.2.2", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "7f8a9e9eff0581a33e20f6c5d41096fe22832d25" + "reference": "62f72187be689540385dce6c68a5d4c16f034139" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/7f8a9e9eff0581a33e20f6c5d41096fe22832d25", - "reference": "7f8a9e9eff0581a33e20f6c5d41096fe22832d25", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/62f72187be689540385dce6c68a5d4c16f034139", + "reference": "62f72187be689540385dce6c68a5d4c16f034139", "shasum": "" }, "require": { @@ -3973,11 +3965,8 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony DependencyInjection Component", + "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v5.2.1" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3992,7 +3981,7 @@ "type": "tidelift" } ], - "time": "2020-12-18T08:03:05+00:00" + "time": "2021-01-27T12:56:27+00:00" }, { "name": "symfony/deprecation-contracts", @@ -4063,16 +4052,16 @@ }, { "name": "symfony/event-dispatcher", - "version": "v5.2.1", + "version": "v5.2.2", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "1c93f7a1dff592c252574c79a8635a8a80856042" + "reference": "4f9760f8074978ad82e2ce854dff79a71fe45367" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/1c93f7a1dff592c252574c79a8635a8a80856042", - "reference": "1c93f7a1dff592c252574c79a8635a8a80856042", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/4f9760f8074978ad82e2ce854dff79a71fe45367", + "reference": "4f9760f8074978ad82e2ce854dff79a71fe45367", "shasum": "" }, "require": { @@ -4125,11 +4114,8 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony EventDispatcher Component", + "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v5.2.1" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -4144,7 +4130,7 @@ "type": "tidelift" } ], - "time": "2020-12-18T08:03:05+00:00" + "time": "2021-01-27T10:36:42+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -4227,16 +4213,16 @@ }, { "name": "symfony/filesystem", - "version": "v5.2.1", + "version": "v5.2.2", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "fa8f8cab6b65e2d99a118e082935344c5ba8c60d" + "reference": "262d033b57c73e8b59cd6e68a45c528318b15038" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/fa8f8cab6b65e2d99a118e082935344c5ba8c60d", - "reference": "fa8f8cab6b65e2d99a118e082935344c5ba8c60d", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/262d033b57c73e8b59cd6e68a45c528318b15038", + "reference": "262d033b57c73e8b59cd6e68a45c528318b15038", "shasum": "" }, "require": { @@ -4266,11 +4252,8 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Filesystem Component", + "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.2.1" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -4285,20 +4268,20 @@ "type": "tidelift" } ], - "time": "2020-11-30T17:05:38+00:00" + "time": "2021-01-27T10:01:46+00:00" }, { "name": "symfony/finder", - "version": "v5.2.1", + "version": "v5.2.2", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "0b9231a5922fd7287ba5b411893c0ecd2733e5ba" + "reference": "196f45723b5e618bf0e23b97e96d11652696ea9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/0b9231a5922fd7287ba5b411893c0ecd2733e5ba", - "reference": "0b9231a5922fd7287ba5b411893c0ecd2733e5ba", + "url": "https://api.github.com/repos/symfony/finder/zipball/196f45723b5e618bf0e23b97e96d11652696ea9e", + "reference": "196f45723b5e618bf0e23b97e96d11652696ea9e", "shasum": "" }, "require": { @@ -4327,11 +4310,8 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Finder Component", + "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/finder/tree/v5.2.1" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -4346,20 +4326,20 @@ "type": "tidelift" } ], - "time": "2020-12-08T17:02:38+00:00" + "time": "2021-01-27T10:01:46+00:00" }, { "name": "symfony/options-resolver", - "version": "v5.2.1", + "version": "v5.2.2", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "87a2a4a766244e796dd9cb9d6f58c123358cd986" + "reference": "5d0f633f9bbfcf7ec642a2b5037268e61b0a62ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/87a2a4a766244e796dd9cb9d6f58c123358cd986", - "reference": "87a2a4a766244e796dd9cb9d6f58c123358cd986", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/5d0f633f9bbfcf7ec642a2b5037268e61b0a62ce", + "reference": "5d0f633f9bbfcf7ec642a2b5037268e61b0a62ce", "shasum": "" }, "require": { @@ -4391,16 +4371,13 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony OptionsResolver Component", + "description": "Provides an improved replacement for the array_replace PHP function", "homepage": "https://symfony.com", "keywords": [ "config", "configuration", "options" ], - "support": { - "source": "https://github.com/symfony/options-resolver/tree/v5.2.1" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -4415,7 +4392,7 @@ "type": "tidelift" } ], - "time": "2020-10-24T12:08:07+00:00" + "time": "2021-01-27T12:56:27+00:00" }, { "name": "symfony/polyfill-ctype", @@ -5049,16 +5026,16 @@ }, { "name": "symfony/process", - "version": "v5.2.1", + "version": "v5.2.2", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "bd8815b8b6705298beaa384f04fabd459c10bedd" + "reference": "313a38f09c77fbcdc1d223e57d368cea76a2fd2f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/bd8815b8b6705298beaa384f04fabd459c10bedd", - "reference": "bd8815b8b6705298beaa384f04fabd459c10bedd", + "url": "https://api.github.com/repos/symfony/process/zipball/313a38f09c77fbcdc1d223e57d368cea76a2fd2f", + "reference": "313a38f09c77fbcdc1d223e57d368cea76a2fd2f", "shasum": "" }, "require": { @@ -5088,11 +5065,8 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Process Component", + "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/process/tree/v5.2.1" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -5107,7 +5081,7 @@ "type": "tidelift" } ], - "time": "2020-12-08T17:03:37+00:00" + "time": "2021-01-27T10:15:41+00:00" }, { "name": "symfony/service-contracts", @@ -5190,16 +5164,16 @@ }, { "name": "symfony/stopwatch", - "version": "v5.2.1", + "version": "v5.2.2", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "2b105c0354f39a63038a1d8bf776ee92852813af" + "reference": "b12274acfab9d9850c52583d136a24398cdf1a0c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/2b105c0354f39a63038a1d8bf776ee92852813af", - "reference": "2b105c0354f39a63038a1d8bf776ee92852813af", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/b12274acfab9d9850c52583d136a24398cdf1a0c", + "reference": "b12274acfab9d9850c52583d136a24398cdf1a0c", "shasum": "" }, "require": { @@ -5229,11 +5203,8 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Stopwatch Component", + "description": "Provides a way to profile code", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/stopwatch/tree/v5.2.1" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -5248,20 +5219,20 @@ "type": "tidelift" } ], - "time": "2020-11-01T16:14:45+00:00" + "time": "2021-01-27T10:15:41+00:00" }, { "name": "symfony/string", - "version": "v5.2.1", + "version": "v5.2.2", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed" + "reference": "c95468897f408dd0aca2ff582074423dd0455122" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed", - "reference": "5bd67751d2e3f7d6f770c9154b8fbcb2aa05f7ed", + "url": "https://api.github.com/repos/symfony/string/zipball/c95468897f408dd0aca2ff582074423dd0455122", + "reference": "c95468897f408dd0aca2ff582074423dd0455122", "shasum": "" }, "require": { @@ -5304,7 +5275,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony String component", + "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", "homepage": "https://symfony.com", "keywords": [ "grapheme", @@ -5314,9 +5285,6 @@ "utf-8", "utf8" ], - "support": { - "source": "https://github.com/symfony/string/tree/v5.2.1" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -5331,7 +5299,7 @@ "type": "tidelift" } ], - "time": "2020-12-05T07:33:16+00:00" + "time": "2021-01-25T15:14:59+00:00" }, { "name": "thecodingmachine/safe", @@ -5575,6 +5543,52 @@ }, "time": "2020-07-08T17:02:28+00:00" }, + { + "name": "webmozart/glob", + "version": "4.3.0", + "source": { + "type": "git", + "url": "https://github.com/webmozarts/glob.git", + "reference": "06358fafde0f32edb4513f4fd88fe113a40c90ee" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozarts/glob/zipball/06358fafde0f32edb4513f4fd88fe113a40c90ee", + "reference": "06358fafde0f32edb4513f4fd88fe113a40c90ee", + "shasum": "" + }, + "require": { + "php": "^7.3 || ^8.0.0", + "webmozart/path-util": "^2.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.0", + "symfony/filesystem": "^5.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.1-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Glob\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "A PHP implementation of Ant's glob.", + "time": "2021-01-21T06:17:15+00:00" + }, { "name": "webmozart/path-util", "version": "2.3.0", @@ -5681,6 +5695,325 @@ "source": "https://github.com/phpstan/phpstan-phpunit/tree/0.12.17" }, "time": "2020-12-13T12:12:51+00:00" + }, + { + "name": "roave/security-advisories", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/Roave/SecurityAdvisories.git", + "reference": "7d7032b003f4c36edbf059dd039db72656df6323" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/7d7032b003f4c36edbf059dd039db72656df6323", + "reference": "7d7032b003f4c36edbf059dd039db72656df6323", + "shasum": "" + }, + "conflict": { + "3f/pygmentize": "<1.2", + "adodb/adodb-php": "<5.20.12", + "alterphp/easyadmin-extension-bundle": ">=1.2,<1.2.11|>=1.3,<1.3.1", + "amphp/artax": "<1.0.6|>=2,<2.0.6", + "amphp/http": "<1.0.1", + "amphp/http-client": ">=4,<4.4", + "api-platform/core": ">=2.2,<2.2.10|>=2.3,<2.3.6", + "asymmetricrypt/asymmetricrypt": ">=0,<9.9.99", + "aws/aws-sdk-php": ">=3,<3.2.1", + "bagisto/bagisto": "<0.1.5", + "barrelstrength/sprout-base-email": "<1.2.7", + "barrelstrength/sprout-forms": "<3.9", + "baserproject/basercms": ">=4,<=4.3.6|>=4.4,<4.4.1", + "bolt/bolt": "<3.7.1", + "brightlocal/phpwhois": "<=4.2.5", + "buddypress/buddypress": "<5.1.2", + "bugsnag/bugsnag-laravel": ">=2,<2.0.2", + "cakephp/cakephp": ">=1.3,<1.3.18|>=2,<2.4.99|>=2.5,<2.5.99|>=2.6,<2.6.12|>=2.7,<2.7.6|>=3,<3.5.18|>=3.6,<3.6.15|>=3.7,<3.7.7", + "cart2quote/module-quotation": ">=4.1.6,<=4.4.5|>=5,<5.4.4", + "cartalyst/sentry": "<=2.1.6", + "centreon/centreon": "<18.10.8|>=19,<19.4.5", + "cesnet/simplesamlphp-module-proxystatistics": "<3.1", + "codeigniter/framework": "<=3.0.6", + "composer/composer": "<=1-alpha.11", + "contao-components/mediaelement": ">=2.14.2,<2.21.1", + "contao/core": ">=2,<3.5.39", + "contao/core-bundle": ">=4,<4.4.52|>=4.5,<4.9.6|= 4.10.0", + "contao/listing-bundle": ">=4,<4.4.8", + "datadog/dd-trace": ">=0.30,<0.30.2", + "david-garcia/phpwhois": "<=4.3.1", + "derhansen/sf_event_mgt": "<4.3.1|>=5,<5.1.1", + "doctrine/annotations": ">=1,<1.2.7", + "doctrine/cache": ">=1,<1.3.2|>=1.4,<1.4.2", + "doctrine/common": ">=2,<2.4.3|>=2.5,<2.5.1", + "doctrine/dbal": ">=2,<2.0.8|>=2.1,<2.1.2", + "doctrine/doctrine-bundle": "<1.5.2", + "doctrine/doctrine-module": "<=0.7.1", + "doctrine/mongodb-odm": ">=1,<1.0.2", + "doctrine/mongodb-odm-bundle": ">=2,<3.0.1", + "doctrine/orm": ">=2,<2.4.8|>=2.5,<2.5.1", + "dolibarr/dolibarr": "<11.0.4", + "dompdf/dompdf": ">=0.6,<0.6.2", + "drupal/core": ">=7,<7.74|>=8,<8.8.11|>=8.9,<8.9.9|>=9,<9.0.8", + "drupal/drupal": ">=7,<7.74|>=8,<8.8.11|>=8.9,<8.9.9|>=9,<9.0.8", + "endroid/qr-code-bundle": "<3.4.2", + "enshrined/svg-sanitize": "<0.13.1", + "erusev/parsedown": "<1.7.2", + "ezsystems/demobundle": ">=5.4,<5.4.6.1", + "ezsystems/ez-support-tools": ">=2.2,<2.2.3", + "ezsystems/ezdemo-ls-extension": ">=5.4,<5.4.2.1", + "ezsystems/ezfind-ls": ">=5.3,<5.3.6.1|>=5.4,<5.4.11.1|>=2017.12,<2017.12.0.1", + "ezsystems/ezplatform": ">=1.7,<1.7.9.1|>=1.13,<1.13.5.1|>=2.5,<2.5.4", + "ezsystems/ezplatform-admin-ui": ">=1.3,<1.3.5|>=1.4,<1.4.6", + "ezsystems/ezplatform-admin-ui-assets": ">=4,<4.2.1|>=5,<5.0.1|>=5.1,<5.1.1", + "ezsystems/ezplatform-kernel": ">=1,<1.0.2.1", + "ezsystems/ezplatform-user": ">=1,<1.0.1", + "ezsystems/ezpublish-kernel": ">=5.3,<5.3.12.1|>=5.4,<5.4.14.2|>=6,<6.7.9.1|>=6.8,<6.13.6.3|>=7,<7.2.4.1|>=7.3,<7.3.2.1|>=7.5,<7.5.7.1", + "ezsystems/ezpublish-legacy": ">=5.3,<5.3.12.6|>=5.4,<5.4.14.2|>=2011,<2017.12.7.3|>=2018.6,<2018.6.1.4|>=2018.9,<2018.9.1.3|>=2019.3,<2019.3.5.1", + "ezsystems/platform-ui-assets-bundle": ">=4.2,<4.2.3", + "ezsystems/repository-forms": ">=2.3,<2.3.2.1", + "ezyang/htmlpurifier": "<4.1.1", + "firebase/php-jwt": "<2", + "fooman/tcpdf": "<6.2.22", + "fossar/tcpdf-parser": "<6.2.22", + "friendsofsymfony/oauth2-php": "<1.3", + "friendsofsymfony/rest-bundle": ">=1.2,<1.2.2", + "friendsofsymfony/user-bundle": ">=1.2,<1.3.5", + "friendsoftypo3/mediace": ">=7.6.2,<7.6.5", + "fuel/core": "<1.8.1", + "getgrav/grav": "<1.7-beta.8", + "getkirby/cms": ">=3,<3.4.5", + "getkirby/panel": "<2.5.14", + "gos/web-socket-bundle": "<1.10.4|>=2,<2.6.1|>=3,<3.3", + "gree/jose": "<=2.2", + "gregwar/rst": "<1.0.3", + "guzzlehttp/guzzle": ">=4-rc.2,<4.2.4|>=5,<5.3.1|>=6,<6.2.1", + "illuminate/auth": ">=4,<4.0.99|>=4.1,<=4.1.31|>=4.2,<=4.2.22|>=5,<=5.0.35|>=5.1,<=5.1.46|>=5.2,<=5.2.45|>=5.3,<=5.3.31|>=5.4,<=5.4.36|>=5.5,<5.5.10", + "illuminate/cookie": ">=4,<=4.0.11|>=4.1,<=4.1.99999|>=4.2,<=4.2.99999|>=5,<=5.0.99999|>=5.1,<=5.1.99999|>=5.2,<=5.2.99999|>=5.3,<=5.3.99999|>=5.4,<=5.4.99999|>=5.5,<=5.5.49|>=5.6,<=5.6.99999|>=5.7,<=5.7.99999|>=5.8,<=5.8.99999|>=6,<6.18.31|>=7,<7.22.4", + "illuminate/database": "<6.20.12|>=7,<7.30.3|>=8,<8.22.1", + "illuminate/encryption": ">=4,<=4.0.11|>=4.1,<=4.1.31|>=4.2,<=4.2.22|>=5,<=5.0.35|>=5.1,<=5.1.46|>=5.2,<=5.2.45|>=5.3,<=5.3.31|>=5.4,<=5.4.36|>=5.5,<5.5.40|>=5.6,<5.6.15", + "illuminate/view": ">=7,<7.1.2", + "ivankristianto/phpwhois": "<=4.3", + "james-heinrich/getid3": "<1.9.9", + "joomla/session": "<1.3.1", + "jsmitty12/phpwhois": "<5.1", + "kazist/phpwhois": "<=4.2.6", + "kitodo/presentation": "<3.1.2", + "kreait/firebase-php": ">=3.2,<3.8.1", + "la-haute-societe/tcpdf": "<6.2.22", + "laravel/framework": "<6.20.12|>=7,<7.30.3|>=8,<8.22.1", + "laravel/socialite": ">=1,<1.0.99|>=2,<2.0.10", + "league/commonmark": "<0.18.3", + "librenms/librenms": "<1.53", + "livewire/livewire": ">2.2.4,<2.2.6", + "magento/community-edition": ">=2,<2.2.10|>=2.3,<2.3.3", + "magento/magento1ce": "<1.9.4.3", + "magento/magento1ee": ">=1,<1.14.4.3", + "magento/product-community-edition": ">=2,<2.2.10|>=2.3,<2.3.2-p.2", + "marcwillmann/turn": "<0.3.3", + "mautic/core": "<2.16.5|>=3,<3.2.4|= 2.13.1", + "mediawiki/core": ">=1.27,<1.27.6|>=1.29,<1.29.3|>=1.30,<1.30.2|>=1.31,<1.31.9|>=1.32,<1.32.6|>=1.32.99,<1.33.3|>=1.33.99,<1.34.3|>=1.34.99,<1.35", + "mittwald/typo3_forum": "<1.2.1", + "monolog/monolog": ">=1.8,<1.12", + "namshi/jose": "<2.2", + "nette/application": ">=2,<2.0.19|>=2.1,<2.1.13|>=2.2,<2.2.10|>=2.3,<2.3.14|>=2.4,<2.4.16|>=3,<3.0.6", + "nette/nette": ">=2,<2.0.19|>=2.1,<2.1.13", + "nystudio107/craft-seomatic": "<3.3", + "nzo/url-encryptor-bundle": ">=4,<4.3.2|>=5,<5.0.1", + "october/backend": ">=1.0.319,<1.0.470", + "october/cms": "= 1.0.469|>=1.0.319,<1.0.469", + "october/october": ">=1.0.319,<1.0.466", + "october/rain": ">=1.0.319,<1.0.468", + "onelogin/php-saml": "<2.10.4", + "oneup/uploader-bundle": "<1.9.3|>=2,<2.1.5", + "openid/php-openid": "<2.3", + "openmage/magento-lts": "<19.4.8|>=20,<20.0.4", + "orchid/platform": ">=9,<9.4.4", + "oro/crm": ">=1.7,<1.7.4", + "oro/platform": ">=1.7,<1.7.4", + "padraic/humbug_get_contents": "<1.1.2", + "pagarme/pagarme-php": ">=0,<3", + "paragonie/random_compat": "<2", + "passbolt/passbolt_api": "<2.11", + "paypal/merchant-sdk-php": "<3.12", + "pear/archive_tar": "<1.4.12", + "personnummer/personnummer": "<3.0.2", + "phpfastcache/phpfastcache": ">=5,<5.0.13", + "phpmailer/phpmailer": "<6.1.6", + "phpmussel/phpmussel": ">=1,<1.6", + "phpmyadmin/phpmyadmin": "<4.9.6|>=5,<5.0.3", + "phpoffice/phpexcel": "<1.8.2", + "phpoffice/phpspreadsheet": "<1.16", + "phpunit/phpunit": ">=4.8.19,<4.8.28|>=5.0.10,<5.6.3", + "phpwhois/phpwhois": "<=4.2.5", + "phpxmlrpc/extras": "<0.6.1", + "pimcore/pimcore": "<6.3", + "pocketmine/pocketmine-mp": "<3.15.4", + "prestashop/autoupgrade": ">=4,<4.10.1", + "prestashop/contactform": ">1.0.1,<4.3", + "prestashop/gamification": "<2.3.2", + "prestashop/productcomments": ">=4,<4.2.1", + "prestashop/ps_facetedsearch": "<3.4.1", + "privatebin/privatebin": "<1.2.2|>=1.3,<1.3.2", + "propel/propel": ">=2-alpha.1,<=2-alpha.7", + "propel/propel1": ">=1,<=1.7.1", + "pterodactyl/panel": "<0.7.19|>=1-rc.0,<=1-rc.6", + "pusher/pusher-php-server": "<2.2.1", + "rainlab/debugbar-plugin": "<3.1", + "robrichards/xmlseclibs": "<3.0.4", + "sabberworm/php-css-parser": ">=1,<1.0.1|>=2,<2.0.1|>=3,<3.0.1|>=4,<4.0.1|>=5,<5.0.9|>=5.1,<5.1.3|>=5.2,<5.2.1|>=6,<6.0.2|>=7,<7.0.4|>=8,<8.0.1|>=8.1,<8.1.1|>=8.2,<8.2.1|>=8.3,<8.3.1", + "sabre/dav": ">=1.6,<1.6.99|>=1.7,<1.7.11|>=1.8,<1.8.9", + "scheb/two-factor-bundle": ">=0,<3.26|>=4,<4.11", + "sensiolabs/connect": "<4.2.3", + "serluck/phpwhois": "<=4.2.6", + "shopware/core": "<=6.3.4", + "shopware/platform": "<=6.3.4", + "shopware/shopware": "<5.6.9", + "silverstripe/admin": ">=1.0.3,<1.0.4|>=1.1,<1.1.1", + "silverstripe/assets": ">=1,<1.4.7|>=1.5,<1.5.2", + "silverstripe/cms": "<4.3.6|>=4.4,<4.4.4", + "silverstripe/comments": ">=1.3,<1.9.99|>=2,<2.9.99|>=3,<3.1.1", + "silverstripe/forum": "<=0.6.1|>=0.7,<=0.7.3", + "silverstripe/framework": "<4.4.7|>=4.5,<4.5.4", + "silverstripe/graphql": ">=2,<2.0.5|>=3,<3.1.2|>=3.2,<3.2.4", + "silverstripe/registry": ">=2.1,<2.1.2|>=2.2,<2.2.1", + "silverstripe/restfulserver": ">=1,<1.0.9|>=2,<2.0.4", + "silverstripe/subsites": ">=2,<2.1.1", + "silverstripe/taxonomy": ">=1.3,<1.3.1|>=2,<2.0.1", + "silverstripe/userforms": "<3", + "simple-updates/phpwhois": "<=1", + "simplesamlphp/saml2": "<1.10.6|>=2,<2.3.8|>=3,<3.1.4", + "simplesamlphp/simplesamlphp": "<1.18.6", + "simplesamlphp/simplesamlphp-module-infocard": "<1.0.1", + "simplito/elliptic-php": "<1.0.6", + "slim/slim": "<2.6", + "smarty/smarty": "<3.1.33", + "socalnick/scn-social-auth": "<1.15.2", + "socialiteproviders/steam": "<1.1", + "spoonity/tcpdf": "<6.2.22", + "squizlabs/php_codesniffer": ">=1,<2.8.1|>=3,<3.0.1", + "ssddanbrown/bookstack": "<0.29.2", + "stormpath/sdk": ">=0,<9.9.99", + "studio-42/elfinder": "<2.1.49", + "sulu/sulu": "<1.6.34|>=2,<2.0.10|>=2.1,<2.1.1", + "swiftmailer/swiftmailer": ">=4,<5.4.5", + "sylius/admin-bundle": ">=1,<1.0.17|>=1.1,<1.1.9|>=1.2,<1.2.2", + "sylius/grid": ">=1,<1.1.19|>=1.2,<1.2.18|>=1.3,<1.3.13|>=1.4,<1.4.5|>=1.5,<1.5.1", + "sylius/grid-bundle": ">=1,<1.1.19|>=1.2,<1.2.18|>=1.3,<1.3.13|>=1.4,<1.4.5|>=1.5,<1.5.1", + "sylius/resource-bundle": "<1.3.14|>=1.4,<1.4.7|>=1.5,<1.5.2|>=1.6,<1.6.4", + "sylius/sylius": "<1.6.9|>=1.7,<1.7.9|>=1.8,<1.8.3", + "symbiote/silverstripe-multivaluefield": ">=3,<3.0.99", + "symbiote/silverstripe-versionedfiles": "<=2.0.3", + "symfony/cache": ">=3.1,<3.4.35|>=4,<4.2.12|>=4.3,<4.3.8", + "symfony/dependency-injection": ">=2,<2.0.17|>=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", + "symfony/error-handler": ">=4.4,<4.4.4|>=5,<5.0.4", + "symfony/form": ">=2.3,<2.3.35|>=2.4,<2.6.12|>=2.7,<2.7.50|>=2.8,<2.8.49|>=3,<3.4.20|>=4,<4.0.15|>=4.1,<4.1.9|>=4.2,<4.2.1", + "symfony/framework-bundle": ">=2,<2.3.18|>=2.4,<2.4.8|>=2.5,<2.5.2|>=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", + "symfony/http-foundation": ">=2,<2.8.52|>=3,<3.4.35|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7", + "symfony/http-kernel": ">=2,<2.8.52|>=3,<3.4.35|>=4,<4.2.12|>=4.3,<4.4.13|>=5,<5.1.5", + "symfony/intl": ">=2.7,<2.7.38|>=2.8,<2.8.31|>=3,<3.2.14|>=3.3,<3.3.13", + "symfony/mime": ">=4.3,<4.3.8", + "symfony/phpunit-bridge": ">=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", + "symfony/polyfill": ">=1,<1.10", + "symfony/polyfill-php55": ">=1,<1.10", + "symfony/proxy-manager-bridge": ">=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", + "symfony/routing": ">=2,<2.0.19", + "symfony/security": ">=2,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7|>=4.4,<4.4.7|>=5,<5.0.7", + "symfony/security-bundle": ">=2,<2.7.48|>=2.8,<2.8.41|>=3,<3.3.17|>=3.4,<3.4.11|>=4,<4.0.11", + "symfony/security-core": ">=2.4,<2.6.13|>=2.7,<2.7.9|>=2.7.30,<2.7.32|>=2.8,<2.8.37|>=3,<3.3.17|>=3.4,<3.4.7|>=4,<4.0.7", + "symfony/security-csrf": ">=2.4,<2.7.48|>=2.8,<2.8.41|>=3,<3.3.17|>=3.4,<3.4.11|>=4,<4.0.11", + "symfony/security-guard": ">=2.8,<2.8.41|>=3,<3.3.17|>=3.4,<3.4.11|>=4,<4.0.11", + "symfony/security-http": ">=2.3,<2.3.41|>=2.4,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7", + "symfony/serializer": ">=2,<2.0.11", + "symfony/symfony": ">=2,<2.8.52|>=3,<3.4.35|>=4,<4.2.12|>=4.3,<4.4.13|>=5,<5.1.5", + "symfony/translation": ">=2,<2.0.17", + "symfony/validator": ">=2,<2.0.24|>=2.1,<2.1.12|>=2.2,<2.2.5|>=2.3,<2.3.3", + "symfony/var-exporter": ">=4.2,<4.2.12|>=4.3,<4.3.8", + "symfony/web-profiler-bundle": ">=2,<2.3.19|>=2.4,<2.4.9|>=2.5,<2.5.4", + "symfony/yaml": ">=2,<2.0.22|>=2.1,<2.1.7", + "t3g/svg-sanitizer": "<1.0.3", + "tecnickcom/tcpdf": "<6.2.22", + "thelia/backoffice-default-template": ">=2.1,<2.1.2", + "thelia/thelia": ">=2.1-beta.1,<2.1.3", + "theonedemon/phpwhois": "<=4.2.5", + "titon/framework": ">=0,<9.9.99", + "truckersmp/phpwhois": "<=4.3.1", + "twig/twig": "<1.38|>=2,<2.7", + "typo3/cms": ">=6.2,<6.2.30|>=7,<7.6.32|>=8,<8.7.38|>=9,<9.5.23|>=10,<10.4.10", + "typo3/cms-core": ">=8,<8.7.38|>=9,<9.5.23|>=10,<10.4.10", + "typo3/flow": ">=1,<1.0.4|>=1.1,<1.1.1|>=2,<2.0.1|>=2.3,<2.3.16|>=3,<3.0.10|>=3.1,<3.1.7|>=3.2,<3.2.7|>=3.3,<3.3.5", + "typo3/neos": ">=1.1,<1.1.3|>=1.2,<1.2.13|>=2,<2.0.4", + "typo3/phar-stream-wrapper": ">=1,<2.1.1|>=3,<3.1.1", + "typo3fluid/fluid": ">=2,<2.0.8|>=2.1,<2.1.7|>=2.2,<2.2.4|>=2.3,<2.3.7|>=2.4,<2.4.4|>=2.5,<2.5.11|>=2.6,<2.6.10", + "ua-parser/uap-php": "<3.8", + "usmanhalalit/pixie": "<1.0.3|>=2,<2.0.2", + "verot/class.upload.php": "<=1.0.3|>=2,<=2.0.4", + "wallabag/tcpdf": "<6.2.22", + "willdurand/js-translation-bundle": "<2.1.1", + "yii2mod/yii2-cms": "<1.9.2", + "yiisoft/yii": ">=1.1.14,<1.1.15", + "yiisoft/yii2": "<2.0.38", + "yiisoft/yii2-bootstrap": "<2.0.4", + "yiisoft/yii2-dev": "<2.0.15", + "yiisoft/yii2-elasticsearch": "<2.0.5", + "yiisoft/yii2-gii": "<2.0.4", + "yiisoft/yii2-jui": "<2.0.4", + "yiisoft/yii2-redis": "<2.0.8", + "yourls/yourls": "<1.7.4", + "zendframework/zend-cache": ">=2.4,<2.4.8|>=2.5,<2.5.3", + "zendframework/zend-captcha": ">=2,<2.4.9|>=2.5,<2.5.2", + "zendframework/zend-crypt": ">=2,<2.4.9|>=2.5,<2.5.2", + "zendframework/zend-db": ">=2,<2.0.99|>=2.1,<2.1.99|>=2.2,<2.2.10|>=2.3,<2.3.5", + "zendframework/zend-developer-tools": ">=1.2.2,<1.2.3", + "zendframework/zend-diactoros": ">=1,<1.8.4", + "zendframework/zend-feed": ">=1,<2.10.3", + "zendframework/zend-form": ">=2,<2.2.7|>=2.3,<2.3.1", + "zendframework/zend-http": ">=1,<2.8.1", + "zendframework/zend-json": ">=2.1,<2.1.6|>=2.2,<2.2.6", + "zendframework/zend-ldap": ">=2,<2.0.99|>=2.1,<2.1.99|>=2.2,<2.2.8|>=2.3,<2.3.3", + "zendframework/zend-mail": ">=2,<2.4.11|>=2.5,<2.7.2", + "zendframework/zend-navigation": ">=2,<2.2.7|>=2.3,<2.3.1", + "zendframework/zend-session": ">=2,<2.0.99|>=2.1,<2.1.99|>=2.2,<2.2.9|>=2.3,<2.3.4", + "zendframework/zend-validator": ">=2.3,<2.3.6", + "zendframework/zend-view": ">=2,<2.2.7|>=2.3,<2.3.1", + "zendframework/zend-xmlrpc": ">=2.1,<2.1.6|>=2.2,<2.2.6", + "zendframework/zendframework": "<2.5.1", + "zendframework/zendframework1": "<1.12.20", + "zendframework/zendopenid": ">=2,<2.0.2", + "zendframework/zendxml": ">=1,<1.0.1", + "zetacomponents/mail": "<1.8.2", + "zf-commons/zfc-user": "<1.2.2", + "zfcampus/zf-apigility-doctrine": ">=1,<1.0.3", + "zfr/zfr-oauth2-server-module": "<0.1.2" + }, + "type": "metapackage", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "role": "maintainer" + }, + { + "name": "Ilya Tribusean", + "email": "slash3b@gmail.com", + "role": "maintainer" + } + ], + "description": "Prevents installation of composer packages with known security vulnerabilities: no API, simply require it", + "funding": [ + { + "url": "https://github.com/Ocramius", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/roave/security-advisories", + "type": "tidelift" + } + ], + "time": "2021-01-29T06:02:40+00:00" } ], "aliases": [], @@ -5696,9 +6029,10 @@ "phpstan/phpstan-strict-rules": 0, "infection/infection": 0, "funkyproject/reflection-file": 0, - "irstea/composer-require-checker-shim": 0, + "maglnet/composer-require-checker": 0, "phpstan/extension-installer": 0, - "friendsofphp/php-cs-fixer": 0 + "friendsofphp/php-cs-fixer": 0, + "roave/security-advisories": 20 }, "prefer-stable": false, "prefer-lowest": false, @@ -5707,5 +6041,5 @@ "ext-json": "*" }, "platform-dev": [], - "plugin-api-version": "2.0.0" + "plugin-api-version": "1.1.0" } From 33bf209f6601957d110e986c3ec67d3855e58ab8 Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Tue, 9 Feb 2021 16:23:00 +0000 Subject: [PATCH 10/31] initial github action setup --- .../actions/edmondscommerce/setup/action.yml | 11 ++++ .github/workflows/main.yml | 59 +++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 .github/actions/edmondscommerce/setup/action.yml create mode 100644 .github/workflows/main.yml diff --git a/.github/actions/edmondscommerce/setup/action.yml b/.github/actions/edmondscommerce/setup/action.yml new file mode 100644 index 0000000..930024d --- /dev/null +++ b/.github/actions/edmondscommerce/setup/action.yml @@ -0,0 +1,11 @@ +name: 'Dependency Setup and install' +description: 'Sets up dependencies for the project' +runs: + using: "composite" + steps: + - name: Remove HHVM + run: sudo apt-get remove hhvm + shell: bash + - name: Install Dependencies + run: composer install --prefer-dist --no-scripts + shell: bash \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..f9e0af6 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,59 @@ +name: PHP QA +env: + #php_modules: 'bcmath, ctype, curl, dom, gd, hash, iconv, intl, mbstring, openssl, pdo_mysql, simplexml, soap, xsl, zip' + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + name: Build Dependencies + runs-on: ubuntu-latest + steps: + - name: Checkout latest Ref + uses: actions/checkout@v2 + + - name: Cache Vendor + id: cacheVendor + uses: actions/cache@v2 + with: + path: vendor + key: ${{ runner.OS }}-build-${{ hashFiles('./composer.lock') }} + + - name: Setup PHP + if: steps.cacheVendor.outputs.cache-hit != 'true' # Cache was hit, skip this step and the others + uses: shivammathur/setup-php@v2 + with: + php-version: 7.4 + extensions: ${{ env.php_modules }} + tools: composer:v2 + coverage: none # disables xdebug, can use other options + + - name: Get Composer Cache Directory + if: steps.cacheVendor.outputs.cache-hit != 'true' + id: composer-cache + run: | + echo "::set-output name=dir::$(composer config cache-files-dir)" + - uses: actions/cache@v2 + if: steps.cacheVendor.outputs.cache-hit != 'true' + with: + path: ${{ steps.composer-cache.outputs.dir }} + key: ${{ runner.os }}-composer-${{ hashFiles('./composer.lock') }} + restore-keys: | + ${{ runner.os }}-composer- + - name: Install composer dependencies + if: steps.cacheVendor.outputs.cache-hit != 'true' + uses: ./.github/actions/edmondscommerce/setup + + qa: + name: PHP QA CI + needs: [build] + runs-on: ubuntu-latest + steps: + - name: Run Composer install scripts + run: composer install + - name: Run test suite + run: ./ci.bash From 438e40c1b6607a9b2ada3d9848e99d4c8251775a Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Tue, 9 Feb 2021 16:31:14 +0000 Subject: [PATCH 11/31] fixing yaml indentation --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f9e0af6..29c5412 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,6 +54,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Run Composer install scripts - run: composer install - - name: Run test suite - run: ./ci.bash + run: composer install + - name: Run test suite + run: ./ci.bash From e5ea16b3e2b7e4a150d73e1cec43784b6710ae94 Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Tue, 9 Feb 2021 16:42:18 +0000 Subject: [PATCH 12/31] fixing php version, enabling xdebug, fixing indentation --- .github/workflows/main.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 29c5412..fd8893f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,13 +24,12 @@ jobs: key: ${{ runner.OS }}-build-${{ hashFiles('./composer.lock') }} - name: Setup PHP - if: steps.cacheVendor.outputs.cache-hit != 'true' # Cache was hit, skip this step and the others uses: shivammathur/setup-php@v2 with: - php-version: 7.4 + php-version: 8.0 extensions: ${{ env.php_modules }} tools: composer:v2 - coverage: none # disables xdebug, can use other options + coverage: xdebug - name: Get Composer Cache Directory if: steps.cacheVendor.outputs.cache-hit != 'true' @@ -54,6 +53,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Run Composer install scripts - run: composer install + run: composer install - name: Run test suite - run: ./ci.bash + run: ./ci.bash From efabed5d5ed2ae244384838af40245249353b164 Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Tue, 9 Feb 2021 17:14:18 +0000 Subject: [PATCH 13/31] updated deps --- composer.lock | 262 ++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 198 insertions(+), 64 deletions(-) diff --git a/composer.lock b/composer.lock index 46eefa9..2bc6e6a 100644 --- a/composer.lock +++ b/composer.lock @@ -538,6 +538,10 @@ } ], "description": "A tool to automatically fix PHP code style", + "support": { + "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues", + "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v2.18.2" + }, "funding": [ { "url": "https://github.com/keradus", @@ -726,16 +730,16 @@ }, { "name": "infection/infection", - "version": "0.18.2", + "version": "0.21.0", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "05685f8e97ec2d42455fdaad6984446d5af2f67e" + "reference": "dfacb1e3d9def7fd34c6fb8df4d4bd098815dc82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/05685f8e97ec2d42455fdaad6984446d5af2f67e", - "reference": "05685f8e97ec2d42455fdaad6984446d5af2f67e", + "url": "https://api.github.com/repos/infection/infection/zipball/dfacb1e3d9def7fd34c6fb8df4d4bd098815dc82", + "reference": "dfacb1e3d9def7fd34c6fb8df4d4bd098815dc82", "shasum": "" }, "require": { @@ -747,11 +751,12 @@ "infection/extension-installer": "^0.1.0", "infection/include-interceptor": "^0.2.4", "justinrainbow/json-schema": "^5.2", - "nikic/php-parser": "^4.10.2", + "nikic/php-parser": "^4.10.3", "ocramius/package-versions": "^1.2 || ^2.0", "ondram/ci-detector": "^3.3.0", - "php": "^7.3 || ^8.0", - "sanmai/pipeline": "^3.1 || ^5.0", + "php": "^7.4 || ^8.0", + "sanmai/later": "^0.1.1", + "sanmai/pipeline": "^5.1", "sebastian/diff": "^3.0.2 || ^4.0", "seld/jsonlint": "^1.7", "symfony/console": "^3.4.29 || ^4.1.19 || ^5.0", @@ -767,16 +772,16 @@ "symfony/console": "=4.1.5" }, "require-dev": { - "composer/package-versions-deprecated": "^1.2 || ^2.0", "ext-simplexml": "*", "helmich/phpunit-json-assert": "^3.0", "phpspec/prophecy-phpunit": "^2.0", "phpstan/extension-installer": "^1.0", "phpstan/phpstan": "^0.12.8", "phpstan/phpstan-phpunit": "^0.12.6", + "phpstan/phpstan-strict-rules": "^0.12.5", "phpstan/phpstan-webmozart-assert": "^0.12.2", "phpunit/phpunit": "^9.3.11", - "symfony/phpunit-bridge": "^4.4.14 || ^5.1.6", + "symfony/phpunit-bridge": "^4.4.18 || ^5.1.10", "symfony/yaml": "^5.0", "thecodingmachine/phpstan-safe-rule": "^1.0" }, @@ -832,7 +837,21 @@ "testing", "unit testing" ], - "time": "2020-10-21T20:25:38+00:00" + "support": { + "issues": "https://github.com/infection/infection/issues", + "source": "https://github.com/infection/infection/tree/0.21.0" + }, + "funding": [ + { + "url": "https://github.com/infection", + "type": "github" + }, + { + "url": "https://opencollective.com/infection", + "type": "open_collective" + } + ], + "time": "2021-01-26T22:10:01+00:00" }, { "name": "justinrainbow/json-schema", @@ -906,32 +925,35 @@ }, { "name": "maglnet/composer-require-checker", - "version": "2.1.0", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/maglnet/ComposerRequireChecker.git", - "reference": "0c66698d487fcb5c66cf07108e2180c818fb2e72" + "reference": "b3cd6d30e2335997c5eabb19e3f01d699bc06caa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/maglnet/ComposerRequireChecker/zipball/0c66698d487fcb5c66cf07108e2180c818fb2e72", - "reference": "0c66698d487fcb5c66cf07108e2180c818fb2e72", + "url": "https://api.github.com/repos/maglnet/ComposerRequireChecker/zipball/b3cd6d30e2335997c5eabb19e3f01d699bc06caa", + "reference": "b3cd6d30e2335997c5eabb19e3f01d699bc06caa", "shasum": "" }, "require": { + "composer-runtime-api": "^2.0.0", "ext-json": "*", "ext-phar": "*", - "nikic/php-parser": "^4.3", - "ocramius/package-versions": "^1.4.2", - "php": "^7.2", - "symfony/console": "^5.0", - "webmozart/glob": "^4.1" + "nikic/php-parser": "^4.10.2", + "php": "^7.4 || ^8.0", + "symfony/console": "^5.1.8", + "webmozart/assert": "^1.9.1", + "webmozart/glob": "^4.2.0" }, "require-dev": { + "doctrine/coding-standard": "^8.2.0", "ext-zend-opcache": "*", - "mikey179/vfsstream": "^1.6", - "phpstan/phpstan": "^0.12", - "phpunit/phpunit": "^8.4.3" + "mikey179/vfsstream": "^1.6.8", + "phpstan/phpstan": "^0.12.64", + "phpunit/phpunit": "^9.5.0", + "vimeo/psalm": "^4.3.2" }, "bin": [ "bin/composer-require-checker" @@ -974,7 +996,11 @@ "require", "requirements" ], - "time": "2019-12-28T13:49:20+00:00" + "support": { + "issues": "https://github.com/maglnet/ComposerRequireChecker/issues", + "source": "https://github.com/maglnet/ComposerRequireChecker/tree/3.1.0" + }, + "time": "2021-01-18T21:38:15+00:00" }, { "name": "myclabs/deep-copy", @@ -1717,18 +1743,18 @@ "source": { "type": "git", "url": "https://github.com/phpmd/phpmd.git", - "reference": "5cc2d16b9a7cee666475ac454fef805d41b4159c" + "reference": "830897ab5868032d3b1f078b96a8ed46cf1c03bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpmd/phpmd/zipball/5cc2d16b9a7cee666475ac454fef805d41b4159c", - "reference": "5cc2d16b9a7cee666475ac454fef805d41b4159c", + "url": "https://api.github.com/repos/phpmd/phpmd/zipball/830897ab5868032d3b1f078b96a8ed46cf1c03bd", + "reference": "830897ab5868032d3b1f078b96a8ed46cf1c03bd", "shasum": "" }, "require": { "composer/xdebug-handler": "^1.0", "ext-xml": "*", - "pdepend/pdepend": "^2.7.1", + "pdepend/pdepend": "^2.8.0", "php": ">=5.3.9" }, "require-dev": { @@ -1740,6 +1766,7 @@ "phpunit/phpunit": "^4.8.36 || ^5.7.27", "squizlabs/php_codesniffer": "^2.0" }, + "default-branch": true, "bin": [ "src/bin/phpmd" ], @@ -1781,13 +1808,18 @@ "phpmd", "pmd" ], + "support": { + "irc": "irc://irc.freenode.org/phpmd", + "issues": "https://github.com/phpmd/phpmd/issues", + "source": "https://github.com/phpmd/phpmd/tree/master" + }, "funding": [ { "url": "https://tidelift.com/funding/github/packagist/phpmd/phpmd", "type": "tidelift" } ], - "time": "2021-01-11T18:52:47+00:00" + "time": "2021-02-01T10:20:18+00:00" }, { "name": "phpspec/prophecy", @@ -1903,16 +1935,16 @@ }, { "name": "phpstan/phpstan", - "version": "0.12.70", + "version": "0.12.74", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "07f0ef37f5f876e8cee44cc8ea0ec3fe80d499ee" + "reference": "bc5f9483c8f461c86653dcbd040cf0d2778c91a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/07f0ef37f5f876e8cee44cc8ea0ec3fe80d499ee", - "reference": "07f0ef37f5f876e8cee44cc8ea0ec3fe80d499ee", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/bc5f9483c8f461c86653dcbd040cf0d2778c91a2", + "reference": "bc5f9483c8f461c86653dcbd040cf0d2778c91a2", "shasum": "" }, "require": { @@ -1941,6 +1973,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.74" + }, "funding": [ { "url": "https://github.com/ondrejmirtes", @@ -1955,7 +1991,7 @@ "type": "tidelift" } ], - "time": "2021-01-27T17:06:47+00:00" + "time": "2021-02-08T15:00:25+00:00" }, { "name": "phpstan/phpstan-strict-rules", @@ -2328,16 +2364,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.1", + "version": "9.5.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "e7bdf4085de85a825f4424eae52c99a1cec2f360" + "reference": "f661659747f2f87f9e72095bb207bceb0f151cb4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/e7bdf4085de85a825f4424eae52c99a1cec2f360", - "reference": "e7bdf4085de85a825f4424eae52c99a1cec2f360", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f661659747f2f87f9e72095bb207bceb0f151cb4", + "reference": "f661659747f2f87f9e72095bb207bceb0f151cb4", "shasum": "" }, "require": { @@ -2415,7 +2451,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.1" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.2" }, "funding": [ { @@ -2427,7 +2463,7 @@ "type": "github" } ], - "time": "2021-01-17T07:42:25+00:00" + "time": "2021-02-02T14:45:58+00:00" }, { "name": "psr/container", @@ -2582,6 +2618,64 @@ }, "time": "2020-03-23T09:12:05+00:00" }, + { + "name": "sanmai/later", + "version": "0.1.2", + "source": { + "type": "git", + "url": "https://github.com/sanmai/later.git", + "reference": "9b659fecef2030193fd02402955bc39629d5606f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sanmai/later/zipball/9b659fecef2030193fd02402955bc39629d5606f", + "reference": "9b659fecef2030193fd02402955bc39629d5606f", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.13", + "infection/infection": ">=0.10.5", + "phan/phan": ">=2", + "php-coveralls/php-coveralls": "^2.0", + "phpstan/phpstan": ">=0.10", + "phpunit/phpunit": ">=7.4", + "vimeo/psalm": ">=2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Later\\": "src/" + }, + "files": [ + "src/functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Alexey Kopytko", + "email": "alexey@kopytko.com" + } + ], + "description": "Later: deferred wrapper object", + "support": { + "issues": "https://github.com/sanmai/later/issues", + "source": "https://github.com/sanmai/later/tree/0.1.2" + }, + "funding": [ + { + "url": "https://github.com/sanmai", + "type": "github" + } + ], + "time": "2021-01-02T10:26:44+00:00" + }, { "name": "sanmai/pipeline", "version": "v5.1.0", @@ -3732,7 +3826,7 @@ }, { "name": "symfony/config", - "version": "v5.2.2", + "version": "v5.2.3", "source": { "type": "git", "url": "https://github.com/symfony/config.git", @@ -3789,6 +3883,9 @@ ], "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/config/tree/v5.2.3" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3807,16 +3904,16 @@ }, { "name": "symfony/console", - "version": "v5.2.2", + "version": "v5.2.3", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "d62ec79478b55036f65e2602e282822b8eaaff0a" + "reference": "89d4b176d12a2946a1ae4e34906a025b7b6b135a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/d62ec79478b55036f65e2602e282822b8eaaff0a", - "reference": "d62ec79478b55036f65e2602e282822b8eaaff0a", + "url": "https://api.github.com/repos/symfony/console/zipball/89d4b176d12a2946a1ae4e34906a025b7b6b135a", + "reference": "89d4b176d12a2946a1ae4e34906a025b7b6b135a", "shasum": "" }, "require": { @@ -3883,6 +3980,9 @@ "console", "terminal" ], + "support": { + "source": "https://github.com/symfony/console/tree/v5.2.3" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -3897,11 +3997,11 @@ "type": "tidelift" } ], - "time": "2021-01-27T10:15:41+00:00" + "time": "2021-01-28T22:06:19+00:00" }, { "name": "symfony/dependency-injection", - "version": "v5.2.2", + "version": "v5.2.3", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", @@ -3967,6 +4067,9 @@ ], "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/dependency-injection/tree/v5.2.3" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -4052,7 +4155,7 @@ }, { "name": "symfony/event-dispatcher", - "version": "v5.2.2", + "version": "v5.2.3", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", @@ -4116,6 +4219,9 @@ ], "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/event-dispatcher/tree/v5.2.3" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -4213,7 +4319,7 @@ }, { "name": "symfony/filesystem", - "version": "v5.2.2", + "version": "v5.2.3", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", @@ -4254,6 +4360,9 @@ ], "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/filesystem/tree/v5.2.3" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -4272,16 +4381,16 @@ }, { "name": "symfony/finder", - "version": "v5.2.2", + "version": "v5.2.3", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "196f45723b5e618bf0e23b97e96d11652696ea9e" + "reference": "4adc8d172d602008c204c2e16956f99257248e03" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/196f45723b5e618bf0e23b97e96d11652696ea9e", - "reference": "196f45723b5e618bf0e23b97e96d11652696ea9e", + "url": "https://api.github.com/repos/symfony/finder/zipball/4adc8d172d602008c204c2e16956f99257248e03", + "reference": "4adc8d172d602008c204c2e16956f99257248e03", "shasum": "" }, "require": { @@ -4312,6 +4421,9 @@ ], "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/finder/tree/v5.2.3" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -4326,11 +4438,11 @@ "type": "tidelift" } ], - "time": "2021-01-27T10:01:46+00:00" + "time": "2021-01-28T22:06:19+00:00" }, { "name": "symfony/options-resolver", - "version": "v5.2.2", + "version": "v5.2.3", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", @@ -4378,6 +4490,9 @@ "configuration", "options" ], + "support": { + "source": "https://github.com/symfony/options-resolver/tree/v5.2.3" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -5026,7 +5141,7 @@ }, { "name": "symfony/process", - "version": "v5.2.2", + "version": "v5.2.3", "source": { "type": "git", "url": "https://github.com/symfony/process.git", @@ -5067,6 +5182,9 @@ ], "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/process/tree/v5.2.3" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -5164,7 +5282,7 @@ }, { "name": "symfony/stopwatch", - "version": "v5.2.2", + "version": "v5.2.3", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", @@ -5205,6 +5323,9 @@ ], "description": "Provides a way to profile code", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/stopwatch/tree/v5.2.3" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -5223,7 +5344,7 @@ }, { "name": "symfony/string", - "version": "v5.2.2", + "version": "v5.2.3", "source": { "type": "git", "url": "https://github.com/symfony/string.git", @@ -5285,6 +5406,9 @@ "utf-8", "utf8" ], + "support": { + "source": "https://github.com/symfony/string/tree/v5.2.3" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -5587,6 +5711,10 @@ } ], "description": "A PHP implementation of Ant's glob.", + "support": { + "issues": "https://github.com/webmozarts/glob/issues", + "source": "https://github.com/webmozarts/glob/tree/4.3.0" + }, "time": "2021-01-21T06:17:15+00:00" }, { @@ -5702,12 +5830,12 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "7d7032b003f4c36edbf059dd039db72656df6323" + "reference": "f7d723a10c7cb36e11430182f5813ecb1b887da0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/7d7032b003f4c36edbf059dd039db72656df6323", - "reference": "7d7032b003f4c36edbf059dd039db72656df6323", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/f7d723a10c7cb36e11430182f5813ecb1b887da0", + "reference": "f7d723a10c7cb36e11430182f5813ecb1b887da0", "shasum": "" }, "conflict": { @@ -5773,6 +5901,8 @@ "ezsystems/repository-forms": ">=2.3,<2.3.2.1", "ezyang/htmlpurifier": "<4.1.1", "firebase/php-jwt": "<2", + "flarum/sticky": ">=0.1-beta.14,<=0.1-beta.15", + "flarum/tags": "<=0.1-beta.13", "fooman/tcpdf": "<6.2.22", "fossar/tcpdf-parser": "<6.2.22", "friendsofsymfony/oauth2-php": "<1.3", @@ -5789,7 +5919,7 @@ "guzzlehttp/guzzle": ">=4-rc.2,<4.2.4|>=5,<5.3.1|>=6,<6.2.1", "illuminate/auth": ">=4,<4.0.99|>=4.1,<=4.1.31|>=4.2,<=4.2.22|>=5,<=5.0.35|>=5.1,<=5.1.46|>=5.2,<=5.2.45|>=5.3,<=5.3.31|>=5.4,<=5.4.36|>=5.5,<5.5.10", "illuminate/cookie": ">=4,<=4.0.11|>=4.1,<=4.1.99999|>=4.2,<=4.2.99999|>=5,<=5.0.99999|>=5.1,<=5.1.99999|>=5.2,<=5.2.99999|>=5.3,<=5.3.99999|>=5.4,<=5.4.99999|>=5.5,<=5.5.49|>=5.6,<=5.6.99999|>=5.7,<=5.7.99999|>=5.8,<=5.8.99999|>=6,<6.18.31|>=7,<7.22.4", - "illuminate/database": "<6.20.12|>=7,<7.30.3|>=8,<8.22.1", + "illuminate/database": "<6.20.14|>=7,<7.30.4|>=8,<8.24", "illuminate/encryption": ">=4,<=4.0.11|>=4.1,<=4.1.31|>=4.2,<=4.2.22|>=5,<=5.0.35|>=5.1,<=5.1.46|>=5.2,<=5.2.45|>=5.3,<=5.3.31|>=5.4,<=5.4.36|>=5.5,<5.5.40|>=5.6,<5.6.15", "illuminate/view": ">=7,<7.1.2", "ivankristianto/phpwhois": "<=4.3", @@ -5800,7 +5930,7 @@ "kitodo/presentation": "<3.1.2", "kreait/firebase-php": ">=3.2,<3.8.1", "la-haute-societe/tcpdf": "<6.2.22", - "laravel/framework": "<6.20.12|>=7,<7.30.3|>=8,<8.22.1", + "laravel/framework": "<6.20.14|>=7,<7.30.4|>=8,<8.24", "laravel/socialite": ">=1,<1.0.99|>=2,<2.0.10", "league/commonmark": "<0.18.3", "librenms/librenms": "<1.53", @@ -6003,6 +6133,10 @@ } ], "description": "Prevents installation of composer packages with known security vulnerabilities: no API, simply require it", + "support": { + "issues": "https://github.com/Roave/SecurityAdvisories/issues", + "source": "https://github.com/Roave/SecurityAdvisories/tree/latest" + }, "funding": [ { "url": "https://github.com/Ocramius", @@ -6013,7 +6147,7 @@ "type": "tidelift" } ], - "time": "2021-01-29T06:02:40+00:00" + "time": "2021-02-02T10:05:32+00:00" } ], "aliases": [], @@ -6041,5 +6175,5 @@ "ext-json": "*" }, "platform-dev": [], - "plugin-api-version": "1.1.0" + "plugin-api-version": "2.0.0" } From 5edb43cbfeb741f2e294f5792c0b31d10b9b9307 Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Tue, 9 Feb 2021 17:18:07 +0000 Subject: [PATCH 14/31] target all branches --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fd8893f..200f4ce 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,9 +4,9 @@ env: on: push: - branches: [ master ] + branches: [ * ] pull_request: - branches: [ master ] + branches: [ * ] jobs: build: From 00a925dd953795662df2fbc6f75ae8416fd031a2 Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Tue, 9 Feb 2021 17:19:39 +0000 Subject: [PATCH 15/31] target all branches --- .github/workflows/main.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 200f4ce..0d8e92f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,12 +1,14 @@ name: PHP QA env: - #php_modules: 'bcmath, ctype, curl, dom, gd, hash, iconv, intl, mbstring, openssl, pdo_mysql, simplexml, soap, xsl, zip' +#php_modules: 'bcmath, ctype, curl, dom, gd, hash, iconv, intl, mbstring, openssl, pdo_mysql, simplexml, soap, xsl, zip' on: push: - branches: [ * ] + branches: + - '*' pull_request: - branches: [ * ] + branches: + - '*' jobs: build: @@ -49,7 +51,7 @@ jobs: qa: name: PHP QA CI - needs: [build] + needs: [ build ] runs-on: ubuntu-latest steps: - name: Run Composer install scripts From c7ab67d2ee49b32ba8eda41d844294714799c6ca Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Tue, 9 Feb 2021 17:20:33 +0000 Subject: [PATCH 16/31] removing env for now --- .github/workflows/main.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0d8e92f..6cec7fd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,4 @@ name: PHP QA -env: -#php_modules: 'bcmath, ctype, curl, dom, gd, hash, iconv, intl, mbstring, openssl, pdo_mysql, simplexml, soap, xsl, zip' on: push: From ab5697fa5deeace4ad8f4cc756a99b847ea22b89 Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Tue, 9 Feb 2021 17:26:31 +0000 Subject: [PATCH 17/31] trying a different workflow --- .../actions/edmondscommerce/setup/action.yml | 11 ---------- .github/workflows/main.yml | 20 ++++--------------- 2 files changed, 4 insertions(+), 27 deletions(-) delete mode 100644 .github/actions/edmondscommerce/setup/action.yml diff --git a/.github/actions/edmondscommerce/setup/action.yml b/.github/actions/edmondscommerce/setup/action.yml deleted file mode 100644 index 930024d..0000000 --- a/.github/actions/edmondscommerce/setup/action.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: 'Dependency Setup and install' -description: 'Sets up dependencies for the project' -runs: - using: "composite" - steps: - - name: Remove HHVM - run: sudo apt-get remove hhvm - shell: bash - - name: Install Dependencies - run: composer install --prefer-dist --no-scripts - shell: bash \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6cec7fd..bd6de5f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,6 +15,8 @@ jobs: steps: - name: Checkout latest Ref uses: actions/checkout@v2 + with: + fetch-depth: 1 - name: Cache Vendor id: cacheVendor @@ -27,25 +29,11 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: 8.0 - extensions: ${{ env.php_modules }} tools: composer:v2 coverage: xdebug - - name: Get Composer Cache Directory - if: steps.cacheVendor.outputs.cache-hit != 'true' - id: composer-cache - run: | - echo "::set-output name=dir::$(composer config cache-files-dir)" - - uses: actions/cache@v2 - if: steps.cacheVendor.outputs.cache-hit != 'true' - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ hashFiles('./composer.lock') }} - restore-keys: | - ${{ runner.os }}-composer- - - name: Install composer dependencies - if: steps.cacheVendor.outputs.cache-hit != 'true' - uses: ./.github/actions/edmondscommerce/setup + - name: Install dependencies with Composer + uses: ramsey/composer-install@v1 qa: name: PHP QA CI From 4ff89d95f995716b5e4dcc5c1e261a97180b1fb7 Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Tue, 9 Feb 2021 17:26:51 +0000 Subject: [PATCH 18/31] trying a different workflow --- .github/workflows/main.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bd6de5f..fbfd800 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,7 +40,5 @@ jobs: needs: [ build ] runs-on: ubuntu-latest steps: - - name: Run Composer install scripts - run: composer install - name: Run test suite run: ./ci.bash From c6915c5f27ed487203e80fbe0b2d6f6bbfdc5308 Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Tue, 9 Feb 2021 17:34:41 +0000 Subject: [PATCH 19/31] trying to simplify this --- .github/workflows/main.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fbfd800..5f48b9c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ on: - '*' jobs: - build: + qa: name: Build Dependencies runs-on: ubuntu-latest steps: @@ -18,13 +18,6 @@ jobs: with: fetch-depth: 1 - - name: Cache Vendor - id: cacheVendor - uses: actions/cache@v2 - with: - path: vendor - key: ${{ runner.OS }}-build-${{ hashFiles('./composer.lock') }} - - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -35,10 +28,5 @@ jobs: - name: Install dependencies with Composer uses: ramsey/composer-install@v1 - qa: - name: PHP QA CI - needs: [ build ] - runs-on: ubuntu-latest - steps: - name: Run test suite - run: ./ci.bash + run: bash ./ci.bash From 15220273906120c1748d31ba9b8e6eaffef3ea1d Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Tue, 9 Feb 2021 17:39:31 +0000 Subject: [PATCH 20/31] fixing ci.bash assumption that var/qa exists, adding in action item to push changed files back up --- .github/workflows/main.yml | 5 ++++- ci.bash | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5f48b9c..ef12610 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,5 +28,8 @@ jobs: - name: Install dependencies with Composer uses: ramsey/composer-install@v1 - - name: Run test suite + - name: Run CI process run: bash ./ci.bash + + - name: Commit and changes, eg cs fixer + uses: EndBug/add-and-commit@v7 diff --git a/ci.bash b/ci.bash index 2feae33..9e06d00 100755 --- a/ci.bash +++ b/ci.bash @@ -17,6 +17,7 @@ export phpUnitCoverage=${phpunitCoverage:-0} export CI=true # run the QA pipeline, echo tee to stdout and also to log file +mkdir -p var/qa/ bin/qa |& tee var/qa/ci.log echo " From dfc459f5dddcebe22b5c09eb6a39c27b76fc15e0 Mon Sep 17 00:00:00 2001 From: edmondscommerce Date: Tue, 9 Feb 2021 17:40:22 +0000 Subject: [PATCH 21/31] Commit from GitHub Actions (PHP QA) --- configDefaults/generic/php_cs.php | 18 ++++++++++-------- configDefaults/generic/php_cs_finder.php | 6 +++--- .../magento2/phpstan-magento2-bootstrap.php | 3 ++- src/Markdown/LinksChecker.php | 1 - src/Psr4Validator.php | 2 +- tests/Small/PHPUnit/CheckAnnotationsTest.php | 1 - 6 files changed, 16 insertions(+), 15 deletions(-) diff --git a/configDefaults/generic/php_cs.php b/configDefaults/generic/php_cs.php index 30a6b01..b1db3e0 100644 --- a/configDefaults/generic/php_cs.php +++ b/configDefaults/generic/php_cs.php @@ -1,6 +1,8 @@ [ 'sort_algorithm' => 'alpha', - # this is the PSR12 order, do not change + // this is the PSR12 order, do not change 'imports_order' => [ 'class', 'function', @@ -85,9 +87,8 @@ 'phpdoc_to_return_type' => false, ]; - $projectRoot = ( -function () { + static function () { $reflection = new ReflectionClass(ClassLoader::class); return dirname($reflection->getFileName(), 3); @@ -95,7 +96,7 @@ function () { )(); $finderPath = __DIR__ . '/php_cs_finder.php'; -$overridePath = "$projectRoot/qaConfig/php_cs_finder.php"; +$overridePath = "{$projectRoot}/qaConfig/php_cs_finder.php"; if (file_exists($overridePath)) { $finderPath = $overridePath; } @@ -103,5 +104,6 @@ function () { $finder = require $finderPath; return PhpCsFixer\Config::create() - ->setRules($rules) - ->setFinder($finder); + ->setRules($rules) + ->setFinder($finder) +; diff --git a/configDefaults/generic/php_cs_finder.php b/configDefaults/generic/php_cs_finder.php index 5102899..c46428b 100644 --- a/configDefaults/generic/php_cs_finder.php +++ b/configDefaults/generic/php_cs_finder.php @@ -3,6 +3,6 @@ declare(strict_types=1); return PhpCsFixer\Finder::create() - ->in($projectRoot) - ->exclude('var'); - + ->in($projectRoot) + ->exclude('var') +; diff --git a/configDefaults/magento2/phpstan-magento2-bootstrap.php b/configDefaults/magento2/phpstan-magento2-bootstrap.php index 0877fd1..6aeb5e6 100644 --- a/configDefaults/magento2/phpstan-magento2-bootstrap.php +++ b/configDefaults/magento2/phpstan-magento2-bootstrap.php @@ -1,5 +1,7 @@ Date: Mon, 15 Feb 2021 11:39:08 +0000 Subject: [PATCH 22/31] php8 migrations, no superflous docblocks --- configDefaults/generic/php_cs.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/configDefaults/generic/php_cs.php b/configDefaults/generic/php_cs.php index b1db3e0..0793da7 100644 --- a/configDefaults/generic/php_cs.php +++ b/configDefaults/generic/php_cs.php @@ -1,14 +1,12 @@ true, '@Symfony' => true, '@DoctrineAnnotation' => true, + '@PHP80Migration' => true, 'align_multiline_comment' => true, 'array_indentation' => true, 'array_syntax' => ['syntax' => 'short'], @@ -45,10 +44,10 @@ 'method_protected', 'method_private', ], - // fights with PSR-12 in phpcs/phpcbf + # fights with PSR-12 in phpcs/phpcbf 'ordered_imports' => [ 'sort_algorithm' => 'alpha', - // this is the PSR12 order, do not change + # this is the PSR12 order, do not change 'imports_order' => [ 'class', 'function', @@ -85,10 +84,12 @@ 'single_line_throw' => false, 'global_namespace_import' => true, 'phpdoc_to_return_type' => false, + 'no_superfluous_phpdoc_tags' => true, ]; + $projectRoot = ( - static function () { +function () { $reflection = new ReflectionClass(ClassLoader::class); return dirname($reflection->getFileName(), 3); @@ -96,7 +97,7 @@ static function () { )(); $finderPath = __DIR__ . '/php_cs_finder.php'; -$overridePath = "{$projectRoot}/qaConfig/php_cs_finder.php"; +$overridePath = "$projectRoot/qaConfig/php_cs_finder.php"; if (file_exists($overridePath)) { $finderPath = $overridePath; } @@ -104,6 +105,5 @@ static function () { $finder = require $finderPath; return PhpCsFixer\Config::create() - ->setRules($rules) - ->setFinder($finder) -; + ->setRules($rules) + ->setFinder($finder); From 63e10b196b80d38132677b8b83a19d71f82dc010 Mon Sep 17 00:00:00 2001 From: edmondscommerce Date: Mon, 15 Feb 2021 11:39:54 +0000 Subject: [PATCH 23/31] Commit from GitHub Actions (PHP QA) --- configDefaults/generic/php_cs.php | 18 ++++---- src/Markdown/LinksChecker.php | 2 +- src/PHPUnit/CheckAnnotations.php | 8 ++-- tests/Small/PHPUnit/CheckAnnotationsTest.php | 46 ++++++++++---------- 4 files changed, 38 insertions(+), 36 deletions(-) diff --git a/configDefaults/generic/php_cs.php b/configDefaults/generic/php_cs.php index 0793da7..e34a071 100644 --- a/configDefaults/generic/php_cs.php +++ b/configDefaults/generic/php_cs.php @@ -1,6 +1,8 @@ [ 'sort_algorithm' => 'alpha', - # this is the PSR12 order, do not change + // this is the PSR12 order, do not change 'imports_order' => [ 'class', 'function', @@ -87,9 +89,8 @@ 'no_superfluous_phpdoc_tags' => true, ]; - $projectRoot = ( -function () { + static function () { $reflection = new ReflectionClass(ClassLoader::class); return dirname($reflection->getFileName(), 3); @@ -97,7 +98,7 @@ function () { )(); $finderPath = __DIR__ . '/php_cs_finder.php'; -$overridePath = "$projectRoot/qaConfig/php_cs_finder.php"; +$overridePath = "{$projectRoot}/qaConfig/php_cs_finder.php"; if (file_exists($overridePath)) { $finderPath = $overridePath; } @@ -105,5 +106,6 @@ function () { $finder = require $finderPath; return PhpCsFixer\Config::create() - ->setRules($rules) - ->setFinder($finder); + ->setRules($rules) + ->setFinder($finder) +; diff --git a/src/Markdown/LinksChecker.php b/src/Markdown/LinksChecker.php index 44116cc..7677bb0 100644 --- a/src/Markdown/LinksChecker.php +++ b/src/Markdown/LinksChecker.php @@ -183,7 +183,7 @@ private static function checkLink( private static function validateHttpLink(array $link, array &$errors, int &$return): void { static $checked = []; - list(, $anchor, $href) = $link; + [, $anchor, $href] = $link; $hashPos = (int)strpos($href, '#'); if ($hashPos > 0) { $href = substr($href, 0, $hashPos); diff --git a/src/PHPUnit/CheckAnnotations.php b/src/PHPUnit/CheckAnnotations.php index 087b87c..9f31241 100644 --- a/src/PHPUnit/CheckAnnotations.php +++ b/src/PHPUnit/CheckAnnotations.php @@ -101,8 +101,8 @@ private function checkFile(SplFileInfo $fileInfo, string $annotation): void $matches = []; preg_match_all( <</\\*(?:[^*]|\n|(?:\\*(?:[^/]|\n)))*\\*/|\n)\\s+?public\\s+?function\\s+?(?.+?)\\(% -REGEXP + %(?/\\*(?:[^*]|\n|(?:\\*(?:[^/]|\n)))*\\*/|\n)\\s+?public\\s+?function\\s+?(?.+?)\\(% + REGEXP . 'si', $contents, $matches @@ -137,8 +137,8 @@ private function isAnnotationInClassDocBlock(string $fileContent, string $annota $matches = []; preg_match_all( <</\\*(?:[^*]|\n|(?:\\*(?:[^/]|\n)))*\\*/)\\s+?(final |)class\\s+?(?.+?)\\s+?extends% -REGEXP + %(?/\\*(?:[^*]|\n|(?:\\*(?:[^/]|\n)))*\\*/)\\s+?(final |)class\\s+?(?.+?)\\s+?extends% + REGEXP . 'si', $fileContent, $matches diff --git a/tests/Small/PHPUnit/CheckAnnotationsTest.php b/tests/Small/PHPUnit/CheckAnnotationsTest.php index ba42942..cea00d9 100644 --- a/tests/Small/PHPUnit/CheckAnnotationsTest.php +++ b/tests/Small/PHPUnit/CheckAnnotationsTest.php @@ -138,28 +138,28 @@ private function getSmallTestWithNoAnnotation(): string $class = 'final class SomethingTest extends TestCase'; return << Date: Mon, 15 Feb 2021 18:44:08 +0000 Subject: [PATCH 24/31] updated phpunit xml for v9 --- configDefaults/generic/phpunit.xml | 59 +++++++++--------------------- 1 file changed, 18 insertions(+), 41 deletions(-) diff --git a/configDefaults/generic/phpunit.xml b/configDefaults/generic/phpunit.xml index 12bfaef..baa05e0 100644 --- a/configDefaults/generic/phpunit.xml +++ b/configDefaults/generic/phpunit.xml @@ -1,46 +1,23 @@ - - + + + + + ../../../../../src + + + + + + + + - - - - - + - - - ../../../../../src - - ../../../../../tests/ From 3f3b3966596d09786b0c56a11209b9943195bac1 Mon Sep 17 00:00:00 2001 From: joseph Date: Mon, 15 Feb 2021 18:45:43 +0000 Subject: [PATCH 25/31] updated phpunit xml for v9 --- configDefaults/generic/phpunit.xml | 59 +++++++++--------------------- 1 file changed, 18 insertions(+), 41 deletions(-) diff --git a/configDefaults/generic/phpunit.xml b/configDefaults/generic/phpunit.xml index 12bfaef..baa05e0 100644 --- a/configDefaults/generic/phpunit.xml +++ b/configDefaults/generic/phpunit.xml @@ -1,46 +1,23 @@ - - + + + + + ../../../../../src + + + + + + + + - - - - - + - - - ../../../../../src - - ../../../../../tests/ From 1d5c1da7b2581d8da1e57acfb0c90efcef371d75 Mon Sep 17 00:00:00 2001 From: edmondscommerce Date: Mon, 15 Feb 2021 18:46:33 +0000 Subject: [PATCH 26/31] Commit from GitHub Actions (PHP QA) --- configDefaults/generic/php_cs.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configDefaults/generic/php_cs.php b/configDefaults/generic/php_cs.php index e34a071..c29b2c5 100644 --- a/configDefaults/generic/php_cs.php +++ b/configDefaults/generic/php_cs.php @@ -91,10 +91,10 @@ $projectRoot = ( static function () { - $reflection = new ReflectionClass(ClassLoader::class); + $reflection = new ReflectionClass(ClassLoader::class); - return dirname($reflection->getFileName(), 3); -} + return dirname($reflection->getFileName(), 3); + } )(); $finderPath = __DIR__ . '/php_cs_finder.php'; From ac3eb7dc2679798c90757c5d7512ab1e32a47a77 Mon Sep 17 00:00:00 2001 From: joseph Date: Mon, 15 Feb 2021 18:49:28 +0000 Subject: [PATCH 27/31] set -x for phpunit --- includes/generic/phpunit.inc.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/generic/phpunit.inc.bash b/includes/generic/phpunit.inc.bash index 8989d41..30613a9 100644 --- a/includes/generic/phpunit.inc.bash +++ b/includes/generic/phpunit.inc.bash @@ -47,7 +47,9 @@ do # Default mode - do generate coverage if configured to do so, do enforce time limits extraConfigs+=( --enforce-time-limit ) fi + set +e + set -x phpUnitQuickTests="$phpUnitQuickTests" $phpCmd -f $phpunitPath \ -- \ @@ -60,8 +62,10 @@ do --log-junit "$phpunitLogFilePath" phpunitExitCode=$? + set +x set -e + if [[ "" != "$(grep '' $phpunitLogFilePath)" || ! -f $phpunitLogFilePath ]] then echo " From d382029af95a3de7e545d85b5aeed6d62df7a043 Mon Sep 17 00:00:00 2001 From: Joseph Edmonds Date: Tue, 23 Feb 2021 06:31:44 +0000 Subject: [PATCH 28/31] adding native function invocation to cs fixer, debug output in phpunit.inc.bash --- configDefaults/generic/php_cs.php | 9 +++++---- includes/generic/phpunit.inc.bash | 4 ++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/configDefaults/generic/php_cs.php b/configDefaults/generic/php_cs.php index e34a071..0248c19 100644 --- a/configDefaults/generic/php_cs.php +++ b/configDefaults/generic/php_cs.php @@ -1,6 +1,7 @@ false, ], 'fully_qualified_strict_types' => true, + 'native_function_invocation' => true, 'method_argument_space' => [ 'ensure_fully_multiline' => true, 'keep_multiple_spaces_after_comma' => true, @@ -90,7 +92,7 @@ ]; $projectRoot = ( - static function () { +static function () { $reflection = new ReflectionClass(ClassLoader::class); return dirname($reflection->getFileName(), 3); @@ -106,6 +108,5 @@ static function () { $finder = require $finderPath; return PhpCsFixer\Config::create() - ->setRules($rules) - ->setFinder($finder) -; + ->setRules($rules) + ->setFinder($finder); diff --git a/includes/generic/phpunit.inc.bash b/includes/generic/phpunit.inc.bash index 8989d41..30613a9 100644 --- a/includes/generic/phpunit.inc.bash +++ b/includes/generic/phpunit.inc.bash @@ -47,7 +47,9 @@ do # Default mode - do generate coverage if configured to do so, do enforce time limits extraConfigs+=( --enforce-time-limit ) fi + set +e + set -x phpUnitQuickTests="$phpUnitQuickTests" $phpCmd -f $phpunitPath \ -- \ @@ -60,8 +62,10 @@ do --log-junit "$phpunitLogFilePath" phpunitExitCode=$? + set +x set -e + if [[ "" != "$(grep '' $phpunitLogFilePath)" || ! -f $phpunitLogFilePath ]] then echo " From 57d1c261e5b5d926994b19d7fb74f9e053422be1 Mon Sep 17 00:00:00 2001 From: edmondscommerce Date: Tue, 23 Feb 2021 06:35:53 +0000 Subject: [PATCH 29/31] Commit from GitHub Actions (PHP QA) --- configDefaults/generic/php_cs.php | 9 +-- .../magento2/phpstan-magento2-bootstrap.php | 8 +-- src/Markdown/LinksChecker.php | 65 ++++++++----------- src/PHPUnit/CheckAnnotations.php | 22 +++---- src/Psr4Validator.php | 6 +- tests/Large/Markdown/LinksCheckerTest.php | 4 +- tests/Small/PHPUnit/CheckAnnotationsTest.php | 5 +- 7 files changed, 53 insertions(+), 66 deletions(-) diff --git a/configDefaults/generic/php_cs.php b/configDefaults/generic/php_cs.php index d84b28d..565aa67 100644 --- a/configDefaults/generic/php_cs.php +++ b/configDefaults/generic/php_cs.php @@ -94,18 +94,19 @@ static function () { $reflection = new ReflectionClass(ClassLoader::class); - return dirname($reflection->getFileName(), 3); + return \dirname($reflection->getFileName(), 3); } )(); $finderPath = __DIR__ . '/php_cs_finder.php'; $overridePath = "{$projectRoot}/qaConfig/php_cs_finder.php"; -if (file_exists($overridePath)) { +if (\file_exists($overridePath)) { $finderPath = $overridePath; } $finder = require $finderPath; return PhpCsFixer\Config::create() - ->setRules($rules) - ->setFinder($finder); + ->setRules($rules) + ->setFinder($finder) +; diff --git a/configDefaults/magento2/phpstan-magento2-bootstrap.php b/configDefaults/magento2/phpstan-magento2-bootstrap.php index 6aeb5e6..e45690b 100644 --- a/configDefaults/magento2/phpstan-magento2-bootstrap.php +++ b/configDefaults/magento2/phpstan-magento2-bootstrap.php @@ -3,9 +3,9 @@ declare(strict_types=1); /* Find bootstrap path */ -$rootPath = realpath(dirname(__FILE__)); -while (!file_exists($rootPath . '/app/bootstrap.php') && $rootPath !== '/') { - $rootPath = realpath(dirname($rootPath)); +$rootPath = \realpath(\dirname(__FILE__)); +while (!\file_exists($rootPath . '/app/bootstrap.php') && $rootPath !== '/') { + $rootPath = \realpath(\dirname($rootPath)); } /* Include Magento bootstrap file */ @@ -34,4 +34,4 @@ function phpstan_magento2_autoloader($class) return $_git_hook_loaded_class[$class]; } -spl_autoload_register('phpstan_magento2_autoloader'); +\spl_autoload_register('phpstan_magento2_autoloader'); diff --git a/src/Markdown/LinksChecker.php b/src/Markdown/LinksChecker.php index 7677bb0..67df517 100644 --- a/src/Markdown/LinksChecker.php +++ b/src/Markdown/LinksChecker.php @@ -12,19 +12,6 @@ use RegexIterator; use RuntimeException; use Throwable; -use function current; -use function dirname; -use function explode; -use function preg_match; -use function preg_replace; -use function realpath; -use function rtrim; -use function sprintf; -use function str_repeat; -use function str_replace; -use function strlen; -use function strpos; -use function trim; final class LinksChecker { @@ -38,15 +25,15 @@ public static function main(string $projectRootDirectory = null): int $projectRootDirectory = $projectRootDirectory ?? Helper::getProjectRootDirectory(); $files = static::getFiles($projectRootDirectory); foreach ($files as $file) { - $relativeFile = str_replace($projectRootDirectory, '', $file); - $title = "\n{$relativeFile}\n" . str_repeat('-', strlen($relativeFile)) . "\n"; + $relativeFile = \str_replace($projectRootDirectory, '', $file); + $title = "\n{$relativeFile}\n" . \str_repeat('-', \strlen($relativeFile)) . "\n"; $errors = []; $links = static::getLinks($file); foreach ($links as $link) { static::checkLink($projectRootDirectory, $link, $file, $errors, $return); } if ($errors !== []) { - echo $title . implode('', $errors); + echo $title . \implode('', $errors); } } @@ -74,7 +61,7 @@ private static function getDocsFiles(string $projectRootDirectory): array { $files = []; $dir = $projectRootDirectory . '/docs'; - if (!is_dir($dir)) { + if (!\is_dir($dir)) { return $files; } $directory = new RecursiveDirectoryIterator($dir); @@ -99,7 +86,7 @@ private static function getDocsFiles(string $projectRootDirectory): array private static function getMainReadme(string $projectRootDirectory): string { $path = $projectRootDirectory . '/README.md'; - if (!is_file($path)) { + if (!\is_file($path)) { throw new RuntimeException( "\n\nYou have no README.md file in your project" . "\n\nAs the bear minimum you need to have this file to pass QA" @@ -117,17 +104,17 @@ private static function getMainReadme(string $projectRootDirectory): string private static function getLinks(string $file): array { $links = []; - $contents = (string)file_get_contents($file); + $contents = (string)\file_get_contents($file); $matches = null; if ( - preg_match_all( + \preg_match_all( '/\[(.+?)\].*?\((.+?)\)/', $contents, $matches, PREG_SET_ORDER ) !== false ) { - $links = array_merge($links, $matches); + $links = \array_merge($links, $matches); } return $links; @@ -146,31 +133,31 @@ private static function checkLink( array &$errors, int &$return ): void { - $path = trim($link[2]); - if (strpos($path, '#') === 0) { + $path = \trim($link[2]); + if (\strpos($path, '#') === 0) { return; } - if (preg_match('%^(http|//)%', $path) === 1) { + if (\preg_match('%^(http|//)%', $path) === 1) { self::validateHttpLink($link, $errors, $return); return; } - $path = current(explode('#', $path, 2)); - $start = rtrim($projectRootDirectory, '/'); - if ($path[0] !== '/' || strpos($path, './') === 0) { - $relativeSubdirs = preg_replace( + $path = \current(\explode('#', $path, 2)); + $start = \rtrim($projectRootDirectory, '/'); + if ($path[0] !== '/' || \strpos($path, './') === 0) { + $relativeSubdirs = \preg_replace( '%^' . $projectRootDirectory . '%', '', - dirname($file) + \dirname($file) ); if ($relativeSubdirs !== null) { - $start .= '/' . rtrim($relativeSubdirs, '/'); + $start .= '/' . \rtrim($relativeSubdirs, '/'); } } - $realpath = realpath($start . '/' . $path); + $realpath = \realpath($start . '/' . $path); if ($realpath === false) { - $errors[] = sprintf("\nBad link for \"%s\" to \"%s\"\n", $link[1], $link[2]); + $errors[] = \sprintf("\nBad link for \"%s\" to \"%s\"\n", $link[1], $link[2]); $return = 1; } } @@ -184,15 +171,15 @@ private static function validateHttpLink(array $link, array &$errors, int &$retu { static $checked = []; [, $anchor, $href] = $link; - $hashPos = (int)strpos($href, '#'); + $hashPos = (int)\strpos($href, '#'); if ($hashPos > 0) { - $href = substr($href, 0, $hashPos); + $href = \substr($href, 0, $hashPos); } if (isset($checked[$href])) { return; } $checked[$href] = true; - $context = stream_context_create( + $context = \stream_context_create( [ 'http' => [ 'method' => 'HEAD', @@ -205,12 +192,12 @@ private static function validateHttpLink(array $link, array &$errors, int &$retu ); $result = null; try { - $headers = get_headers($href, false, $context); + $headers = \get_headers($href, false, $context); if ($headers === false) { throw new RuntimeException('Failed getting headers for href ' . $href); } foreach ($headers as $header) { - if (strpos($header, ' 200 ') !== false) { + if (\strpos($header, ' 200 ') !== false) { //$time = round(microtime(true) - $start, 2); //fwrite(STDERR, "\n".'OK ('.$time.' seconds): '.$href); @@ -221,11 +208,11 @@ private static function validateHttpLink(array $link, array &$errors, int &$retu throw new RuntimeException('Unexpected error ' . $e->getMessage(), $e->getCode(), $e); } - $errors[] = sprintf( + $errors[] = \sprintf( "\nBad link for \"%s\" to \"%s\"\nresult: %s\n", $anchor, $href, - var_export($result, true) + \var_export($result, true) ); $return = 1; //$time = round(microtime(true) - $start, 2); diff --git a/src/PHPUnit/CheckAnnotations.php b/src/PHPUnit/CheckAnnotations.php index 9f31241..23437d6 100644 --- a/src/PHPUnit/CheckAnnotations.php +++ b/src/PHPUnit/CheckAnnotations.php @@ -46,7 +46,7 @@ final class CheckAnnotations */ public function main(string $pathToTestsDirectory): array { - if (!is_dir($pathToTestsDirectory)) { + if (!\is_dir($pathToTestsDirectory)) { throw new InvalidArgumentException( '$pathToTestsDirectory "' . $pathToTestsDirectory . '" does not exist"' ); @@ -63,7 +63,7 @@ public function main(string $pathToTestsDirectory): array private function checkLarge(): void { - if (!is_dir($this->largePath)) { + if (!\is_dir($this->largePath)) { return; } $this->checkDirectory($this->largePath, 'large'); @@ -72,7 +72,7 @@ private function checkLarge(): void private function checkDirectory(string $path, string $annotation): void { foreach ($this->yieldTestFilesInPath($path) as $fileInfo) { - if (strpos($fileInfo->getFilename(), 'Test.php') === false) { + if (\strpos($fileInfo->getFilename(), 'Test.php') === false) { continue; } $this->checkFile($fileInfo, $annotation); @@ -93,13 +93,13 @@ private function yieldTestFilesInPath(string $path): Generator private function checkFile(SplFileInfo $fileInfo, string $annotation): void { - $contents = (string)file_get_contents($fileInfo->getPathname()); + $contents = (string)\file_get_contents($fileInfo->getPathname()); if ($this->isAnnotationInClassDocBlock($contents, $annotation) === true) { return; } $matches = []; - preg_match_all( + \preg_match_all( <</\\*(?:[^*]|\n|(?:\\*(?:[^/]|\n)))*\\*/|\n)\\s+?public\\s+?function\\s+?(?.+?)\\(% REGEXP @@ -135,7 +135,7 @@ private function checkFile(SplFileInfo $fileInfo, string $annotation): void private function isAnnotationInClassDocBlock(string $fileContent, string $annotation): bool { $matches = []; - preg_match_all( + \preg_match_all( <</\\*(?:[^*]|\n|(?:\\*(?:[^/]|\n)))*\\*/)\\s+?(final |)class\\s+?(?.+?)\\s+?extends% REGEXP @@ -143,17 +143,17 @@ private function isAnnotationInClassDocBlock(string $fileContent, string $annota $fileContent, $matches ); - if (count($matches['docblock']) !== 1) { + if (\count($matches['docblock']) !== 1) { return false; } - $docBlock = array_shift($matches['docblock']); + $docBlock = \array_shift($matches['docblock']); - return strpos($docBlock, '@' . $annotation) !== false; + return \strpos($docBlock, '@' . $annotation) !== false; } private function checkMedium(): void { - if (!is_dir($this->mediumPath)) { + if (!\is_dir($this->mediumPath)) { return; } $this->checkDirectory($this->mediumPath, 'medium'); @@ -161,7 +161,7 @@ private function checkMedium(): void private function checkSmall(): void { - if (!is_dir($this->smallPath)) { + if (!\is_dir($this->smallPath)) { return; } $this->checkDirectory($this->smallPath, 'small'); diff --git a/src/Psr4Validator.php b/src/Psr4Validator.php index 8b13905..ccb0ccb 100644 --- a/src/Psr4Validator.php +++ b/src/Psr4Validator.php @@ -148,7 +148,7 @@ private function yieldPhpFilesToCheck(): Generator private function addMissingPathError(string $path, string $namespaceRoot, string $absPathRoot): void { $invalidPathMessage = "Namespace root '{$namespaceRoot}'\ncontains a path '{$path}'\nwhich doesn't exist\n"; - if (stripos($absPathRoot, 'Magento') !== false) { + if (\stripos($absPathRoot, 'Magento') !== false) { $invalidPathMessage .= 'Magento\'s composer includes this by default, ' . 'it should be removed from the psr-4 section'; } @@ -189,7 +189,7 @@ public function __construct(RecursiveIteratorIterator $iterator) */ protected function compare($item1, $item2): int { - return strcmp((string)$item2->getRealPath(), (string)$item1->getRealPath()); + return \strcmp((string)$item2->getRealPath(), (string)$item1->getRealPath()); } }; } @@ -241,6 +241,6 @@ private function expectedFileNamespace(string $absPathRoot, string $namespaceRoo ); } - return rtrim($namespaceRoot . $relativeNs, '\\'); + return \rtrim($namespaceRoot . $relativeNs, '\\'); } } diff --git a/tests/Large/Markdown/LinksCheckerTest.php b/tests/Large/Markdown/LinksCheckerTest.php index 1d4cb61..484d392 100644 --- a/tests/Large/Markdown/LinksCheckerTest.php +++ b/tests/Large/Markdown/LinksCheckerTest.php @@ -93,9 +93,9 @@ public function testItHandlesNonFileLinks(): void */ protected function assertResult(string $pathToProject, int $expectedExitCode, string $expectedOutput): void { - ob_start(); + \ob_start(); $actualExitCode = LinksChecker::main($pathToProject); - $actualOutput = ob_get_clean(); + $actualOutput = \ob_get_clean(); echo $actualOutput; self::assertSame($expectedOutput, $actualOutput); self::assertSame($expectedExitCode, $actualExitCode); diff --git a/tests/Small/PHPUnit/CheckAnnotationsTest.php b/tests/Small/PHPUnit/CheckAnnotationsTest.php index cea00d9..abafffb 100644 --- a/tests/Small/PHPUnit/CheckAnnotationsTest.php +++ b/tests/Small/PHPUnit/CheckAnnotationsTest.php @@ -7,7 +7,6 @@ use EdmondsCommerce\PHPQA\PHPUnit\CheckAnnotations; use InvalidArgumentException; use PHPUnit\Framework\TestCase; -use function file_put_contents; /** * Class CheckForLargeAndMediumAnnotationsTest. @@ -65,7 +64,7 @@ public function itFindsMissingSmallAnnotations(): void /* CS Fixer will add the tag automatically if the file is run through QA */ $testFile = $this->getSmallTestWithNoAnnotation(); $smallTestName = $pathToTestsDirectory . '/Small/SomethingTest.php'; - file_put_contents($smallTestName, $testFile); + \file_put_contents($smallTestName, $testFile); $expected = [ 'SomethingTest.php' => [ @@ -74,7 +73,7 @@ public function itFindsMissingSmallAnnotations(): void ]; $actual = $this->checker->main($pathToTestsDirectory); /* Clean up the file once we are finished with it */ - unlink($smallTestName); + \unlink($smallTestName); self::assertSame($expected, $actual); } From 1d664ef9f309263f74a60821670346e47c4d4017 Mon Sep 17 00:00:00 2001 From: joseph Date: Fri, 5 Mar 2021 10:01:40 +0000 Subject: [PATCH 30/31] allow project overrides to be file or folder - specifically fixes issue with overriding coding standards --- includes/functions.inc.bash | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/functions.inc.bash b/includes/functions.inc.bash index cf2c44b..dd266c2 100644 --- a/includes/functions.inc.bash +++ b/includes/functions.inc.bash @@ -85,9 +85,10 @@ function configPath() { local relativePath="$1" local platformPath="$defaultConfigPath/$platform/$relativePath" local genericPath="$defaultConfigPath/generic/$relativePath" - if [[ -f $projectConfigPath/$relativePath ]]; then + # -e FILE - True if the FILE exists and is a file, regardless of type + if [[ -e $projectConfigPath/$relativePath ]]; then echo $projectConfigPath/$relativePath - elif [[ -f $platformPath ]]; then + elif [[ -e $platformPath ]]; then echo $platformPath else echo $genericPath From b5feeb8642ab7e37673a84b3453baa7ba8a655ba Mon Sep 17 00:00:00 2001 From: joseph Date: Tue, 23 Mar 2021 11:23:36 +0000 Subject: [PATCH 31/31] tweaking infection, comment for xdebug mode --- bin/qa | 1 + includes/generic/infection.inc.bash | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/qa b/bin/qa index 71eaa19..f293cd2 100755 --- a/bin/qa +++ b/bin/qa @@ -75,6 +75,7 @@ then echo "Xdebug is not enabled - infection and coverage not available" else xdebugEnabled=1 + # @see https://xdebug.org/docs/all_settings#mode export XDEBUG_MODE=coverage echo "Xdebug is enabled in coverage mode" fi diff --git a/includes/generic/infection.inc.bash b/includes/generic/infection.inc.bash index 659df4b..f7836fb 100644 --- a/includes/generic/infection.inc.bash +++ b/includes/generic/infection.inc.bash @@ -15,14 +15,16 @@ function runInfection(){ --threads=${infectionThreads} \ --configuration=${infectionConfig} \ --min-msi=${infectionMutationScoreIndicator} \ - --min-covered-msi=${infectionCoveredCodeMSI} + --min-covered-msi=${infectionCoveredCodeMSI} \ + --log-verbosity=all else ${phpBinPath} -f ./bin/infection \ "${extraArgs[@]}" \ --threads=${infectionThreads} \ --configuration=${infectionConfig} \ --min-msi=${infectionMutationScoreIndicator} \ - --min-covered-msi=${infectionCoveredCodeMSI} + --min-covered-msi=${infectionCoveredCodeMSI} \ + --log-verbosity=all fi }