diff --git a/dev-ops/analyze/vendor-bin/cs-fixer/composer.json b/dev-ops/analyze/vendor-bin/cs-fixer/composer.json index fa800b16..5e041585 100644 --- a/dev-ops/analyze/vendor-bin/cs-fixer/composer.json +++ b/dev-ops/analyze/vendor-bin/cs-fixer/composer.json @@ -2,6 +2,6 @@ "require-dev": { "friendsofphp/php-cs-fixer": "^2.16.1", "kubawerlos/php-cs-fixer-custom-fixers": "^1.17.0", - "symplify/easy-coding-standard": "^7.2.1" + "symplify/easy-coding-standard": "^7.2.2" } } diff --git a/dev-ops/analyze/vendor-bin/cs-fixer/composer.lock b/dev-ops/analyze/vendor-bin/cs-fixer/composer.lock index 32e8adb1..1b114490 100644 --- a/dev-ops/analyze/vendor-bin/cs-fixer/composer.lock +++ b/dev-ops/analyze/vendor-bin/cs-fixer/composer.lock @@ -4,29 +4,28 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "df8f062cb20f6446dcb487e2fd664e37", + "content-hash": "8c7cc4a55942262164c5fe3595e16329", "packages": [], "packages-dev": [ { "name": "composer/semver", - "version": "1.5.0", + "version": "1.5.1", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "46d9139568ccb8d9e7cdd4539cab7347568a5e2e" + "reference": "c6bea70230ef4dd483e6bbcab6005f682ed3a8de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/46d9139568ccb8d9e7cdd4539cab7347568a5e2e", - "reference": "46d9139568ccb8d9e7cdd4539cab7347568a5e2e", + "url": "https://api.github.com/repos/composer/semver/zipball/c6bea70230ef4dd483e6bbcab6005f682ed3a8de", + "reference": "c6bea70230ef4dd483e6bbcab6005f682ed3a8de", "shasum": "" }, "require": { "php": "^5.3.2 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "^4.5 || ^5.0.5", - "phpunit/phpunit-mock-objects": "2.3.0 || ^3.0" + "phpunit/phpunit": "^4.5 || ^5.0.5" }, "type": "library", "extra": { @@ -67,7 +66,7 @@ "validation", "versioning" ], - "time": "2019-03-19T17:25:45+00:00" + "time": "2020-01-13T12:06:48+00:00" }, { "name": "composer/xdebug-handler", @@ -424,16 +423,16 @@ }, { "name": "nette/application", - "version": "v3.0.3", + "version": "v3.0.4", "source": { "type": "git", "url": "https://github.com/nette/application.git", - "reference": "aa975f06c6f303512de6399b7320d48750b96832" + "reference": "da24ae52e65fe52fa6d26f2181a56ec48958ccb0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/application/zipball/aa975f06c6f303512de6399b7320d48750b96832", - "reference": "aa975f06c6f303512de6399b7320d48750b96832", + "url": "https://api.github.com/repos/nette/application/zipball/da24ae52e65fe52fa6d26f2181a56ec48958ccb0", + "reference": "da24ae52e65fe52fa6d26f2181a56ec48958ccb0", "shasum": "" }, "require": { @@ -444,19 +443,19 @@ "php": ">=7.1" }, "conflict": { - "latte/latte": "<2.4", + "latte/latte": "<2.6", "nette/di": "<3.0-stable", "nette/forms": "<3.0", "tracy/tracy": "<2.5" }, "require-dev": { - "latte/latte": "^2.5.1", + "latte/latte": "^2.6", "mockery/mockery": "^1.0", "nette/di": "^v3.0", "nette/forms": "^3.0", "nette/robot-loader": "^3.2", "nette/security": "^3.0", - "nette/tester": "^2.0.1", + "nette/tester": "^2.3.1", "phpstan/phpstan-nette": "^0.12", "tracy/tracy": "^2.6" }, @@ -473,16 +472,13 @@ "autoload": { "classmap": [ "src/" - ], - "files": [ - "src/compatibility.php" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause", - "GPL-2.0", - "GPL-3.0" + "GPL-2.0-only", + "GPL-3.0-only" ], "authors": [ { @@ -508,7 +504,7 @@ "routing", "seo" ], - "time": "2020-01-05T22:31:46+00:00" + "time": "2020-01-22T21:39:02+00:00" }, { "name": "nette/component-model", @@ -1291,16 +1287,16 @@ }, { "name": "slevomat/coding-standard", - "version": "6.0.7", + "version": "6.1.1", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "2731353bf098f8a7b3552efa14c8d0614076859e" + "reference": "0a7934d7ecdfe402079027513daa3b7e881f315d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/2731353bf098f8a7b3552efa14c8d0614076859e", - "reference": "2731353bf098f8a7b3552efa14c8d0614076859e", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/0a7934d7ecdfe402079027513daa3b7e881f315d", + "reference": "0a7934d7ecdfe402079027513daa3b7e881f315d", "shasum": "" }, "require": { @@ -1312,8 +1308,8 @@ "dealerdirect/phpcodesniffer-composer-installer": "0.5.0", "jakub-onderka/php-parallel-lint": "1.0.0", "phing/phing": "2.16.2", - "phpstan/phpstan": "0.11.19|0.12.4", - "phpstan/phpstan-phpunit": "0.11.2|0.12.5", + "phpstan/phpstan": "0.11.19|0.12.5", + "phpstan/phpstan-phpunit": "0.11.2|0.12.6", "phpstan/phpstan-strict-rules": "0.11.1|0.12.1", "phpunit/phpunit": "7.5.18|8.5.2" }, @@ -1328,7 +1324,7 @@ "MIT" ], "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", - "time": "2020-01-12T20:32:20+00:00" + "time": "2020-01-23T15:37:30+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -1383,16 +1379,16 @@ }, { "name": "symfony/cache", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "6e8d978878ae5de705ec9fabbb6011cc18776bc9" + "reference": "b503e72c8e2fa55eed9e2d3dd6a166f3eaaabb9a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/6e8d978878ae5de705ec9fabbb6011cc18776bc9", - "reference": "6e8d978878ae5de705ec9fabbb6011cc18776bc9", + "url": "https://api.github.com/repos/symfony/cache/zipball/b503e72c8e2fa55eed9e2d3dd6a166f3eaaabb9a", + "reference": "b503e72c8e2fa55eed9e2d3dd6a166f3eaaabb9a", "shasum": "" }, "require": { @@ -1458,7 +1454,7 @@ "caching", "psr6" ], - "time": "2019-12-12T13:03:32+00:00" + "time": "2020-01-10T21:57:37+00:00" }, { "name": "symfony/cache-contracts", @@ -1520,16 +1516,16 @@ }, { "name": "symfony/config", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "7f930484966350906185ba0a604728f7898b7ba0" + "reference": "7640c6704f56bf64045066bc5d93fd9d664baa63" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/7f930484966350906185ba0a604728f7898b7ba0", - "reference": "7f930484966350906185ba0a604728f7898b7ba0", + "url": "https://api.github.com/repos/symfony/config/zipball/7640c6704f56bf64045066bc5d93fd9d664baa63", + "reference": "7640c6704f56bf64045066bc5d93fd9d664baa63", "shasum": "" }, "require": { @@ -1580,20 +1576,20 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2019-12-18T13:50:31+00:00" + "time": "2020-01-04T14:08:26+00:00" }, { "name": "symfony/console", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "fe6e3cd889ca64172d7a742a2eb058541404ef47" + "reference": "345ab6ecb456b5147ea3b3271d7f1f00aadfd257" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/fe6e3cd889ca64172d7a742a2eb058541404ef47", - "reference": "fe6e3cd889ca64172d7a742a2eb058541404ef47", + "url": "https://api.github.com/repos/symfony/console/zipball/345ab6ecb456b5147ea3b3271d7f1f00aadfd257", + "reference": "345ab6ecb456b5147ea3b3271d7f1f00aadfd257", "shasum": "" }, "require": { @@ -1656,20 +1652,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2019-12-17T13:20:22+00:00" + "time": "2020-01-19T11:13:19+00:00" }, { "name": "symfony/dependency-injection", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "f9dbfbf487d08f60b1c83220edcd16559d1e40a2" + "reference": "5a56807650c7258bbcc4a15a020904958c70247e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/f9dbfbf487d08f60b1c83220edcd16559d1e40a2", - "reference": "f9dbfbf487d08f60b1c83220edcd16559d1e40a2", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/5a56807650c7258bbcc4a15a020904958c70247e", + "reference": "5a56807650c7258bbcc4a15a020904958c70247e", "shasum": "" }, "require": { @@ -1729,20 +1725,20 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", - "time": "2019-12-19T16:01:11+00:00" + "time": "2020-01-21T08:40:24+00:00" }, { "name": "symfony/error-handler", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "460863313bd3212d7c38e1b40602cbcfeeeea4a5" + "reference": "95f64c1d7dfb86a722dc9d278d0edf5176eff16e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/460863313bd3212d7c38e1b40602cbcfeeeea4a5", - "reference": "460863313bd3212d7c38e1b40602cbcfeeeea4a5", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/95f64c1d7dfb86a722dc9d278d0edf5176eff16e", + "reference": "95f64c1d7dfb86a722dc9d278d0edf5176eff16e", "shasum": "" }, "require": { @@ -1784,20 +1780,20 @@ ], "description": "Symfony ErrorHandler Component", "homepage": "https://symfony.com", - "time": "2019-12-16T14:48:47+00:00" + "time": "2020-01-08T17:33:29+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "7b738a51645e10f864cc25c24d232fb03f37b475" + "reference": "4a7a8cdca1120c091b4797f0e5bba69c1e783224" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/7b738a51645e10f864cc25c24d232fb03f37b475", - "reference": "7b738a51645e10f864cc25c24d232fb03f37b475", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/4a7a8cdca1120c091b4797f0e5bba69c1e783224", + "reference": "4a7a8cdca1120c091b4797f0e5bba69c1e783224", "shasum": "" }, "require": { @@ -1854,7 +1850,7 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2019-11-18T17:27:11+00:00" + "time": "2020-01-10T21:57:37+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -1916,16 +1912,16 @@ }, { "name": "symfony/filesystem", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "1d71f670bc5a07b9ccc97dc44f932177a322d4e6" + "reference": "3afadc0f57cd74f86379d073e694b0f2cda2a88c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/1d71f670bc5a07b9ccc97dc44f932177a322d4e6", - "reference": "1d71f670bc5a07b9ccc97dc44f932177a322d4e6", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/3afadc0f57cd74f86379d073e694b0f2cda2a88c", + "reference": "3afadc0f57cd74f86379d073e694b0f2cda2a88c", "shasum": "" }, "require": { @@ -1962,20 +1958,20 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2019-11-26T23:25:11+00:00" + "time": "2020-01-21T08:40:24+00:00" }, { "name": "symfony/finder", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "17874dd8ab9a19422028ad56172fb294287a701b" + "reference": "4176e7cb846fe08f32518b7e0ed8462e2db8d9bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/17874dd8ab9a19422028ad56172fb294287a701b", - "reference": "17874dd8ab9a19422028ad56172fb294287a701b", + "url": "https://api.github.com/repos/symfony/finder/zipball/4176e7cb846fe08f32518b7e0ed8462e2db8d9bb", + "reference": "4176e7cb846fe08f32518b7e0ed8462e2db8d9bb", "shasum": "" }, "require": { @@ -2011,20 +2007,20 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2019-11-18T17:27:11+00:00" + "time": "2020-01-04T14:08:26+00:00" }, { "name": "symfony/http-foundation", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "5dd7f6be6e62d86ba6f3154cf40e78936367978b" + "reference": "5dc0db5026f2b611cb8910a1f465e95eafd84c2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/5dd7f6be6e62d86ba6f3154cf40e78936367978b", - "reference": "5dd7f6be6e62d86ba6f3154cf40e78936367978b", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/5dc0db5026f2b611cb8910a1f465e95eafd84c2e", + "reference": "5dc0db5026f2b611cb8910a1f465e95eafd84c2e", "shasum": "" }, "require": { @@ -2066,20 +2062,20 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "time": "2019-12-19T16:01:11+00:00" + "time": "2020-01-04T14:08:26+00:00" }, { "name": "symfony/http-kernel", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "00ce30602f3f690e66a63c327743d7b26c723b2e" + "reference": "9e31e5e11cbe038cbb853beb3e3bb6e4f2500259" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/00ce30602f3f690e66a63c327743d7b26c723b2e", - "reference": "00ce30602f3f690e66a63c327743d7b26c723b2e", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/9e31e5e11cbe038cbb853beb3e3bb6e4f2500259", + "reference": "9e31e5e11cbe038cbb853beb3e3bb6e4f2500259", "shasum": "" }, "require": { @@ -2162,20 +2158,20 @@ ], "description": "Symfony HttpKernel Component", "homepage": "https://symfony.com", - "time": "2019-12-19T18:35:03+00:00" + "time": "2020-01-21T13:29:58+00:00" }, { "name": "symfony/mime", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "0e6a4ced216e49d457eddcefb61132173a876d79" + "reference": "2a3c7fee1f1a0961fa9cf360d5da553d05095e59" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/0e6a4ced216e49d457eddcefb61132173a876d79", - "reference": "0e6a4ced216e49d457eddcefb61132173a876d79", + "url": "https://api.github.com/repos/symfony/mime/zipball/2a3c7fee1f1a0961fa9cf360d5da553d05095e59", + "reference": "2a3c7fee1f1a0961fa9cf360d5da553d05095e59", "shasum": "" }, "require": { @@ -2224,20 +2220,20 @@ "mime", "mime-type" ], - "time": "2019-11-30T14:12:50+00:00" + "time": "2020-01-04T14:08:26+00:00" }, { "name": "symfony/options-resolver", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "1ad3d0ffc00cc1990e5c9c7bb6b81578ec3f5f68" + "reference": "b1ab86ce52b0c0abe031367a173005a025e30e04" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/1ad3d0ffc00cc1990e5c9c7bb6b81578ec3f5f68", - "reference": "1ad3d0ffc00cc1990e5c9c7bb6b81578ec3f5f68", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/b1ab86ce52b0c0abe031367a173005a025e30e04", + "reference": "b1ab86ce52b0c0abe031367a173005a025e30e04", "shasum": "" }, "require": { @@ -2278,7 +2274,7 @@ "configuration", "options" ], - "time": "2019-11-18T17:27:11+00:00" + "time": "2020-01-04T14:08:26+00:00" }, { "name": "symfony/polyfill-ctype", @@ -2574,16 +2570,16 @@ }, { "name": "symfony/process", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "ea2dc31b59d63abd9bc2356ac72eb7b3f3469f0e" + "reference": "f9ffd870f5ac01abec7b2b5e15f904ca9400ecd1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/ea2dc31b59d63abd9bc2356ac72eb7b3f3469f0e", - "reference": "ea2dc31b59d63abd9bc2356ac72eb7b3f3469f0e", + "url": "https://api.github.com/repos/symfony/process/zipball/f9ffd870f5ac01abec7b2b5e15f904ca9400ecd1", + "reference": "f9ffd870f5ac01abec7b2b5e15f904ca9400ecd1", "shasum": "" }, "require": { @@ -2619,7 +2615,7 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2019-12-10T11:06:55+00:00" + "time": "2020-01-09T09:53:06+00:00" }, { "name": "symfony/service-contracts", @@ -2681,16 +2677,16 @@ }, { "name": "symfony/stopwatch", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "d410282956706e0b08681a5527447a8e6b6f421e" + "reference": "5d9add8034135b9a5f7b101d1e42c797e7f053e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/d410282956706e0b08681a5527447a8e6b6f421e", - "reference": "d410282956706e0b08681a5527447a8e6b6f421e", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/5d9add8034135b9a5f7b101d1e42c797e7f053e4", + "reference": "5d9add8034135b9a5f7b101d1e42c797e7f053e4", "shasum": "" }, "require": { @@ -2727,20 +2723,20 @@ ], "description": "Symfony Stopwatch Component", "homepage": "https://symfony.com", - "time": "2019-11-18T17:27:11+00:00" + "time": "2020-01-04T14:08:26+00:00" }, { "name": "symfony/var-dumper", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "d7bc61d5d335fa9b1b91e14bb16861e8ca50f53a" + "reference": "ccb1be566ae15f790020f917f06d1da0b04fe47b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/d7bc61d5d335fa9b1b91e14bb16861e8ca50f53a", - "reference": "d7bc61d5d335fa9b1b91e14bb16861e8ca50f53a", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/ccb1be566ae15f790020f917f06d1da0b04fe47b", + "reference": "ccb1be566ae15f790020f917f06d1da0b04fe47b", "shasum": "" }, "require": { @@ -2802,20 +2798,20 @@ "debug", "dump" ], - "time": "2019-12-18T13:50:31+00:00" + "time": "2020-01-04T14:08:26+00:00" }, { "name": "symfony/var-exporter", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "1b9653e68d5b701bf6d9c91bdd3660078c9f4f28" + "reference": "960f9ac0fdbd642461ed29d7717aeb2a94d428b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/1b9653e68d5b701bf6d9c91bdd3660078c9f4f28", - "reference": "1b9653e68d5b701bf6d9c91bdd3660078c9f4f28", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/960f9ac0fdbd642461ed29d7717aeb2a94d428b9", + "reference": "960f9ac0fdbd642461ed29d7717aeb2a94d428b9", "shasum": "" }, "require": { @@ -2862,20 +2858,20 @@ "instantiate", "serialize" ], - "time": "2019-12-01T08:48:26+00:00" + "time": "2020-01-04T14:08:26+00:00" }, { "name": "symfony/yaml", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "847661e77afa48d99ecfa508e8b60f0b029a19c0" + "reference": "69b44e3b8f90949aee2eb3aa9b86ceeb01cbf62a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/847661e77afa48d99ecfa508e8b60f0b029a19c0", - "reference": "847661e77afa48d99ecfa508e8b60f0b029a19c0", + "url": "https://api.github.com/repos/symfony/yaml/zipball/69b44e3b8f90949aee2eb3aa9b86ceeb01cbf62a", + "reference": "69b44e3b8f90949aee2eb3aa9b86ceeb01cbf62a", "shasum": "" }, "require": { @@ -2921,20 +2917,20 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2019-12-10T11:06:55+00:00" + "time": "2020-01-21T11:12:28+00:00" }, { "name": "symplify/auto-bind-parameter", - "version": "v7.2.1", + "version": "v7.2.2", "source": { "type": "git", "url": "https://github.com/Symplify/AutoBindParameter.git", - "reference": "d22daa199862e739bd4861b4d4a176b932b23565" + "reference": "d3108315ba89a6dcb79f3028564c5c03f6bfff59" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Symplify/AutoBindParameter/zipball/d22daa199862e739bd4861b4d4a176b932b23565", - "reference": "d22daa199862e739bd4861b4d4a176b932b23565", + "url": "https://api.github.com/repos/Symplify/AutoBindParameter/zipball/d3108315ba89a6dcb79f3028564c5c03f6bfff59", + "reference": "d3108315ba89a6dcb79f3028564c5c03f6bfff59", "shasum": "" }, "require": { @@ -2942,7 +2938,7 @@ "php": "^7.2", "symfony/dependency-injection": "^4.4|^5.0", "symfony/http-kernel": "^4.4|^5.0", - "symplify/package-builder": "^7.2.1" + "symplify/package-builder": "^7.2.2" }, "require-dev": { "phpunit/phpunit": "^8.5" @@ -2963,20 +2959,20 @@ "MIT" ], "description": "Auto bind parameters for your Symfony applications", - "time": "2020-01-11T10:55:38+00:00" + "time": "2020-01-20T12:20:56+00:00" }, { "name": "symplify/autowire-array-parameter", - "version": "v7.2.1", + "version": "v7.2.2", "source": { "type": "git", "url": "https://github.com/Symplify/AutowireArrayParameter.git", - "reference": "783e2fc6ede42fb07a6eba75510e26e1b1bcabe6" + "reference": "c4904d4640f8fa13d4494d2d4e817274ba855891" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Symplify/AutowireArrayParameter/zipball/783e2fc6ede42fb07a6eba75510e26e1b1bcabe6", - "reference": "783e2fc6ede42fb07a6eba75510e26e1b1bcabe6", + "url": "https://api.github.com/repos/Symplify/AutowireArrayParameter/zipball/c4904d4640f8fa13d4494d2d4e817274ba855891", + "reference": "c4904d4640f8fa13d4494d2d4e817274ba855891", "shasum": "" }, "require": { @@ -2984,7 +2980,7 @@ "nette/utils": "^3.0", "php": "^7.2", "symfony/dependency-injection": "^4.4|^5.0", - "symplify/package-builder": "^7.2.1" + "symplify/package-builder": "^7.2.2" }, "require-dev": { "phpunit/phpunit": "^8.5" @@ -3005,20 +3001,20 @@ "MIT" ], "description": "Autowire array parameters for your Symfony applications", - "time": "2020-01-11T10:55:38+00:00" + "time": "2020-01-20T12:20:56+00:00" }, { "name": "symplify/coding-standard", - "version": "v7.2.1", + "version": "v7.2.2", "source": { "type": "git", "url": "https://github.com/Symplify/CodingStandard.git", - "reference": "025f177be83b4dacbada0e2d50180fc5f93b4fea" + "reference": "569c9febee38e7202835596ef816cc83f5d50c0b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Symplify/CodingStandard/zipball/025f177be83b4dacbada0e2d50180fc5f93b4fea", - "reference": "025f177be83b4dacbada0e2d50180fc5f93b4fea", + "url": "https://api.github.com/repos/Symplify/CodingStandard/zipball/569c9febee38e7202835596ef816cc83f5d50c0b", + "reference": "569c9febee38e7202835596ef816cc83f5d50c0b", "shasum": "" }, "require": { @@ -3028,15 +3024,15 @@ "php": "^7.2", "phpstan/phpdoc-parser": "^0.4", "squizlabs/php_codesniffer": "^3.5", - "symplify/autowire-array-parameter": "^7.2.1", - "symplify/package-builder": "^7.2.1", - "symplify/smart-file-system": "^7.2.1" + "symplify/autowire-array-parameter": "^7.2.2", + "symplify/package-builder": "^7.2.2", + "symplify/smart-file-system": "^7.2.2" }, "require-dev": { "nette/application": "^3.0", "phpunit/phpunit": "^8.5", - "symplify/easy-coding-standard-tester": "^7.2.1", - "symplify/package-builder": "^7.2.1" + "symplify/easy-coding-standard-tester": "^7.2.2", + "symplify/package-builder": "^7.2.2" }, "type": "library", "extra": { @@ -3055,20 +3051,20 @@ "MIT" ], "description": "Set of Symplify rules for PHP_CodeSniffer and PHP CS Fixer.", - "time": "2020-01-11T10:55:38+00:00" + "time": "2020-01-20T12:20:56+00:00" }, { "name": "symplify/easy-coding-standard", - "version": "v7.2.1", + "version": "v7.2.2", "source": { "type": "git", "url": "https://github.com/Symplify/EasyCodingStandard.git", - "reference": "6614bcd0fdc01812e7fa532de93ff68e275ce8dc" + "reference": "f6d6fd79d832e03c100665aee6e38c8c00bdec80" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Symplify/EasyCodingStandard/zipball/6614bcd0fdc01812e7fa532de93ff68e275ce8dc", - "reference": "6614bcd0fdc01812e7fa532de93ff68e275ce8dc", + "url": "https://api.github.com/repos/Symplify/EasyCodingStandard/zipball/f6d6fd79d832e03c100665aee6e38c8c00bdec80", + "reference": "f6d6fd79d832e03c100665aee6e38c8c00bdec80", "shasum": "" }, "require": { @@ -3089,19 +3085,19 @@ "symfony/finder": "^4.4|^5.0", "symfony/http-kernel": "^4.4|^5.0", "symfony/yaml": "^4.4|^5.0", - "symplify/auto-bind-parameter": "^7.2.1", - "symplify/autowire-array-parameter": "^7.2.1", - "symplify/coding-standard": "^7.2.1", - "symplify/package-builder": "^7.2.1", - "symplify/set-config-resolver": "^7.2.1", - "symplify/smart-file-system": "^7.2.1" + "symplify/auto-bind-parameter": "^7.2.2", + "symplify/autowire-array-parameter": "^7.2.2", + "symplify/coding-standard": "^7.2.2", + "symplify/package-builder": "^7.2.2", + "symplify/set-config-resolver": "^7.2.2", + "symplify/smart-file-system": "^7.2.2" }, "replace": { "symfony/polyfill-php70": "*" }, "require-dev": { "phpunit/phpunit": "^8.5", - "symplify/easy-coding-standard-tester": "^7.2.1" + "symplify/easy-coding-standard-tester": "^7.2.2" }, "bin": [ "bin/ecs" @@ -3126,20 +3122,20 @@ "MIT" ], "description": "Use Coding Standard with 0-knowledge of PHP-CS-Fixer and PHP_CodeSniffer.", - "time": "2020-01-11T10:55:38+00:00" + "time": "2020-01-20T12:20:56+00:00" }, { "name": "symplify/package-builder", - "version": "v7.2.1", + "version": "v7.2.2", "source": { "type": "git", "url": "https://github.com/Symplify/PackageBuilder.git", - "reference": "eb80e8b91ae101cc6ae218ba5552d1764bcf2276" + "reference": "854b9f35f54edf10c55ae40f010e31213ac8c9b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Symplify/PackageBuilder/zipball/eb80e8b91ae101cc6ae218ba5552d1764bcf2276", - "reference": "eb80e8b91ae101cc6ae218ba5552d1764bcf2276", + "url": "https://api.github.com/repos/Symplify/PackageBuilder/zipball/854b9f35f54edf10c55ae40f010e31213ac8c9b5", + "reference": "854b9f35f54edf10c55ae40f010e31213ac8c9b5", "shasum": "" }, "require": { @@ -3172,20 +3168,20 @@ "MIT" ], "description": "Dependency Injection, Console and Kernel toolkit for Symplify packages.", - "time": "2020-01-07T22:30:31+00:00" + "time": "2020-01-11T14:08:27+00:00" }, { "name": "symplify/set-config-resolver", - "version": "v7.2.1", + "version": "v7.2.2", "source": { "type": "git", "url": "https://github.com/Symplify/SetConfigResolver.git", - "reference": "92a6791bc9e3fba5a77d32a9058ae205970d0184" + "reference": "5f5af7f6aad71c2b6627b4d5ed6c39e3a220878d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Symplify/SetConfigResolver/zipball/92a6791bc9e3fba5a77d32a9058ae205970d0184", - "reference": "92a6791bc9e3fba5a77d32a9058ae205970d0184", + "url": "https://api.github.com/repos/Symplify/SetConfigResolver/zipball/5f5af7f6aad71c2b6627b4d5ed6c39e3a220878d", + "reference": "5f5af7f6aad71c2b6627b4d5ed6c39e3a220878d", "shasum": "" }, "require": { @@ -3194,7 +3190,7 @@ "symfony/console": "^4.4|^5.0", "symfony/filesystem": "^4.4|^5.0", "symfony/finder": "^4.4|^5.0", - "symplify/smart-file-system": "^7.2.1" + "symplify/smart-file-system": "^7.2.2" }, "require-dev": { "phpunit/phpunit": "^8.5" @@ -3215,20 +3211,20 @@ "MIT" ], "description": "Resolve config and sets from configs and cli opptions for CLI applications", - "time": "2020-01-11T10:55:38+00:00" + "time": "2020-01-20T12:20:56+00:00" }, { "name": "symplify/smart-file-system", - "version": "v7.2.1", + "version": "v7.2.2", "source": { "type": "git", "url": "https://github.com/Symplify/SmartFileSystem.git", - "reference": "7b681e056c0557f421373c81aa53a05fb63a95e0" + "reference": "b9a6109eabf559ce6b041abb29165751a3947d16" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Symplify/SmartFileSystem/zipball/7b681e056c0557f421373c81aa53a05fb63a95e0", - "reference": "7b681e056c0557f421373c81aa53a05fb63a95e0", + "url": "https://api.github.com/repos/Symplify/SmartFileSystem/zipball/b9a6109eabf559ce6b041abb29165751a3947d16", + "reference": "b9a6109eabf559ce6b041abb29165751a3947d16", "shasum": "" }, "require": { @@ -3239,7 +3235,7 @@ }, "require-dev": { "nette/finder": "^2.5", - "phpstan/phpstan": "^0.12.4", + "phpstan/phpstan": "^0.12.5", "phpunit/phpunit": "^8.5" }, "type": "library", @@ -3258,7 +3254,7 @@ "MIT" ], "description": "Sanitized FileInfo with safe getRealPath() and other handy methods", - "time": "2020-01-07T22:30:31+00:00" + "time": "2020-01-19T20:47:40+00:00" } ], "aliases": [], diff --git a/dev-ops/analyze/vendor-bin/phpstan/composer.json b/dev-ops/analyze/vendor-bin/phpstan/composer.json index 2d4438d8..1973ca29 100644 --- a/dev-ops/analyze/vendor-bin/phpstan/composer.json +++ b/dev-ops/analyze/vendor-bin/phpstan/composer.json @@ -1,8 +1,8 @@ { "require-dev": { "phpstan/extension-installer": "^1.0.3", - "phpstan/phpstan": "^0.12.5", + "phpstan/phpstan": "^0.12.9", "phpstan/phpstan-phpunit": "^0.12.6", - "phpstan/phpstan-symfony": "^0.12.3" + "phpstan/phpstan-symfony": "^0.12.4" } } diff --git a/dev-ops/analyze/vendor-bin/phpstan/composer.lock b/dev-ops/analyze/vendor-bin/phpstan/composer.lock index 3ca0799b..0f6bc064 100644 --- a/dev-ops/analyze/vendor-bin/phpstan/composer.lock +++ b/dev-ops/analyze/vendor-bin/phpstan/composer.lock @@ -4,61 +4,9 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b3ae20729fa289c1522effd9453f202f", + "content-hash": "1cca69b53ff315c27f7fa219a55f8256", "packages": [], "packages-dev": [ - { - "name": "nikic/php-parser", - "version": "v4.3.0", - "source": { - "type": "git", - "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "9a9981c347c5c49d6dfe5cf826bb882b824080dc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/9a9981c347c5c49d6dfe5cf826bb882b824080dc", - "reference": "9a9981c347c5c49d6dfe5cf826bb882b824080dc", - "shasum": "" - }, - "require": { - "ext-tokenizer": "*", - "php": ">=7.0" - }, - "require-dev": { - "ircmaxell/php-yacc": "0.0.5", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0" - }, - "bin": [ - "bin/php-parse" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.3-dev" - } - }, - "autoload": { - "psr-4": { - "PhpParser\\": "lib/PhpParser" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Nikita Popov" - } - ], - "description": "A PHP parser written in PHP", - "keywords": [ - "parser", - "php" - ], - "time": "2019-11-08T13:50:10+00:00" - }, { "name": "phpstan/extension-installer", "version": "1.0.3", @@ -105,16 +53,16 @@ }, { "name": "phpstan/phpstan", - "version": "0.12.5", + "version": "0.12.9", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "71a20c18f06c53605251a00a8efe443fa85225d1" + "reference": "297cb2458a96ea96d5e9d6ef38f1b7305c071f32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/71a20c18f06c53605251a00a8efe443fa85225d1", - "reference": "71a20c18f06c53605251a00a8efe443fa85225d1", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/297cb2458a96ea96d5e9d6ef38f1b7305c071f32", + "reference": "297cb2458a96ea96d5e9d6ef38f1b7305c071f32", "shasum": "" }, "require": { @@ -140,7 +88,7 @@ "MIT" ], "description": "PHPStan - PHP Static Analysis Tool", - "time": "2020-01-12T14:31:21+00:00" + "time": "2020-02-04T22:30:27+00:00" }, { "name": "phpstan/phpstan-phpunit", @@ -200,16 +148,16 @@ }, { "name": "phpstan/phpstan-symfony", - "version": "0.12.3", + "version": "0.12.4", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-symfony.git", - "reference": "f793b68b4665f223620769e8c3ea4dbf40c53ce4" + "reference": "5e4b7ba02f2235271a069deeb88340a210d6c87c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-symfony/zipball/f793b68b4665f223620769e8c3ea4dbf40c53ce4", - "reference": "f793b68b4665f223620769e8c3ea4dbf40c53ce4", + "url": "https://api.github.com/repos/phpstan/phpstan-symfony/zipball/5e4b7ba02f2235271a069deeb88340a210d6c87c", + "reference": "5e4b7ba02f2235271a069deeb88340a210d6c87c", "shasum": "" }, "require": { @@ -266,7 +214,7 @@ } ], "description": "Symfony Framework extensions and rules for PHPStan", - "time": "2020-01-11T14:52:23+00:00" + "time": "2020-01-22T10:19:41+00:00" } ], "aliases": [], diff --git a/dev-ops/analyze/vendor-bin/psalm/composer.json b/dev-ops/analyze/vendor-bin/psalm/composer.json index 5a1bb5d5..2aca451f 100644 --- a/dev-ops/analyze/vendor-bin/psalm/composer.json +++ b/dev-ops/analyze/vendor-bin/psalm/composer.json @@ -1,6 +1,6 @@ { "require-dev": { - "vimeo/psalm": "^3.8.2", + "vimeo/psalm": "^3.8.3", "symfony/expression-language": "^3.3 || ^4.0 || ^5.0" } } diff --git a/dev-ops/analyze/vendor-bin/psalm/composer.lock b/dev-ops/analyze/vendor-bin/psalm/composer.lock index 59151f2f..2037b20c 100644 --- a/dev-ops/analyze/vendor-bin/psalm/composer.lock +++ b/dev-ops/analyze/vendor-bin/psalm/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": "d1c8c37bf235f8001c2e370f7b754e1a", + "content-hash": "4c4bd34a62bb744531abf7d6732110d8", "packages": [], "packages-dev": [ { @@ -823,16 +823,16 @@ }, { "name": "symfony/cache", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "6e8d978878ae5de705ec9fabbb6011cc18776bc9" + "reference": "b503e72c8e2fa55eed9e2d3dd6a166f3eaaabb9a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/6e8d978878ae5de705ec9fabbb6011cc18776bc9", - "reference": "6e8d978878ae5de705ec9fabbb6011cc18776bc9", + "url": "https://api.github.com/repos/symfony/cache/zipball/b503e72c8e2fa55eed9e2d3dd6a166f3eaaabb9a", + "reference": "b503e72c8e2fa55eed9e2d3dd6a166f3eaaabb9a", "shasum": "" }, "require": { @@ -898,7 +898,7 @@ "caching", "psr6" ], - "time": "2019-12-12T13:03:32+00:00" + "time": "2020-01-10T21:57:37+00:00" }, { "name": "symfony/cache-contracts", @@ -960,16 +960,16 @@ }, { "name": "symfony/console", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "fe6e3cd889ca64172d7a742a2eb058541404ef47" + "reference": "345ab6ecb456b5147ea3b3271d7f1f00aadfd257" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/fe6e3cd889ca64172d7a742a2eb058541404ef47", - "reference": "fe6e3cd889ca64172d7a742a2eb058541404ef47", + "url": "https://api.github.com/repos/symfony/console/zipball/345ab6ecb456b5147ea3b3271d7f1f00aadfd257", + "reference": "345ab6ecb456b5147ea3b3271d7f1f00aadfd257", "shasum": "" }, "require": { @@ -1032,20 +1032,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2019-12-17T13:20:22+00:00" + "time": "2020-01-19T11:13:19+00:00" }, { "name": "symfony/expression-language", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/expression-language.git", - "reference": "412c7cc679805e78987a18fd5860013238f1daa2" + "reference": "2d5f9596301cd43f7b16ba517bb0b7acdae6b903" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/expression-language/zipball/412c7cc679805e78987a18fd5860013238f1daa2", - "reference": "412c7cc679805e78987a18fd5860013238f1daa2", + "url": "https://api.github.com/repos/symfony/expression-language/zipball/2d5f9596301cd43f7b16ba517bb0b7acdae6b903", + "reference": "2d5f9596301cd43f7b16ba517bb0b7acdae6b903", "shasum": "" }, "require": { @@ -1083,7 +1083,7 @@ ], "description": "Symfony ExpressionLanguage Component", "homepage": "https://symfony.com", - "time": "2019-12-10T11:06:55+00:00" + "time": "2020-01-04T14:08:26+00:00" }, { "name": "symfony/polyfill-ctype", @@ -1320,16 +1320,16 @@ }, { "name": "symfony/var-exporter", - "version": "v5.0.2", + "version": "v5.0.3", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "1b9653e68d5b701bf6d9c91bdd3660078c9f4f28" + "reference": "960f9ac0fdbd642461ed29d7717aeb2a94d428b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/1b9653e68d5b701bf6d9c91bdd3660078c9f4f28", - "reference": "1b9653e68d5b701bf6d9c91bdd3660078c9f4f28", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/960f9ac0fdbd642461ed29d7717aeb2a94d428b9", + "reference": "960f9ac0fdbd642461ed29d7717aeb2a94d428b9", "shasum": "" }, "require": { @@ -1376,20 +1376,20 @@ "instantiate", "serialize" ], - "time": "2019-12-01T08:48:26+00:00" + "time": "2020-01-04T14:08:26+00:00" }, { "name": "vimeo/psalm", - "version": "3.8.2", + "version": "3.8.3", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "90d6b73fd8062432030ef39b7b6694b3902daa31" + "reference": "389af1bfc739bfdff3f9e3dc7bd6499aee51a831" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/90d6b73fd8062432030ef39b7b6694b3902daa31", - "reference": "90d6b73fd8062432030ef39b7b6694b3902daa31", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/389af1bfc739bfdff3f9e3dc7bd6499aee51a831", + "reference": "389af1bfc739bfdff3f9e3dc7bd6499aee51a831", "shasum": "" }, "require": { @@ -1409,7 +1409,7 @@ "openlss/lib-array2xml": "^1.0", "php": "^7.1.3", "sebastian/diff": "^3.0", - "symfony/console": "^3.3||^4.0||^5.0", + "symfony/console": "^3.4.17 || ^4.1.6 || ^5.0", "webmozart/glob": "^4.1", "webmozart/path-util": "^2.3" }, @@ -1419,7 +1419,6 @@ "require-dev": { "bamarni/composer-bin-plugin": "^1.2", "ext-curl": "*", - "friendsofphp/php-cs-fixer": "^2.15", "phpmyadmin/sql-parser": "^5.0", "phpspec/prophecy": ">=1.9.0", "phpunit/phpunit": "^7.5 || ^8.0", @@ -1433,10 +1432,10 @@ }, "bin": [ "psalm", - "psalter", "psalm-language-server", "psalm-plugin", - "psalm-refactor" + "psalm-refactor", + "psalter" ], "type": "library", "extra": { @@ -1471,7 +1470,7 @@ "inspection", "php" ], - "time": "2020-01-07T13:50:31+00:00" + "time": "2020-01-15T03:46:19+00:00" }, { "name": "webmozart/assert", diff --git a/dev-ops/common/actions/static-analyze.sh b/dev-ops/common/actions/static-analyze.sh index 93bbf3cc..c778383e 100644 --- a/dev-ops/common/actions/static-analyze.sh +++ b/dev-ops/common/actions/static-analyze.sh @@ -2,5 +2,5 @@ #DESCRIPTION: Run static code analysis on core php dev-ops/analyze/phpstan-config-generator.php -php dev-ops/analyze/vendor/bin/phpstan analyze --autoload-file=dev-ops/analyze/vendor/autoload.php --configuration vendor/shopware/platform/phpstan.neon -php dev-ops/analyze/vendor/bin/psalm --config=vendor/shopware/platform/psalm.xml --threads=4 --show-info=false +php dev-ops/analyze/vendor/bin/phpstan analyze --autoload-file=dev-ops/analyze/vendor/autoload.php --configuration vendor/shopware/platform/phpstan.neon +php dev-ops/analyze/vendor/bin/psalm --config=vendor/shopware/platform/psalm.xml --threads=$(nproc) --diff --show-info=false diff --git a/dev-ops/pre-commit b/dev-ops/pre-commit index bef2d30f..4ffbb753 100755 --- a/dev-ops/pre-commit +++ b/dev-ops/pre-commit @@ -45,29 +45,34 @@ fi if [[ -n "$PHP_FILES" ]] then - # fix code style and update the commit - if [ -e ${PROJECT_ROOT}/vendor/shopware/platform/easy-coding-standard.yml ] - then - php ${PROJECT_ROOT}/dev-ops/analyze/vendor/bin/ecs check --fix --quiet -vv ${PHP_FILES} - else - php ${PROJECT_ROOT}/dev-ops/analyze/vendor/bin/php-cs-fixer fix --config=.php_cs.dist --quiet -vv ${PHP_FILES} - fi + cd ${PROJECT_ROOT} - for FILE in ${PHP_FILES} - do - php -l -d display_errors=0 "$FILE" 1> /dev/null + echo "Linting" + PHP_FILES_ARRAY=(${PHP_FILES}); + for i in "${!PHP_FILES_ARRAY[@]}"; do + PHP_FILES_ARRAY[$i]="platform/"${PHP_FILES_ARRAY[$i]} + php -l -d display_errors=0 ${PHP_FILES_ARRAY[$i]} 1> /dev/null done + PHP_FILES_FOR_CHECKS=$(printf '%s ' "${PHP_FILES_ARRAY[@]}") + + echo "Fix code style" + php dev-ops/analyze/vendor/bin/ecs check --fix --config platform/easy-coding-standard.yml --no-progress-bar --no-error-table ${PHP_FILES_FOR_CHECKS} + + echo "Check code with PHPStan" if [ -z "$(docker-compose ps -q app_server)" ] then - php ${PROJECT_ROOT}/dev-ops/analyze/phpstan-config-generator.php - php ${PROJECT_ROOT}/dev-ops/analyze/vendor/bin/phpstan analyze --no-progress --configuration ${PROJECT_ROOT}/platform/phpstan.neon --autoload-file="$AUTOLOAD_FILE" ${PHP_FILES} + php dev-ops/analyze/phpstan-config-generator.php + php dev-ops/analyze/vendor/bin/phpstan analyze --no-progress --configuration platform/phpstan.neon --autoload-file="$AUTOLOAD_FILE" ${PHP_FILES_FOR_CHECKS} else - docker-compose exec -u $(id -u) -T -w /app/platform app_server php /app/dev-ops/analyze/phpstan-config-generator.php - docker-compose exec -u $(id -u) -T -w /app/platform app_server php /app/dev-ops/analyze/vendor/bin/phpstan analyze --no-progress --configuration /app/platform/phpstan.neon --autoload-file="/app/dev-ops/analyze/vendor/autoload.php" ${PHP_FILES} + docker-compose exec -u $(id -u) -T app_server php /app/dev-ops/analyze/phpstan-config-generator.php + docker-compose exec -u $(id -u) -T -w /app app_server php /app/dev-ops/analyze/vendor/bin/phpstan analyze --configuration /app/platform/phpstan.neon --autoload-file="/app/dev-ops/analyze/vendor/autoload.php" ${PHP_FILES_FOR_CHECKS} fi - php ${PROJECT_ROOT}/dev-ops/analyze/vendor/bin/psalm --config=${PROJECT_ROOT}/vendor/shopware/platform/psalm.xml --threads=2 --show-info=false --root=${PROJECT_ROOT} ${PHP_FILES} + echo "Check code with Psalm" + php ${PROJECT_ROOT}/dev-ops/analyze/vendor/bin/psalm --config=${PROJECT_ROOT}/vendor/shopware/platform/psalm.xml --threads=$(nproc) --diff --show-info=false --root=${PROJECT_ROOT} --no-progress ${PHP_FILES_FOR_CHECKS} + + cd ${PLATFORM_ROOT} fi if [[ -n "$SCSS_ADMIN_FILES" ]]