diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 19ed2e42..46b31d1e 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -17,6 +17,9 @@ [ 'no_superfluous_phpdoc_tags' => false, 'fully_qualified_strict_types' => false, + 'trailing_comma_in_multiline' => [ + 'elements' => ['arrays'] + ], ] ) ); diff --git a/composer.json b/composer.json index 97a45385..2c39330e 100644 --- a/composer.json +++ b/composer.json @@ -29,8 +29,7 @@ "phpunit/phpunit": "^9.5", "mockery/mockery": "^1.5", "mikey179/vfsstream": "*", - "friendsofphp/php-cs-fixer": "^2.0", - "jadu/php-style": "~1.2" + "jadu/php-style": "^2.0" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index ab877c7b..5af8f607 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": "d0d686da5a2a1f67ad68a3e92116edd7", + "content-hash": "b4cf7d6436b06b948013107ad6cd07d9", "packages": [ { "name": "amphp/amp", @@ -632,30 +632,38 @@ }, { "name": "composer/pcre", - "version": "1.0.1", + "version": "3.3.2", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "67a32d7d6f9f560b726ab25a061b38ff3a80c560" + "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/67a32d7d6f9f560b726ab25a061b38ff3a80c560", - "reference": "67a32d7d6f9f560b726ab25a061b38ff3a80c560", + "url": "https://api.github.com/repos/composer/pcre/zipball/b2bed4734f0cc156ee1fe9c0da2550420d99a21e", + "reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0 || ^8.0" + "php": "^7.4 || ^8.0" + }, + "conflict": { + "phpstan/phpstan": "<1.11.10" }, "require-dev": { - "phpstan/phpstan": "^1.3", - "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^4.2 || ^5" + "phpstan/phpstan": "^1.12 || ^2", + "phpstan/phpstan-strict-rules": "^1 || ^2", + "phpunit/phpunit": "^8 || ^9" }, "type": "library", "extra": { + "phpstan": { + "includes": [ + "extension.neon" + ] + }, "branch-alias": { - "dev-main": "1.x-dev" + "dev-main": "3.x-dev" } }, "autoload": { @@ -683,7 +691,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/1.0.1" + "source": "https://github.com/composer/pcre/tree/3.3.2" }, "funding": [ { @@ -699,28 +707,28 @@ "type": "tidelift" } ], - "time": "2022-01-21T20:24:37+00:00" + "time": "2024-11-12T16:29:46+00:00" }, { "name": "composer/semver", - "version": "3.3.2", + "version": "3.4.3", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9" + "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9", - "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9", + "url": "https://api.github.com/repos/composer/semver/zipball/4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", + "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", "shasum": "" }, "require": { "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "phpstan/phpstan": "^1.4", - "symfony/phpunit-bridge": "^4.2 || ^5" + "phpstan/phpstan": "^1.11", + "symfony/phpunit-bridge": "^3 || ^7" }, "type": "library", "extra": { @@ -762,9 +770,9 @@ "versioning" ], "support": { - "irc": "irc://irc.freenode.org/composer", + "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.3.2" + "source": "https://github.com/composer/semver/tree/3.4.3" }, "funding": [ { @@ -780,31 +788,31 @@ "type": "tidelift" } ], - "time": "2022-04-01T19:23:25+00:00" + "time": "2024-09-19T14:15:21+00:00" }, { "name": "composer/xdebug-handler", - "version": "2.0.5", + "version": "3.0.5", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "9e36aeed4616366d2b690bdce11f71e9178c579a" + "reference": "6c1925561632e83d60a44492e0b344cf48ab85ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/9e36aeed4616366d2b690bdce11f71e9178c579a", - "reference": "9e36aeed4616366d2b690bdce11f71e9178c579a", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/6c1925561632e83d60a44492e0b344cf48ab85ef", + "reference": "6c1925561632e83d60a44492e0b344cf48ab85ef", "shasum": "" }, "require": { - "composer/pcre": "^1", - "php": "^5.3.2 || ^7.0 || ^8.0", + "composer/pcre": "^1 || ^2 || ^3", + "php": "^7.2.5 || ^8.0", "psr/log": "^1 || ^2 || ^3" }, "require-dev": { "phpstan/phpstan": "^1.0", "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^4.2 || ^5.0 || ^6.0" + "phpunit/phpunit": "^8.5 || ^9.6 || ^10.5" }, "type": "library", "autoload": { @@ -828,9 +836,9 @@ "performance" ], "support": { - "irc": "irc://irc.freenode.org/composer", + "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/2.0.5" + "source": "https://github.com/composer/xdebug-handler/tree/3.0.5" }, "funding": [ { @@ -846,7 +854,7 @@ "type": "tidelift" } ], - "time": "2022-02-24T20:20:32+00:00" + "time": "2024-05-06T16:37:16+00:00" }, { "name": "doctrine/cache", @@ -1052,25 +1060,27 @@ }, { "name": "doctrine/deprecations", - "version": "v1.0.0", + "version": "1.1.4", "source": { "type": "git", "url": "https://github.com/doctrine/deprecations.git", - "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de" + "reference": "31610dbb31faa98e6b5447b62340826f54fbc4e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de", - "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/31610dbb31faa98e6b5447b62340826f54fbc4e9", + "reference": "31610dbb31faa98e6b5447b62340826f54fbc4e9", "shasum": "" }, "require": { - "php": "^7.1|^8.0" + "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^9", - "phpunit/phpunit": "^7.5|^8.5|^9.5", - "psr/log": "^1|^2|^3" + "doctrine/coding-standard": "^9 || ^12", + "phpstan/phpstan": "1.4.10 || 2.0.3", + "phpstan/phpstan-phpunit": "^1.0 || ^2", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "psr/log": "^1 || ^2 || ^3" }, "suggest": { "psr/log": "Allows logging deprecations via PSR-3 logger implementation" @@ -1078,7 +1088,7 @@ "type": "library", "autoload": { "psr-4": { - "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations" + "Doctrine\\Deprecations\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1089,9 +1099,9 @@ "homepage": "https://www.doctrine-project.org/", "support": { "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/v1.0.0" + "source": "https://github.com/doctrine/deprecations/tree/1.1.4" }, - "time": "2022-05-02T15:47:09+00:00" + "time": "2024-12-07T21:18:45+00:00" }, { "name": "doctrine/event-manager", @@ -2257,25 +2267,25 @@ }, { "name": "nikic/php-parser", - "version": "v4.15.4", + "version": "v4.19.4", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290" + "reference": "715f4d25e225bc47b293a8b997fe6ce99bf987d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/6bb5176bc4af8bcb7d926f88718db9b96a2d4290", - "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/715f4d25e225bc47b293a8b997fe6ce99bf987d2", + "reference": "715f4d25e225bc47b293a8b997fe6ce99bf987d2", "shasum": "" }, "require": { "ext-tokenizer": "*", - "php": ">=7.0" + "php": ">=7.1" }, "require-dev": { "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" }, "bin": [ "bin/php-parse" @@ -2307,9 +2317,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.4" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.19.4" }, - "time": "2023-03-05T19:49:14+00:00" + "time": "2024-09-29T15:01:53+00:00" }, { "name": "paragonie/constant_time_encoding", @@ -3177,16 +3187,16 @@ }, { "name": "symfony/console", - "version": "v5.4.23", + "version": "v5.4.47", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "90f21e27d0d88ce38720556dd164d4a1e4c3934c" + "reference": "c4ba980ca61a9eb18ee6bcc73f28e475852bb1ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/90f21e27d0d88ce38720556dd164d4a1e4c3934c", - "reference": "90f21e27d0d88ce38720556dd164d4a1e4c3934c", + "url": "https://api.github.com/repos/symfony/console/zipball/c4ba980ca61a9eb18ee6bcc73f28e475852bb1ed", + "reference": "c4ba980ca61a9eb18ee6bcc73f28e475852bb1ed", "shasum": "" }, "require": { @@ -3256,7 +3266,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.23" + "source": "https://github.com/symfony/console/tree/v5.4.47" }, "funding": [ { @@ -3272,7 +3282,7 @@ "type": "tidelift" } ], - "time": "2023-04-24T18:47:29+00:00" + "time": "2024-11-06T11:30:55+00:00" }, { "name": "symfony/dependency-injection", @@ -3365,16 +3375,16 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v2.5.2", + "version": "v2.5.4", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" + "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/605389f2a7e5625f273b53960dc46aeaf9c62918", + "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918", "shasum": "" }, "require": { @@ -3382,12 +3392,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "2.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -3412,7 +3422,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2" + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.4" }, "funding": [ { @@ -3428,20 +3438,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2024-09-25T14:11:13+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v5.4.22", + "version": "v5.4.45", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "1df20e45d56da29a4b1d8259dd6e950acbf1b13f" + "reference": "72982eb416f61003e9bb6e91f8b3213600dcf9e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/1df20e45d56da29a4b1d8259dd6e950acbf1b13f", - "reference": "1df20e45d56da29a4b1d8259dd6e950acbf1b13f", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/72982eb416f61003e9bb6e91f8b3213600dcf9e9", + "reference": "72982eb416f61003e9bb6e91f8b3213600dcf9e9", "shasum": "" }, "require": { @@ -3497,7 +3507,7 @@ "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.4.22" + "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.45" }, "funding": [ { @@ -3513,20 +3523,20 @@ "type": "tidelift" } ], - "time": "2023-03-17T11:31:58+00:00" + "time": "2024-09-25T14:11:13+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v2.5.2", + "version": "v2.5.4", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1" + "reference": "e0fe3d79b516eb75126ac6fa4cbf19b79b08c99f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/f98b54df6ad059855739db6fcbc2d36995283fe1", - "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/e0fe3d79b516eb75126ac6fa4cbf19b79b08c99f", + "reference": "e0fe3d79b516eb75126ac6fa4cbf19b79b08c99f", "shasum": "" }, "require": { @@ -3538,12 +3548,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "2.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -3576,7 +3586,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.2" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.4" }, "funding": [ { @@ -3592,20 +3602,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2024-09-25T14:11:13+00:00" }, { "name": "symfony/filesystem", - "version": "v5.4.23", + "version": "v5.4.45", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "b2f79d86cd9e7de0fff6d03baa80eaed7a5f38b5" + "reference": "57c8294ed37d4a055b77057827c67f9558c95c54" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/b2f79d86cd9e7de0fff6d03baa80eaed7a5f38b5", - "reference": "b2f79d86cd9e7de0fff6d03baa80eaed7a5f38b5", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/57c8294ed37d4a055b77057827c67f9558c95c54", + "reference": "57c8294ed37d4a055b77057827c67f9558c95c54", "shasum": "" }, "require": { @@ -3614,6 +3624,9 @@ "symfony/polyfill-mbstring": "~1.8", "symfony/polyfill-php80": "^1.16" }, + "require-dev": { + "symfony/process": "^5.4|^6.4" + }, "type": "library", "autoload": { "psr-4": { @@ -3640,7 +3653,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.4.23" + "source": "https://github.com/symfony/filesystem/tree/v5.4.45" }, "funding": [ { @@ -3656,20 +3669,20 @@ "type": "tidelift" } ], - "time": "2023-03-02T11:38:35+00:00" + "time": "2024-10-22T13:05:35+00:00" }, { "name": "symfony/finder", - "version": "v5.4.21", + "version": "v5.4.45", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "078e9a5e1871fcfe6a5ce421b539344c21afef19" + "reference": "63741784cd7b9967975eec610b256eed3ede022b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/078e9a5e1871fcfe6a5ce421b539344c21afef19", - "reference": "078e9a5e1871fcfe6a5ce421b539344c21afef19", + "url": "https://api.github.com/repos/symfony/finder/zipball/63741784cd7b9967975eec610b256eed3ede022b", + "reference": "63741784cd7b9967975eec610b256eed3ede022b", "shasum": "" }, "require": { @@ -3703,7 +3716,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.4.21" + "source": "https://github.com/symfony/finder/tree/v5.4.45" }, "funding": [ { @@ -3719,20 +3732,20 @@ "type": "tidelift" } ], - "time": "2023-02-16T09:33:00+00:00" + "time": "2024-09-28T13:32:08+00:00" }, { "name": "symfony/options-resolver", - "version": "v5.4.21", + "version": "v5.4.45", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "4fe5cf6ede71096839f0e4b4444d65dd3a7c1eb9" + "reference": "74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/4fe5cf6ede71096839f0e4b4444d65dd3a7c1eb9", - "reference": "4fe5cf6ede71096839f0e4b4444d65dd3a7c1eb9", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6", + "reference": "74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6", "shasum": "" }, "require": { @@ -3772,7 +3785,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v5.4.21" + "source": "https://github.com/symfony/options-resolver/tree/v5.4.45" }, "funding": [ { @@ -3788,24 +3801,24 @@ "type": "tidelift" } ], - "time": "2023-02-14T08:03:56+00:00" + "time": "2024-09-25T14:11:13+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.27.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "provide": { "ext-ctype": "*" @@ -3815,12 +3828,9 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -3854,7 +3864,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" }, "funding": [ { @@ -3870,36 +3880,33 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.27.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "511a08c03c1960e08a883f4cffcacd219b758354" + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", - "reference": "511a08c03c1960e08a883f4cffcacd219b758354", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "suggest": { "ext-intl": "For best performance" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -3935,7 +3942,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.31.0" }, "funding": [ { @@ -3951,7 +3958,7 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-intl-idn", @@ -4042,32 +4049,29 @@ }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.27.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" + "reference": "3833d7255cc303546435cb650316bff708a1c75c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", + "reference": "3833d7255cc303546435cb650316bff708a1c75c", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "suggest": { "ext-intl": "For best performance" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4106,7 +4110,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0" }, "funding": [ { @@ -4122,24 +4126,24 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.27.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" + "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341", + "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "provide": { "ext-mbstring": "*" @@ -4149,12 +4153,9 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4189,7 +4190,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0" }, "funding": [ { @@ -4205,7 +4206,7 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php72", @@ -4285,29 +4286,26 @@ }, { "name": "symfony/polyfill-php80", - "version": "v1.27.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4348,7 +4346,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" }, "funding": [ { @@ -4364,33 +4362,30 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php81", - "version": "v1.27.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a" + "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/707403074c8ea6e2edaf8794b0157a0bfa52157a", - "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", + "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -4427,7 +4422,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.31.0" }, "funding": [ { @@ -4443,20 +4438,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/process", - "version": "v5.4.23", + "version": "v5.4.47", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "4b842fc4b61609e0a155a114082bd94e31e98287" + "reference": "5d1662fb32ebc94f17ddb8d635454a776066733d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/4b842fc4b61609e0a155a114082bd94e31e98287", - "reference": "4b842fc4b61609e0a155a114082bd94e31e98287", + "url": "https://api.github.com/repos/symfony/process/zipball/5d1662fb32ebc94f17ddb8d635454a776066733d", + "reference": "5d1662fb32ebc94f17ddb8d635454a776066733d", "shasum": "" }, "require": { @@ -4489,7 +4484,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.4.23" + "source": "https://github.com/symfony/process/tree/v5.4.47" }, "funding": [ { @@ -4505,20 +4500,20 @@ "type": "tidelift" } ], - "time": "2023-04-18T13:50:24+00:00" + "time": "2024-11-06T11:36:42+00:00" }, { "name": "symfony/service-contracts", - "version": "v2.5.2", + "version": "v2.5.4", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c" + "reference": "f37b419f7aea2e9abf10abd261832cace12e3300" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/4b426aac47d6427cc1a1d0f7e2ac724627f5966c", - "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f37b419f7aea2e9abf10abd261832cace12e3300", + "reference": "f37b419f7aea2e9abf10abd261832cace12e3300", "shasum": "" }, "require": { @@ -4534,12 +4529,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "2.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -4572,7 +4567,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.5.2" + "source": "https://github.com/symfony/service-contracts/tree/v2.5.4" }, "funding": [ { @@ -4588,20 +4583,20 @@ "type": "tidelift" } ], - "time": "2022-05-30T19:17:29+00:00" + "time": "2024-09-25T14:11:13+00:00" }, { "name": "symfony/stopwatch", - "version": "v5.4.21", + "version": "v5.4.45", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "f83692cd869a6f2391691d40a01e8acb89e76fee" + "reference": "fb2c199cf302eb207f8c23e7ee174c1c31a5c004" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/f83692cd869a6f2391691d40a01e8acb89e76fee", - "reference": "f83692cd869a6f2391691d40a01e8acb89e76fee", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/fb2c199cf302eb207f8c23e7ee174c1c31a5c004", + "reference": "fb2c199cf302eb207f8c23e7ee174c1c31a5c004", "shasum": "" }, "require": { @@ -4634,7 +4629,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v5.4.21" + "source": "https://github.com/symfony/stopwatch/tree/v5.4.45" }, "funding": [ { @@ -4650,20 +4645,20 @@ "type": "tidelift" } ], - "time": "2023-02-14T08:03:56+00:00" + "time": "2024-09-25T14:11:13+00:00" }, { "name": "symfony/string", - "version": "v5.4.22", + "version": "v5.4.47", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "8036a4c76c0dd29e60b6a7cafcacc50cf088ea62" + "reference": "136ca7d72f72b599f2631aca474a4f8e26719799" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/8036a4c76c0dd29e60b6a7cafcacc50cf088ea62", - "reference": "8036a4c76c0dd29e60b6a7cafcacc50cf088ea62", + "url": "https://api.github.com/repos/symfony/string/zipball/136ca7d72f72b599f2631aca474a4f8e26719799", + "reference": "136ca7d72f72b599f2631aca474a4f8e26719799", "shasum": "" }, "require": { @@ -4720,7 +4715,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.4.22" + "source": "https://github.com/symfony/string/tree/v5.4.47" }, "funding": [ { @@ -4736,7 +4731,7 @@ "type": "tidelift" } ], - "time": "2023-03-14T06:11:53+00:00" + "time": "2024-11-10T20:33:58+00:00" }, { "name": "symfony/var-dumper", @@ -5203,40 +5198,31 @@ ], "packages-dev": [ { - "name": "doctrine/annotations", - "version": "1.14.3", + "name": "clue/ndjson-react", + "version": "v1.3.0", "source": { "type": "git", - "url": "https://github.com/doctrine/annotations.git", - "reference": "fb0d71a7393298a7b232cbf4c8b1f73f3ec3d5af" + "url": "https://github.com/clue/reactphp-ndjson.git", + "reference": "392dc165fce93b5bb5c637b67e59619223c931b0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/fb0d71a7393298a7b232cbf4c8b1f73f3ec3d5af", - "reference": "fb0d71a7393298a7b232cbf4c8b1f73f3ec3d5af", + "url": "https://api.github.com/repos/clue/reactphp-ndjson/zipball/392dc165fce93b5bb5c637b67e59619223c931b0", + "reference": "392dc165fce93b5bb5c637b67e59619223c931b0", "shasum": "" }, "require": { - "doctrine/lexer": "^1 || ^2", - "ext-tokenizer": "*", - "php": "^7.1 || ^8.0", - "psr/cache": "^1 || ^2 || ^3" + "php": ">=5.3", + "react/stream": "^1.2" }, "require-dev": { - "doctrine/cache": "^1.11 || ^2.0", - "doctrine/coding-standard": "^9 || ^10", - "phpstan/phpstan": "~1.4.10 || ^1.8.0", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "symfony/cache": "^4.4 || ^5.4 || ^6", - "vimeo/psalm": "^4.10" - }, - "suggest": { - "php": "PHP 8.0 or higher comes with attributes, a native replacement for annotations" + "phpunit/phpunit": "^9.5 || ^5.7 || ^4.8.35", + "react/event-loop": "^1.2" }, "type": "library", "autoload": { "psr-4": { - "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" + "Clue\\React\\NDJson\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -5245,38 +5231,35 @@ ], "authors": [ { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" + "name": "Christian Lück", + "email": "christian@clue.engineering" } ], - "description": "Docblock Annotations Parser", - "homepage": "https://www.doctrine-project.org/projects/annotations.html", + "description": "Streaming newline-delimited JSON (NDJSON) parser and encoder for ReactPHP.", + "homepage": "https://github.com/clue/reactphp-ndjson", "keywords": [ - "annotations", - "docblock", - "parser" + "NDJSON", + "json", + "jsonlines", + "newline", + "reactphp", + "streaming" ], "support": { - "issues": "https://github.com/doctrine/annotations/issues", - "source": "https://github.com/doctrine/annotations/tree/1.14.3" + "issues": "https://github.com/clue/reactphp-ndjson/issues", + "source": "https://github.com/clue/reactphp-ndjson/tree/v1.3.0" }, - "time": "2023-02-01T09:20:38+00:00" + "funding": [ + { + "url": "https://clue.engineering/support", + "type": "custom" + }, + { + "url": "https://github.com/clue", + "type": "github" + } + ], + "time": "2022-12-23T10:58:28+00:00" }, { "name": "doctrine/instantiator", @@ -5349,34 +5332,29 @@ "time": "2022-12-30T00:15:36+00:00" }, { - "name": "doctrine/lexer", - "version": "2.1.0", + "name": "evenement/evenement", + "version": "v3.0.2", "source": { "type": "git", - "url": "https://github.com/doctrine/lexer.git", - "reference": "39ab8fcf5a51ce4b85ca97c7a7d033eb12831124" + "url": "https://github.com/igorw/evenement.git", + "reference": "0a16b0d71ab13284339abb99d9d2bd813640efbc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/39ab8fcf5a51ce4b85ca97c7a7d033eb12831124", - "reference": "39ab8fcf5a51ce4b85ca97c7a7d033eb12831124", + "url": "https://api.github.com/repos/igorw/evenement/zipball/0a16b0d71ab13284339abb99d9d2bd813640efbc", + "reference": "0a16b0d71ab13284339abb99d9d2bd813640efbc", "shasum": "" }, "require": { - "doctrine/deprecations": "^1.0", - "php": "^7.1 || ^8.0" + "php": ">=7.0" }, "require-dev": { - "doctrine/coding-standard": "^9 || ^10", - "phpstan/phpstan": "^1.3", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "psalm/plugin-phpunit": "^0.18.3", - "vimeo/psalm": "^4.11 || ^5.0" + "phpunit/phpunit": "^9 || ^6" }, "type": "library", "autoload": { "psr-4": { - "Doctrine\\Common\\Lexer\\": "src" + "Evenement\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -5385,127 +5363,150 @@ ], "authors": [ { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, + "name": "Igor Wiedler", + "email": "igor@wiedler.ch" + } + ], + "description": "Événement is a very simple event dispatching library for PHP", + "keywords": [ + "event-dispatcher", + "event-emitter" + ], + "support": { + "issues": "https://github.com/igorw/evenement/issues", + "source": "https://github.com/igorw/evenement/tree/v3.0.2" + }, + "time": "2023-08-08T05:53:35+00:00" + }, + { + "name": "fidry/cpu-core-counter", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/theofidry/cpu-core-counter.git", + "reference": "8520451a140d3f46ac33042715115e290cf5785f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/8520451a140d3f46ac33042715115e290cf5785f", + "reference": "8520451a140d3f46ac33042715115e290cf5785f", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "fidry/makefile": "^0.2.0", + "fidry/php-cs-fixer-config": "^1.1.2", + "phpstan/extension-installer": "^1.2.0", + "phpstan/phpstan": "^1.9.2", + "phpstan/phpstan-deprecation-rules": "^1.0.0", + "phpstan/phpstan-phpunit": "^1.2.2", + "phpstan/phpstan-strict-rules": "^1.4.4", + "phpunit/phpunit": "^8.5.31 || ^9.5.26", + "webmozarts/strict-phpunit": "^7.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Fidry\\CpuCoreCounter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" + "name": "Théo FIDRY", + "email": "theo.fidry@gmail.com" } ], - "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", - "homepage": "https://www.doctrine-project.org/projects/lexer.html", + "description": "Tiny utility to get the number of CPU cores.", "keywords": [ - "annotations", - "docblock", - "lexer", - "parser", - "php" + "CPU", + "core" ], "support": { - "issues": "https://github.com/doctrine/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/2.1.0" + "issues": "https://github.com/theofidry/cpu-core-counter/issues", + "source": "https://github.com/theofidry/cpu-core-counter/tree/1.2.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%2Flexer", - "type": "tidelift" + "url": "https://github.com/theofidry", + "type": "github" } ], - "time": "2022-12-14T08:49:07+00:00" + "time": "2024-08-06T10:04:20+00:00" }, { "name": "friendsofphp/php-cs-fixer", - "version": "v2.19.3", + "version": "v3.70.1", "source": { "type": "git", - "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "75ac86f33fab4714ea5a39a396784d83ae3b5ed8" + "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", + "reference": "add1b3a05256392dbad63875240041b2c0349ceb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/75ac86f33fab4714ea5a39a396784d83ae3b5ed8", - "reference": "75ac86f33fab4714ea5a39a396784d83ae3b5ed8", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/add1b3a05256392dbad63875240041b2c0349ceb", + "reference": "add1b3a05256392dbad63875240041b2c0349ceb", "shasum": "" }, "require": { - "composer/semver": "^1.4 || ^2.0 || ^3.0", - "composer/xdebug-handler": "^1.2 || ^2.0", - "doctrine/annotations": "^1.2", + "clue/ndjson-react": "^1.0", + "composer/semver": "^3.4", + "composer/xdebug-handler": "^3.0.3", + "ext-filter": "*", "ext-json": "*", "ext-tokenizer": "*", - "php": "^5.6 || ^7.0 || ^8.0", - "php-cs-fixer/diff": "^1.3", - "symfony/console": "^3.4.43 || ^4.1.6 || ^5.0", - "symfony/event-dispatcher": "^3.0 || ^4.0 || ^5.0", - "symfony/filesystem": "^3.0 || ^4.0 || ^5.0", - "symfony/finder": "^3.0 || ^4.0 || ^5.0", - "symfony/options-resolver": "^3.0 || ^4.0 || ^5.0", - "symfony/polyfill-php70": "^1.0", - "symfony/polyfill-php72": "^1.4", - "symfony/process": "^3.0 || ^4.0 || ^5.0", - "symfony/stopwatch": "^3.0 || ^4.0 || ^5.0" + "fidry/cpu-core-counter": "^1.2", + "php": "^7.4 || ^8.0", + "react/child-process": "^0.6.5", + "react/event-loop": "^1.0", + "react/promise": "^2.0 || ^3.0", + "react/socket": "^1.0", + "react/stream": "^1.0", + "sebastian/diff": "^4.0 || ^5.1 || ^6.0 || ^7.0", + "symfony/console": "^5.4 || ^6.4 || ^7.0", + "symfony/event-dispatcher": "^5.4 || ^6.4 || ^7.0", + "symfony/filesystem": "^5.4 || ^6.4 || ^7.0", + "symfony/finder": "^5.4 || ^6.4 || ^7.0", + "symfony/options-resolver": "^5.4 || ^6.4 || ^7.0", + "symfony/polyfill-mbstring": "^1.31", + "symfony/polyfill-php80": "^1.31", + "symfony/polyfill-php81": "^1.31", + "symfony/process": "^5.4 || ^6.4 || ^7.2", + "symfony/stopwatch": "^5.4 || ^6.4 || ^7.0" }, "require-dev": { - "justinrainbow/json-schema": "^5.0", - "keradus/cli-executor": "^1.4", - "mikey179/vfsstream": "^1.6", - "php-coveralls/php-coveralls": "^2.4.2", - "php-cs-fixer/accessible-object": "^1.0", - "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.5", - "phpunitgoodpractices/polyfill": "^1.5", - "phpunitgoodpractices/traits": "^1.9.1", - "sanmai/phpunit-legacy-adapter": "^6.4 || ^8.2.1", - "symfony/phpunit-bridge": "^5.2.1", - "symfony/yaml": "^3.0 || ^4.0 || ^5.0" + "facile-it/paraunit": "^1.3.1 || ^2.5", + "infection/infection": "^0.29.10", + "justinrainbow/json-schema": "^5.3 || ^6.0", + "keradus/cli-executor": "^2.1", + "mikey179/vfsstream": "^1.6.12", + "php-coveralls/php-coveralls": "^2.7", + "php-cs-fixer/accessible-object": "^1.1", + "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.6", + "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.6", + "phpunit/phpunit": "^9.6.22 || ^10.5.45 || ^11.5.7", + "symfony/var-dumper": "^5.4.48 || ^6.4.18 || ^7.2.0", + "symfony/yaml": "^5.4.45 || ^6.4.18 || ^7.2.0" }, "suggest": { "ext-dom": "For handling output formats in XML", - "ext-mbstring": "For handling non-UTF8 characters.", - "php-cs-fixer/phpunit-constraint-isidenticalstring": "For IsIdenticalString constraint.", - "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "For XmlMatchesXsd constraint.", - "symfony/polyfill-mbstring": "When enabling `ext-mbstring` is not possible." + "ext-mbstring": "For handling non-UTF8 characters." }, "bin": [ "php-cs-fixer" ], "type": "application", - "extra": { - "branch-alias": { - "dev-master": "2.19-dev" - } - }, "autoload": { "psr-4": { "PhpCsFixer\\": "src/" }, - "classmap": [ - "tests/Test/AbstractFixerTestCase.php", - "tests/Test/AbstractIntegrationCaseFactory.php", - "tests/Test/AbstractIntegrationTestCase.php", - "tests/Test/Assert/AssertTokensTrait.php", - "tests/Test/IntegrationCase.php", - "tests/Test/IntegrationCaseFactory.php", - "tests/Test/IntegrationCaseFactoryInterface.php", - "tests/Test/InternalIntegrationCaseFactory.php", - "tests/Test/IsIdenticalConstraint.php", - "tests/Test/TokensWithObservedTransformers.php", - "tests/TestCase.php" + "exclude-from-classmap": [ + "src/Fixer/Internal/*" ] }, "notification-url": "https://packagist.org/downloads/", @@ -5523,9 +5524,15 @@ } ], "description": "A tool to automatically fix PHP code style", + "keywords": [ + "Static code analysis", + "fixer", + "standards", + "static analysis" + ], "support": { - "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues", - "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v2.19.3" + "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.70.1" }, "funding": [ { @@ -5533,7 +5540,7 @@ "type": "github" } ], - "time": "2021-11-15T17:17:55+00:00" + "time": "2025-03-01T22:05:46+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -5588,20 +5595,20 @@ }, { "name": "jadu/php-style", - "version": "1.3.0", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/jadu/php-style.git", - "reference": "bb1a8e9e486f473e2c922f6e70f3fcebbb5aa36a" + "reference": "8c978faaff19323ebf8f9d4c143b690a5f384b07" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jadu/php-style/zipball/bb1a8e9e486f473e2c922f6e70f3fcebbb5aa36a", - "reference": "bb1a8e9e486f473e2c922f6e70f3fcebbb5aa36a", + "url": "https://api.github.com/repos/jadu/php-style/zipball/8c978faaff19323ebf8f9d4c143b690a5f384b07", + "reference": "8c978faaff19323ebf8f9d4c143b690a5f384b07", "shasum": "" }, "require": { - "friendsofphp/php-cs-fixer": "^2.14", + "friendsofphp/php-cs-fixer": "^3.14", "php": ">=7.1" }, "type": "library", @@ -5617,9 +5624,9 @@ "description": "Jadu PHP coding style configuration for PHP-CS-Fixer", "support": { "issues": "https://github.com/jadu/php-style/issues", - "source": "https://github.com/jadu/php-style/tree/master" + "source": "https://github.com/jadu/php-style/tree/2.0.1" }, - "time": "2019-11-18T16:20:50+00:00" + "time": "2023-08-18T14:14:19+00:00" }, { "name": "mikey179/vfsstream", @@ -5914,62 +5921,6 @@ }, "time": "2022-02-21T01:04:05+00:00" }, - { - "name": "php-cs-fixer/diff", - "version": "v1.3.1", - "source": { - "type": "git", - "url": "https://github.com/PHP-CS-Fixer/diff.git", - "reference": "dbd31aeb251639ac0b9e7e29405c1441907f5759" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/diff/zipball/dbd31aeb251639ac0b9e7e29405c1441907f5759", - "reference": "dbd31aeb251639ac0b9e7e29405c1441907f5759", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0 || ^8.0" - }, - "require-dev": { - "phpunit/phpunit": "^5.7.23 || ^6.4.3 || ^7.0", - "symfony/process": "^3.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - }, - { - "name": "SpacePossum" - } - ], - "description": "sebastian/diff v2 backport support for PHP5.6", - "homepage": "https://github.com/PHP-CS-Fixer", - "keywords": [ - "diff" - ], - "support": { - "issues": "https://github.com/PHP-CS-Fixer/diff/issues", - "source": "https://github.com/PHP-CS-Fixer/diff/tree/v1.3.1" - }, - "abandoned": true, - "time": "2020-10-14T08:39:05+00:00" - }, { "name": "phpunit/php-code-coverage", "version": "9.2.26", @@ -6392,31 +6343,30 @@ "time": "2023-04-14T08:58:40+00:00" }, { - "name": "psr/cache", - "version": "1.0.1", + "name": "react/cache", + "version": "v1.2.0", "source": { "type": "git", - "url": "https://github.com/php-fig/cache.git", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" + "url": "https://github.com/reactphp/cache.git", + "reference": "d47c472b64aa5608225f47965a484b75c7817d5b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", + "url": "https://api.github.com/repos/reactphp/cache/zipball/d47c472b64aa5608225f47965a484b75c7817d5b", + "reference": "d47c472b64aa5608225f47965a484b75c7817d5b", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=5.3.0", + "react/promise": "^3.0 || ^2.0 || ^1.1" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } + "require-dev": { + "phpunit/phpunit": "^9.5 || ^5.7 || ^4.8.35" }, + "type": "library", "autoload": { "psr-4": { - "Psr\\Cache\\": "src/" + "React\\Cache\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -6425,20 +6375,498 @@ ], "authors": [ { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for caching libraries", + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" + } + ], + "description": "Async, Promise-based cache interface for ReactPHP", "keywords": [ "cache", - "psr", - "psr-6" + "caching", + "promise", + "reactphp" + ], + "support": { + "issues": "https://github.com/reactphp/cache/issues", + "source": "https://github.com/reactphp/cache/tree/v1.2.0" + }, + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2022-11-30T15:59:55+00:00" + }, + { + "name": "react/child-process", + "version": "v0.6.6", + "source": { + "type": "git", + "url": "https://github.com/reactphp/child-process.git", + "reference": "1721e2b93d89b745664353b9cfc8f155ba8a6159" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/reactphp/child-process/zipball/1721e2b93d89b745664353b9cfc8f155ba8a6159", + "reference": "1721e2b93d89b745664353b9cfc8f155ba8a6159", + "shasum": "" + }, + "require": { + "evenement/evenement": "^3.0 || ^2.0 || ^1.0", + "php": ">=5.3.0", + "react/event-loop": "^1.2", + "react/stream": "^1.4" + }, + "require-dev": { + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36", + "react/socket": "^1.16", + "sebastian/environment": "^5.0 || ^3.0 || ^2.0 || ^1.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "React\\ChildProcess\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" + } + ], + "description": "Event-driven library for executing child processes with ReactPHP.", + "keywords": [ + "event-driven", + "process", + "reactphp" + ], + "support": { + "issues": "https://github.com/reactphp/child-process/issues", + "source": "https://github.com/reactphp/child-process/tree/v0.6.6" + }, + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2025-01-01T16:37:48+00:00" + }, + { + "name": "react/dns", + "version": "v1.13.0", + "source": { + "type": "git", + "url": "https://github.com/reactphp/dns.git", + "reference": "eb8ae001b5a455665c89c1df97f6fb682f8fb0f5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/reactphp/dns/zipball/eb8ae001b5a455665c89c1df97f6fb682f8fb0f5", + "reference": "eb8ae001b5a455665c89c1df97f6fb682f8fb0f5", + "shasum": "" + }, + "require": { + "php": ">=5.3.0", + "react/cache": "^1.0 || ^0.6 || ^0.5", + "react/event-loop": "^1.2", + "react/promise": "^3.2 || ^2.7 || ^1.2.1" + }, + "require-dev": { + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36", + "react/async": "^4.3 || ^3 || ^2", + "react/promise-timer": "^1.11" + }, + "type": "library", + "autoload": { + "psr-4": { + "React\\Dns\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" + } + ], + "description": "Async DNS resolver for ReactPHP", + "keywords": [ + "async", + "dns", + "dns-resolver", + "reactphp" + ], + "support": { + "issues": "https://github.com/reactphp/dns/issues", + "source": "https://github.com/reactphp/dns/tree/v1.13.0" + }, + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2024-06-13T14:18:03+00:00" + }, + { + "name": "react/event-loop", + "version": "v1.5.0", + "source": { + "type": "git", + "url": "https://github.com/reactphp/event-loop.git", + "reference": "bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/reactphp/event-loop/zipball/bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354", + "reference": "bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36" + }, + "suggest": { + "ext-pcntl": "For signal handling support when using the StreamSelectLoop" + }, + "type": "library", + "autoload": { + "psr-4": { + "React\\EventLoop\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" + } + ], + "description": "ReactPHP's core reactor event loop that libraries can use for evented I/O.", + "keywords": [ + "asynchronous", + "event-loop" + ], + "support": { + "issues": "https://github.com/reactphp/event-loop/issues", + "source": "https://github.com/reactphp/event-loop/tree/v1.5.0" + }, + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2023-11-13T13:48:05+00:00" + }, + { + "name": "react/promise", + "version": "v3.2.0", + "source": { + "type": "git", + "url": "https://github.com/reactphp/promise.git", + "reference": "8a164643313c71354582dc850b42b33fa12a4b63" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/reactphp/promise/zipball/8a164643313c71354582dc850b42b33fa12a4b63", + "reference": "8a164643313c71354582dc850b42b33fa12a4b63", + "shasum": "" + }, + "require": { + "php": ">=7.1.0" + }, + "require-dev": { + "phpstan/phpstan": "1.10.39 || 1.4.10", + "phpunit/phpunit": "^9.6 || ^7.5" + }, + "type": "library", + "autoload": { + "files": [ + "src/functions_include.php" + ], + "psr-4": { + "React\\Promise\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" + } + ], + "description": "A lightweight implementation of CommonJS Promises/A for PHP", + "keywords": [ + "promise", + "promises" + ], + "support": { + "issues": "https://github.com/reactphp/promise/issues", + "source": "https://github.com/reactphp/promise/tree/v3.2.0" + }, + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2024-05-24T10:39:05+00:00" + }, + { + "name": "react/socket", + "version": "v1.16.0", + "source": { + "type": "git", + "url": "https://github.com/reactphp/socket.git", + "reference": "23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/reactphp/socket/zipball/23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1", + "reference": "23e4ff33ea3e160d2d1f59a0e6050e4b0fb0eac1", + "shasum": "" + }, + "require": { + "evenement/evenement": "^3.0 || ^2.0 || ^1.0", + "php": ">=5.3.0", + "react/dns": "^1.13", + "react/event-loop": "^1.2", + "react/promise": "^3.2 || ^2.6 || ^1.2.1", + "react/stream": "^1.4" + }, + "require-dev": { + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36", + "react/async": "^4.3 || ^3.3 || ^2", + "react/promise-stream": "^1.4", + "react/promise-timer": "^1.11" + }, + "type": "library", + "autoload": { + "psr-4": { + "React\\Socket\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" + } + ], + "description": "Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP", + "keywords": [ + "Connection", + "Socket", + "async", + "reactphp", + "stream" ], "support": { - "source": "https://github.com/php-fig/cache/tree/master" + "issues": "https://github.com/reactphp/socket/issues", + "source": "https://github.com/reactphp/socket/tree/v1.16.0" }, - "time": "2016-08-06T20:24:11+00:00" + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2024-07-26T10:38:09+00:00" + }, + { + "name": "react/stream", + "version": "v1.4.0", + "source": { + "type": "git", + "url": "https://github.com/reactphp/stream.git", + "reference": "1e5b0acb8fe55143b5b426817155190eb6f5b18d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/reactphp/stream/zipball/1e5b0acb8fe55143b5b426817155190eb6f5b18d", + "reference": "1e5b0acb8fe55143b5b426817155190eb6f5b18d", + "shasum": "" + }, + "require": { + "evenement/evenement": "^3.0 || ^2.0 || ^1.0", + "php": ">=5.3.8", + "react/event-loop": "^1.2" + }, + "require-dev": { + "clue/stream-filter": "~1.2", + "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36" + }, + "type": "library", + "autoload": { + "psr-4": { + "React\\Stream\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Christian Lück", + "email": "christian@clue.engineering", + "homepage": "https://clue.engineering/" + }, + { + "name": "Cees-Jan Kiewiet", + "email": "reactphp@ceesjankiewiet.nl", + "homepage": "https://wyrihaximus.net/" + }, + { + "name": "Jan Sorgalla", + "email": "jsorgalla@gmail.com", + "homepage": "https://sorgalla.com/" + }, + { + "name": "Chris Boden", + "email": "cboden@gmail.com", + "homepage": "https://cboden.dev/" + } + ], + "description": "Event-driven readable and writable streams for non-blocking I/O in ReactPHP", + "keywords": [ + "event-driven", + "io", + "non-blocking", + "pipe", + "reactphp", + "readable", + "stream", + "writable" + ], + "support": { + "issues": "https://github.com/reactphp/stream/issues", + "source": "https://github.com/reactphp/stream/tree/v1.4.0" + }, + "funding": [ + { + "url": "https://opencollective.com/reactphp", + "type": "open_collective" + } + ], + "time": "2024-06-11T12:45:25+00:00" }, { "name": "sebastian/cli-parser", @@ -6740,16 +7168,16 @@ }, { "name": "sebastian/diff", - "version": "4.0.4", + "version": "4.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ba01945089c3a293b01ba9badc29ad55b106b0bc", + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc", "shasum": "" }, "require": { @@ -6794,7 +7222,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.6" }, "funding": [ { @@ -6802,7 +7230,7 @@ "type": "github" } ], - "time": "2020-10-26T13:10:38+00:00" + "time": "2024-03-02T06:30:58+00:00" }, { "name": "sebastian/environment", @@ -7404,74 +7832,6 @@ ], "time": "2020-09-28T06:39:44+00:00" }, - { - "name": "symfony/polyfill-php70", - "version": "v1.20.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php70.git", - "reference": "5f03a781d984aae42cebd18e7912fa80f02ee644" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/5f03a781d984aae42cebd18e7912fa80f02ee644", - "reference": "5f03a781d984aae42cebd18e7912fa80f02ee644", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "metapackage", - "extra": { - "branch-alias": { - "dev-main": "1.20-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "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": "theseer/tokenizer", "version": "1.2.1", diff --git a/src/Autoload/ServiceContainer/AutoloadExtension.php b/src/Autoload/ServiceContainer/AutoloadExtension.php index 28c205de..21b5936f 100644 --- a/src/Autoload/ServiceContainer/AutoloadExtension.php +++ b/src/Autoload/ServiceContainer/AutoloadExtension.php @@ -13,7 +13,7 @@ class AutoloadExtension extends ExtensionBase implements ExtensionInterface { - const SERVICE_CLASS_LOADER = 'autoload.class_loader'; + public const SERVICE_CLASS_LOADER = 'autoload.class_loader'; /** * Returns the extension config key. diff --git a/src/Cli/Application.php b/src/Cli/Application.php index 116312a8..64b8726a 100644 --- a/src/Cli/Application.php +++ b/src/Cli/Application.php @@ -22,8 +22,8 @@ class Application extends BaseApplication { - const PARAMETER_CONFIG = 'config'; - const PARAMETER_WORKING_DIR = 'working_dir'; + public const PARAMETER_CONFIG = 'config'; + public const PARAMETER_WORKING_DIR = 'working_dir'; /** * @var ConfigurationLoader diff --git a/src/Cli/ServiceContainer/CliExtension.php b/src/Cli/ServiceContainer/CliExtension.php index 04cafd90..c2f3dd27 100644 --- a/src/Cli/ServiceContainer/CliExtension.php +++ b/src/Cli/ServiceContainer/CliExtension.php @@ -10,11 +10,11 @@ class CliExtension extends ExtensionBase implements ExtensionInterface { - const PARAMETER_COMMAND_SERVICE_IDS = 'cli.command.service_ids'; - const SERVICE_APPLICATION = 'cli.application'; - const SERVICE_INPUT = 'cli.input'; - const SERVICE_OUTPUT = 'cli.output'; - const TAG_COMMAND = 'cli.command'; + public const PARAMETER_COMMAND_SERVICE_IDS = 'cli.command.service_ids'; + public const SERVICE_APPLICATION = 'cli.application'; + public const SERVICE_INPUT = 'cli.input'; + public const SERVICE_OUTPUT = 'cli.output'; + public const TAG_COMMAND = 'cli.command'; /** * Returns the extension config key. diff --git a/src/Configuration/ConfigurationLoader.php b/src/Configuration/ConfigurationLoader.php index 2f74b60b..e3cd9e35 100644 --- a/src/Configuration/ConfigurationLoader.php +++ b/src/Configuration/ConfigurationLoader.php @@ -10,9 +10,9 @@ class ConfigurationLoader { - const CONFIG_NAME = 'meteor.json'; - const DIST_CONFIG_NAME = 'meteor.json.dist'; - const PACKAGE_CONFIG_NAME = 'meteor.json.package'; + public const CONFIG_NAME = 'meteor.json'; + public const DIST_CONFIG_NAME = 'meteor.json.dist'; + public const PACKAGE_CONFIG_NAME = 'meteor.json.package'; /** * @var ExtensionManager @@ -39,7 +39,7 @@ class ConfigurationLoader * @param TreeBuilder $treeBuilder * @param Processor $processor */ - public function __construct(ExtensionManager $extensionManager, TreeBuilder $treeBuilder = null, Processor $processor = null) + public function __construct(ExtensionManager $extensionManager, ?TreeBuilder $treeBuilder = null, ?Processor $processor = null) { $this->extensionManager = $extensionManager; $this->treeBuilder = $treeBuilder ?: new TreeBuilder('meteor'); @@ -117,9 +117,9 @@ public function process(array $config) * @param string $path * @param bool $strict * - * @throws ConfigurationLoadingException - * * @return array + * + * @throws ConfigurationLoadingException */ public function load($path, $strict = true) { diff --git a/src/Configuration/JsonFormatter.php b/src/Configuration/JsonFormatter.php index 8c52c04c..e31521ef 100644 --- a/src/Configuration/JsonFormatter.php +++ b/src/Configuration/JsonFormatter.php @@ -80,7 +80,7 @@ public static function format($json, $unescapeUnicode, $unescapeSlashes) if (':' === $char) { // Add a space after the : character $char .= ' '; - } elseif (('}' === $char || ']' === $char)) { + } elseif ('}' === $char || ']' === $char) { --$pos; $prevChar = substr($json, $i - 1, 1); diff --git a/src/Configuration/ServiceContainer/ConfigurationExtension.php b/src/Configuration/ServiceContainer/ConfigurationExtension.php index bc1cbabe..ec1bba60 100644 --- a/src/Configuration/ServiceContainer/ConfigurationExtension.php +++ b/src/Configuration/ServiceContainer/ConfigurationExtension.php @@ -13,8 +13,8 @@ class ConfigurationExtension extends ExtensionBase implements ExtensionInterface { // NB: Set in Application - const SERVICE_LOADER = 'configuration.loader'; - const SERVICE_WRITER = 'configuration.writer'; + public const SERVICE_LOADER = 'configuration.loader'; + public const SERVICE_WRITER = 'configuration.writer'; /** * Returns the extension config key. diff --git a/src/EventDispatcher/ServiceContainer/EventDispatcherExtension.php b/src/EventDispatcher/ServiceContainer/EventDispatcherExtension.php index f5bc91a6..0e62953f 100644 --- a/src/EventDispatcher/ServiceContainer/EventDispatcherExtension.php +++ b/src/EventDispatcher/ServiceContainer/EventDispatcherExtension.php @@ -12,8 +12,8 @@ class EventDispatcherExtension extends ExtensionBase implements ExtensionInterface { - const SERVICE_EVENT_DISPATCHER = 'events.event_dispatcher'; - const TAG_SUBSCRIBER = 'events.subscriber'; + public const SERVICE_EVENT_DISPATCHER = 'events.event_dispatcher'; + public const TAG_SUBSCRIBER = 'events.subscriber'; /** * Returns the extension config key. diff --git a/src/Filesystem/ServiceContainer/FilesystemExtension.php b/src/Filesystem/ServiceContainer/FilesystemExtension.php index c7cfb35b..e9ffba6b 100644 --- a/src/Filesystem/ServiceContainer/FilesystemExtension.php +++ b/src/Filesystem/ServiceContainer/FilesystemExtension.php @@ -15,8 +15,8 @@ class FilesystemExtension extends ExtensionBase implements ExtensionInterface { - const SERVICE_FILESYSTEM = 'filesystem'; - const SERVICE_FINDER_FACTORY = 'filesystem.finder.factory'; + public const SERVICE_FILESYSTEM = 'filesystem'; + public const SERVICE_FINDER_FACTORY = 'filesystem.finder.factory'; /** * Returns the extension config key. diff --git a/src/IO/ConsoleIO.php b/src/IO/ConsoleIO.php index d4d6782d..4fb3cc50 100644 --- a/src/IO/ConsoleIO.php +++ b/src/IO/ConsoleIO.php @@ -21,7 +21,7 @@ class ConsoleIO implements IOInterface { - const MAX_LINE_LENGTH = 120; + public const MAX_LINE_LENGTH = 120; /** * @var InputInterface @@ -454,16 +454,16 @@ private function autoPrependBlock() $chars = substr(str_replace(PHP_EOL, "\n", $this->bufferedOutput->fetch()), -2); if (!isset($chars[0])) { - return $this->newLine(); //empty history, so we should start with a new line. + return $this->newLine(); // empty history, so we should start with a new line. } - //Prepend new line for each non LF chars (This means no blank line was output before) + // Prepend new line for each non LF chars (This means no blank line was output before) $this->newLine(2 - substr_count($chars, "\n")); } private function autoPrependText() { $fetched = $this->bufferedOutput->fetch(); - //Prepend new line if last char isn't EOL: + // Prepend new line if last char isn't EOL: if ("\n" !== substr($fetched, -1)) { $this->newLine(); } diff --git a/src/IO/IOInterface.php b/src/IO/IOInterface.php index 775fe8f5..4ffe4297 100644 --- a/src/IO/IOInterface.php +++ b/src/IO/IOInterface.php @@ -60,9 +60,9 @@ public function hasOption($name); * @param string|array $question The question to ask * @param string $default The default answer if none is given by the user * - * @throws \RuntimeException If there is no data to read in the input stream - * * @return string The user answer + * + * @throws \RuntimeException If there is no data to read in the input stream */ public function ask($question, $default = null); diff --git a/src/IO/ServiceContainer/IOExtension.php b/src/IO/ServiceContainer/IOExtension.php index b27f486e..47e13205 100644 --- a/src/IO/ServiceContainer/IOExtension.php +++ b/src/IO/ServiceContainer/IOExtension.php @@ -14,7 +14,7 @@ class IOExtension extends ExtensionBase implements ExtensionInterface { - const SERVICE_IO = 'io'; + public const SERVICE_IO = 'io'; /** * Returns the extension config key. diff --git a/src/Logger/ServiceContainer/LoggerExtension.php b/src/Logger/ServiceContainer/LoggerExtension.php index b360e37d..606a19b7 100644 --- a/src/Logger/ServiceContainer/LoggerExtension.php +++ b/src/Logger/ServiceContainer/LoggerExtension.php @@ -12,7 +12,7 @@ class LoggerExtension extends ExtensionBase implements ExtensionInterface { - const SERVICE_LOGGER = 'logger'; + public const SERVICE_LOGGER = 'logger'; /** * Returns the extension config key. diff --git a/src/Migrations/Configuration/FileConfiguration.php b/src/Migrations/Configuration/FileConfiguration.php index 0715e8da..a24f57d2 100644 --- a/src/Migrations/Configuration/FileConfiguration.php +++ b/src/Migrations/Configuration/FileConfiguration.php @@ -8,7 +8,7 @@ class FileConfiguration extends AbstractConfiguration implements JaduPathAwareConfigurationInterface { - const MIGRATION_DIRECTORY = 'filesystem'; + public const MIGRATION_DIRECTORY = 'filesystem'; /** * @var FileMigrationVersionStorage @@ -24,7 +24,7 @@ public function getVersionStorage() } /** - * @return FileMigrationVersion[] + * @return FileMigrationVersion[] */ public function registerMigrationsFromDirectory(string $path): array { diff --git a/src/Migrations/Connection/Configuration/Loader/SystemConfigurationLoader.php b/src/Migrations/Connection/Configuration/Loader/SystemConfigurationLoader.php index 31659f36..d01d2bd6 100644 --- a/src/Migrations/Connection/Configuration/Loader/SystemConfigurationLoader.php +++ b/src/Migrations/Connection/Configuration/Loader/SystemConfigurationLoader.php @@ -4,7 +4,7 @@ class SystemConfigurationLoader implements ConfigurationLoaderInterface { - const CONFIG_FILENAME = 'config/system.xml'; + public const CONFIG_FILENAME = 'config/system.xml'; /** * {@inheritdoc} diff --git a/src/Migrations/MigrationsConstants.php b/src/Migrations/MigrationsConstants.php index 7a09b8af..9df5620d 100644 --- a/src/Migrations/MigrationsConstants.php +++ b/src/Migrations/MigrationsConstants.php @@ -4,6 +4,6 @@ final class MigrationsConstants { - const TYPE_DATABASE = 'database'; - const TYPE_FILE = 'file'; + public const TYPE_DATABASE = 'database'; + public const TYPE_FILE = 'file'; } diff --git a/src/Migrations/ServiceContainer/MigrationsExtension.php b/src/Migrations/ServiceContainer/MigrationsExtension.php index 338e1855..15419b92 100644 --- a/src/Migrations/ServiceContainer/MigrationsExtension.php +++ b/src/Migrations/ServiceContainer/MigrationsExtension.php @@ -19,29 +19,29 @@ class MigrationsExtension extends ExtensionBase implements ExtensionInterface { - const PARAMETER_MIGRATIONS = 'migrations'; - const SERVICE_CONFIGURATION_FACTORY = 'migrations.configuration.factory'; - const SERVICE_CONNECTION_CONFIGURATION_LOADER = 'migrations.connection.configuration.loader'; - const SERVICE_CONNECTION_CONFIGURATION_LOADER_INPUT_OPTION = 'migrations.connection.configuration.loader.input_option'; - const SERVICE_CONNECTION_CONFIGURATION_LOADER_INPUT_QUESTION = 'migrations.connection.configuration.loader.input_question'; - const SERVICE_CONNECTION_CONFIGURATION_LOADER_SYSTEM = 'migrations.connection.configuration.loader.system'; - const SERVICE_CONNECTION_FACTORY = 'migrations.connection.factory'; - const SERVICE_COMMAND_EXECUTE_DATABASE_MIGRATION = 'migrations.cli.command.execute_database_migration'; - const SERVICE_COMMAND_EXECUTE_FILE_MIGRATION = 'migrations.cli.command.execute_file_migration'; - const SERVICE_COMMAND_GENERATE_DATABASE_MIGRATION = 'migrations.cli.command.generate_database_migration'; - const SERVICE_COMMAND_GENERATE_FILE_MIGRATION = 'migrations.cli.command.generate_file_migration'; - const SERVICE_COMMAND_MIGRATE_DATABASE = 'migrations.cli.command.migrate_database'; - const SERVICE_COMMAND_MIGRATE_FILES = 'migrations.cli.command.migrate_files'; - const SERVICE_COMMAND_DATABASE_MIGRATION_STATUS = 'migrations.cli.command.database_status'; - const SERVICE_COMMAND_FILE_MIGRATION_STATUS = 'migrations.cli.command.file_status'; - const SERVICE_COMMAND_DATABASE_MIGRATION_VERSION = 'migrations.cli.command.database_version'; - const SERVICE_COMMAND_FILE_MIGRATION_VERSION = 'migrations.cli.command.file_version'; - const SERVICE_MIGRATION_GENERATOR = 'migrations.migration_generator'; - const SERVICE_MIGRATOR = 'migrations.migrator'; - const SERVICE_STATUS_OUTPUTTER = 'migrations.outputter.status'; - const SERVICE_VERSION_FILE_MANAGER = 'migrations.version.version_file_manager'; - const SERVICE_VERSION_FILE_MIGRATION_VERSION_STORAGE_FACTORY = 'migrations.version.file_migration_version_storage_factory'; - const SERVICE_VERSION_MANAGER = 'migrations.version.manager'; + public const PARAMETER_MIGRATIONS = 'migrations'; + public const SERVICE_CONFIGURATION_FACTORY = 'migrations.configuration.factory'; + public const SERVICE_CONNECTION_CONFIGURATION_LOADER = 'migrations.connection.configuration.loader'; + public const SERVICE_CONNECTION_CONFIGURATION_LOADER_INPUT_OPTION = 'migrations.connection.configuration.loader.input_option'; + public const SERVICE_CONNECTION_CONFIGURATION_LOADER_INPUT_QUESTION = 'migrations.connection.configuration.loader.input_question'; + public const SERVICE_CONNECTION_CONFIGURATION_LOADER_SYSTEM = 'migrations.connection.configuration.loader.system'; + public const SERVICE_CONNECTION_FACTORY = 'migrations.connection.factory'; + public const SERVICE_COMMAND_EXECUTE_DATABASE_MIGRATION = 'migrations.cli.command.execute_database_migration'; + public const SERVICE_COMMAND_EXECUTE_FILE_MIGRATION = 'migrations.cli.command.execute_file_migration'; + public const SERVICE_COMMAND_GENERATE_DATABASE_MIGRATION = 'migrations.cli.command.generate_database_migration'; + public const SERVICE_COMMAND_GENERATE_FILE_MIGRATION = 'migrations.cli.command.generate_file_migration'; + public const SERVICE_COMMAND_MIGRATE_DATABASE = 'migrations.cli.command.migrate_database'; + public const SERVICE_COMMAND_MIGRATE_FILES = 'migrations.cli.command.migrate_files'; + public const SERVICE_COMMAND_DATABASE_MIGRATION_STATUS = 'migrations.cli.command.database_status'; + public const SERVICE_COMMAND_FILE_MIGRATION_STATUS = 'migrations.cli.command.file_status'; + public const SERVICE_COMMAND_DATABASE_MIGRATION_VERSION = 'migrations.cli.command.database_version'; + public const SERVICE_COMMAND_FILE_MIGRATION_VERSION = 'migrations.cli.command.file_version'; + public const SERVICE_MIGRATION_GENERATOR = 'migrations.migration_generator'; + public const SERVICE_MIGRATOR = 'migrations.migrator'; + public const SERVICE_STATUS_OUTPUTTER = 'migrations.outputter.status'; + public const SERVICE_VERSION_FILE_MANAGER = 'migrations.version.version_file_manager'; + public const SERVICE_VERSION_FILE_MIGRATION_VERSION_STORAGE_FACTORY = 'migrations.version.file_migration_version_storage_factory'; + public const SERVICE_VERSION_MANAGER = 'migrations.version.manager'; /** * Returns the extension config key. diff --git a/src/Migrations/Version/FileMigrationVersion.php b/src/Migrations/Version/FileMigrationVersion.php index fa0a700a..03896a6c 100644 --- a/src/Migrations/Version/FileMigrationVersion.php +++ b/src/Migrations/Version/FileMigrationVersion.php @@ -20,7 +20,7 @@ class FileMigrationVersion extends Version * @param string $class * @param FileMigrationVersionStorage $versionStorage */ - public function __construct(Configuration $configuration, $version, $class, Executor $executor, FileMigrationVersionStorage $versionStorage = null) + public function __construct(Configuration $configuration, $version, $class, Executor $executor, ?FileMigrationVersionStorage $versionStorage = null) { parent::__construct($configuration, $version, $class, $executor); diff --git a/src/Migrations/Version/FileMigrationVersionStorageFactory.php b/src/Migrations/Version/FileMigrationVersionStorageFactory.php index 7061d053..03314560 100644 --- a/src/Migrations/Version/FileMigrationVersionStorageFactory.php +++ b/src/Migrations/Version/FileMigrationVersionStorageFactory.php @@ -6,7 +6,7 @@ class FileMigrationVersionStorageFactory { - const STORAGE_DIR = '.meteor/file-migrations'; + public const STORAGE_DIR = '.meteor/file-migrations'; /** * @var Filesystem diff --git a/src/Migrations/Version/VersionFileManager.php b/src/Migrations/Version/VersionFileManager.php index 0b19d2d5..fea0bc3e 100644 --- a/src/Migrations/Version/VersionFileManager.php +++ b/src/Migrations/Version/VersionFileManager.php @@ -4,8 +4,8 @@ class VersionFileManager { - const DATABASE_MIGRATION = 'MIGRATION_NUMBER'; - const FILE_MIGRATION = 'FILE_SYSTEM_MIGRATION_NUMBER'; + public const DATABASE_MIGRATION = 'MIGRATION_NUMBER'; + public const FILE_MIGRATION = 'FILE_SYSTEM_MIGRATION_NUMBER'; /** * @param string $path diff --git a/src/Package/Combined/CombinedPackageDependencyChecker.php b/src/Package/Combined/CombinedPackageDependencyChecker.php index 9a9a973b..2c74122f 100644 --- a/src/Package/Combined/CombinedPackageDependencyChecker.php +++ b/src/Package/Combined/CombinedPackageDependencyChecker.php @@ -11,9 +11,9 @@ class CombinedPackageDependencyChecker * @param string $tempDir * @param array $config * - * @throws CombinedPackageDependenciesException - * * @return bool + * + * @throws CombinedPackageDependenciesException */ public function check($tempDir, array $config) { diff --git a/src/Package/Combined/CombinedPackageProblem.php b/src/Package/Combined/CombinedPackageProblem.php index 530600f2..68a54968 100644 --- a/src/Package/Combined/CombinedPackageProblem.php +++ b/src/Package/Combined/CombinedPackageProblem.php @@ -4,8 +4,8 @@ class CombinedPackageProblem { - const REASON_MISSING = 0; - const REASON_VERSION = 1; + public const REASON_MISSING = 0; + public const REASON_VERSION = 1; /** * @var CombinedPackageRequirement diff --git a/src/Package/Combined/CombinedPackageResolver.php b/src/Package/Combined/CombinedPackageResolver.php index 5e6af199..b7aa7292 100644 --- a/src/Package/Combined/CombinedPackageResolver.php +++ b/src/Package/Combined/CombinedPackageResolver.php @@ -41,7 +41,7 @@ class CombinedPackageResolver * @param IOInterface $io * @param PackageProviderInterface $packageProvider */ - public function __construct(PackageCombiner $packageCombiner, CombinedPackageDependencyChecker $combinedPackageDependencyChecker, Filesystem $filesystem, IOInterface $io, PackageProviderInterface $packageProvider = null) + public function __construct(PackageCombiner $packageCombiner, CombinedPackageDependencyChecker $combinedPackageDependencyChecker, Filesystem $filesystem, IOInterface $io, ?PackageProviderInterface $packageProvider = null) { $this->packageCombiner = $packageCombiner; $this->combinedPackageDependencyChecker = $combinedPackageDependencyChecker; diff --git a/src/Package/Composer/ComposerDependencyChecker.php b/src/Package/Composer/ComposerDependencyChecker.php index b11edf73..4efe51c8 100644 --- a/src/Package/Composer/ComposerDependencyChecker.php +++ b/src/Package/Composer/ComposerDependencyChecker.php @@ -45,9 +45,9 @@ public function getRequirements($workingDir) * @param string $workingDir * @param array $config * - * @throws ComposerDependenciesException - * * @return bool + * + * @throws ComposerDependenciesException */ public function check($workingDir, array $config) { diff --git a/src/Package/Composer/ComposerProblem.php b/src/Package/Composer/ComposerProblem.php index 9da4b175..2a2613fd 100644 --- a/src/Package/Composer/ComposerProblem.php +++ b/src/Package/Composer/ComposerProblem.php @@ -4,8 +4,8 @@ class ComposerProblem { - const REASON_MISSING = 0; - const REASON_CONSTRAINT = 1; + public const REASON_MISSING = 0; + public const REASON_CONSTRAINT = 1; /** * @var ComposerRequirement diff --git a/src/Package/PackageConstants.php b/src/Package/PackageConstants.php index f4f055a6..7f41720a 100644 --- a/src/Package/PackageConstants.php +++ b/src/Package/PackageConstants.php @@ -4,5 +4,5 @@ final class PackageConstants { - const PATCH_DIR = 'to_patch'; + public const PATCH_DIR = 'to_patch'; } diff --git a/src/Package/PackageExtractor.php b/src/Package/PackageExtractor.php index 56e1268d..513b63ab 100644 --- a/src/Package/PackageExtractor.php +++ b/src/Package/PackageExtractor.php @@ -14,9 +14,9 @@ class PackageExtractor * @param string $packagePath * @param string $targetDir * - * @throws RuntimeException - * * @return string + * + * @throws RuntimeException */ public function extract($packagePath, $targetDir) { @@ -34,9 +34,9 @@ public function extract($packagePath, $targetDir) /** * @param string $path * - * @throws RuntimeException - * * @return string + * + * @throws RuntimeException */ private function findFirstDirectoryWithMeteorConfig($path) { diff --git a/src/Package/Provider/BasicHttp/ServiceContainer/BasicHttpPackageProviderExtension.php b/src/Package/Provider/BasicHttp/ServiceContainer/BasicHttpPackageProviderExtension.php index bdb40b28..672dd7b1 100644 --- a/src/Package/Provider/BasicHttp/ServiceContainer/BasicHttpPackageProviderExtension.php +++ b/src/Package/Provider/BasicHttp/ServiceContainer/BasicHttpPackageProviderExtension.php @@ -15,8 +15,8 @@ class BasicHttpPackageProviderExtension extends ExtensionBase implements ExtensionInterface { - const PROVIDER_NAME = 'http'; - const PARAMETER_BASE_URLS = 'http_package_provider.base_urls'; + public const PROVIDER_NAME = 'http'; + public const PARAMETER_BASE_URLS = 'http_package_provider.base_urls'; /** * Returns the extension config key. diff --git a/src/Package/Provider/Dummy/ServiceContainer/DummyPackageProviderExtension.php b/src/Package/Provider/Dummy/ServiceContainer/DummyPackageProviderExtension.php index 4e60a98c..4cfd94af 100644 --- a/src/Package/Provider/Dummy/ServiceContainer/DummyPackageProviderExtension.php +++ b/src/Package/Provider/Dummy/ServiceContainer/DummyPackageProviderExtension.php @@ -12,7 +12,7 @@ class DummyPackageProviderExtension extends ExtensionBase implements ExtensionInterface { - const PROVIDER_NAME = 'dummy'; + public const PROVIDER_NAME = 'dummy'; /** * Returns the extension config key. diff --git a/src/Package/Provider/GoogleDrive/ServiceContainer/GoogleDrivePackageProviderExtension.php b/src/Package/Provider/GoogleDrive/ServiceContainer/GoogleDrivePackageProviderExtension.php index d8aadb99..cb8212fd 100644 --- a/src/Package/Provider/GoogleDrive/ServiceContainer/GoogleDrivePackageProviderExtension.php +++ b/src/Package/Provider/GoogleDrive/ServiceContainer/GoogleDrivePackageProviderExtension.php @@ -15,9 +15,9 @@ class GoogleDrivePackageProviderExtension extends ExtensionBase implements ExtensionInterface { - const PROVIDER_NAME = 'gdrive'; - const PARAMETER_BINARY = 'gdrive_package_provider.binary'; - const PARAMETER_FOLDERS = 'gdrive_package_provider.folders'; + public const PROVIDER_NAME = 'gdrive'; + public const PARAMETER_BINARY = 'gdrive_package_provider.binary'; + public const PARAMETER_FOLDERS = 'gdrive_package_provider.folders'; /** * Returns the extension config key. diff --git a/src/Package/ServiceContainer/PackageExtension.php b/src/Package/ServiceContainer/PackageExtension.php index 343430ce..9b689c50 100644 --- a/src/Package/ServiceContainer/PackageExtension.php +++ b/src/Package/ServiceContainer/PackageExtension.php @@ -29,19 +29,19 @@ class PackageExtension extends ExtensionBase implements ExtensionInterface { - const PARAMETER_PROVIDER = 'package.provider'; - const SERVICE_COMBINED_PACKAGE_DEPENDENCY_CHECKER = 'package.combined.package_dependency_checker'; - const SERVICE_COMBINED_PACKAGE_COMBINER = 'package.combined.package_combiner'; - const SERVICE_COMBINED_PACKAGE_RESOLVER = 'package.combined.package_resolver'; - const SERVICE_COMMAND_PACKAGE = 'package.cli.command.package'; - const SERVICE_COMPOSER_DEPENDENCY_CHECKER = 'package.composer.dependency_checker'; - const SERVICE_MIGRATIONS_COPIER = 'package.migrations.copier'; - const SERVICE_PACKAGE_ARCHIVER = 'package.archiver'; - const SERVICE_PACKAGE_CREATOR = 'package.creator'; - const SERVICE_PACKAGE_EXTRACTOR = 'package.extractor'; - const SERVICE_PACKAGE_NAME_RESOLVER = 'package.name_resolver'; - const SERVICE_PROVIDER_PREFIX = 'package.provider'; - const SERVICE_PROVIDER = 'package.provider'; + public const PARAMETER_PROVIDER = 'package.provider'; + public const SERVICE_COMBINED_PACKAGE_DEPENDENCY_CHECKER = 'package.combined.package_dependency_checker'; + public const SERVICE_COMBINED_PACKAGE_COMBINER = 'package.combined.package_combiner'; + public const SERVICE_COMBINED_PACKAGE_RESOLVER = 'package.combined.package_resolver'; + public const SERVICE_COMMAND_PACKAGE = 'package.cli.command.package'; + public const SERVICE_COMPOSER_DEPENDENCY_CHECKER = 'package.composer.dependency_checker'; + public const SERVICE_MIGRATIONS_COPIER = 'package.migrations.copier'; + public const SERVICE_PACKAGE_ARCHIVER = 'package.archiver'; + public const SERVICE_PACKAGE_CREATOR = 'package.creator'; + public const SERVICE_PACKAGE_EXTRACTOR = 'package.extractor'; + public const SERVICE_PACKAGE_NAME_RESOLVER = 'package.name_resolver'; + public const SERVICE_PROVIDER_PREFIX = 'package.provider'; + public const SERVICE_PROVIDER = 'package.provider'; private $extensions; @@ -129,7 +129,7 @@ private function loadCombinedPackageCombiner(ContainerBuilder $container) { $container->setDefinition( self::SERVICE_COMBINED_PACKAGE_COMBINER, - new Definition(PackageCombiner::class, [ + new Definition(PackageCombiner::class, [ new Reference(ConfigurationExtension::SERVICE_LOADER), new Reference(FilesystemExtension::SERVICE_FILESYSTEM), new Reference(self::SERVICE_PACKAGE_EXTRACTOR), diff --git a/src/Patch/Event/PatchEvents.php b/src/Patch/Event/PatchEvents.php index af4849f4..5defd25b 100644 --- a/src/Patch/Event/PatchEvents.php +++ b/src/Patch/Event/PatchEvents.php @@ -4,8 +4,8 @@ final class PatchEvents { - const PRE_APPLY = 'patch.pre-apply'; - const POST_APPLY = 'patch.post-apply'; - const PRE_ROLLBACK = 'patch.pre-rollback'; - const POST_ROLLBACK = 'patch.post-rollback'; + public const PRE_APPLY = 'patch.pre-apply'; + public const POST_APPLY = 'patch.post-apply'; + public const PRE_ROLLBACK = 'patch.pre-rollback'; + public const POST_ROLLBACK = 'patch.post-rollback'; } diff --git a/src/Patch/Lock/Locker.php b/src/Patch/Lock/Locker.php index ea47c159..9966edda 100644 --- a/src/Patch/Lock/Locker.php +++ b/src/Patch/Lock/Locker.php @@ -6,7 +6,7 @@ class Locker { - const FILENAME = 'meteor.lock'; + public const FILENAME = 'meteor.lock'; /** * @param string $path diff --git a/src/Patch/Manifest/ManifestChecker.php b/src/Patch/Manifest/ManifestChecker.php index 5e62bef6..9945b165 100644 --- a/src/Patch/Manifest/ManifestChecker.php +++ b/src/Patch/Manifest/ManifestChecker.php @@ -6,7 +6,7 @@ class ManifestChecker { - const MANIFEST_FILENAME = 'meteor.manifest'; + public const MANIFEST_FILENAME = 'meteor.manifest'; /** * @var IOInterface diff --git a/src/Patch/ServiceContainer/PatchExtension.php b/src/Patch/ServiceContainer/PatchExtension.php index bdb5b8f0..c7378a97 100644 --- a/src/Patch/ServiceContainer/PatchExtension.php +++ b/src/Patch/ServiceContainer/PatchExtension.php @@ -53,34 +53,34 @@ class PatchExtension extends ExtensionBase implements ExtensionInterface, ScriptEventProviderInterface { - const PARAMETER_STRATEGY = 'patch.strategy'; - const SERVICE_BACKUP_FINDER = 'patch.backup.finder'; - const SERVICE_COMMAND_APPLY = 'patch.cli.command.apply'; - const SERVICE_COMMAND_VERIFY = 'patch.cli.command.verify'; - const SERVICE_COMMAND_CLEAR_LOCK = 'patch.cli.command.clear_lock'; - const SERVICE_COMMAND_ROLLBACK = 'patch.cli.command.rollback'; - const SERVICE_COMMAND_VERSION_INFO = 'patch.cli.command.version_info'; - const SERVICE_LOCKER = 'patch.locker'; - const SERVICE_MANIFEST_CHECKER = 'patch.manifest_checker'; - const SERVICE_STRATEGY_PREFIX = 'patch.strategy'; - const SERVICE_STRATEGY = 'patch.strategy'; - const SERVICE_TASK_BUS = 'patch.task_bus'; - const SERVICE_TASK_BACKUP_FILES_HANDLER = 'patch.task.backup_files_handler'; - const SERVICE_TASK_LIMIT_BACKUPS_HANDLER = 'patch.task.limit_backups_handler'; - const SERVICE_TASK_CHECK_DATABASE_CONNECTION_HANDLER = 'patch.task.check_database_connection_handler'; - const SERVICE_TASK_CHECK_DISK_SPACE_HANDLER = 'patch.task.check_disk_space_handler'; - const SERVICE_TASK_CHECK_MODULE_CMS_DEPENDENCY_HANDLER = 'patch.task.check_module_cms_dependency_handler'; - const SERVICE_TASK_CHECK_VERSION_HANDLER = 'patch.task.check_version_handler'; - const SERVICE_TASK_CHECK_WRITE_PERMISSION_HANDLER = 'patch.task.check_write_permission_handler'; - const SERVICE_TASK_COPY_FILES_HANDLER = 'patch.task.copy_files_handler'; - const SERVICE_TASK_DELETE_BACKUP_HANDLER = 'patch.task.delete_backup_handler'; - const SERVICE_TASK_DISPLAY_VERSION_INFO_HANDLER = 'patch.task.display_version_info_handler'; - const SERVICE_TASK_MIGRATE_DOWN_HANDLER = 'patch.task.migrate_down_handler'; - const SERVICE_TASK_MIGRATE_UP_HANDLER = 'patch.task.migrate_up_handler'; - const SERVICE_TASK_SET_PERMISSIONS_HANDLER = 'patch.task.set_permissions_handler'; - const SERVICE_TASK_UPDATE_MIGRATION_VERSION_FILES_HANDLER = 'patch.task.update_database_migration_version_files_handler'; - const SERVICE_VERSION_COMPARER = 'patch.version.comparer'; - const TAG_TASK_HANDLER = 'patch.task_handler'; + public const PARAMETER_STRATEGY = 'patch.strategy'; + public const SERVICE_BACKUP_FINDER = 'patch.backup.finder'; + public const SERVICE_COMMAND_APPLY = 'patch.cli.command.apply'; + public const SERVICE_COMMAND_VERIFY = 'patch.cli.command.verify'; + public const SERVICE_COMMAND_CLEAR_LOCK = 'patch.cli.command.clear_lock'; + public const SERVICE_COMMAND_ROLLBACK = 'patch.cli.command.rollback'; + public const SERVICE_COMMAND_VERSION_INFO = 'patch.cli.command.version_info'; + public const SERVICE_LOCKER = 'patch.locker'; + public const SERVICE_MANIFEST_CHECKER = 'patch.manifest_checker'; + public const SERVICE_STRATEGY_PREFIX = 'patch.strategy'; + public const SERVICE_STRATEGY = 'patch.strategy'; + public const SERVICE_TASK_BUS = 'patch.task_bus'; + public const SERVICE_TASK_BACKUP_FILES_HANDLER = 'patch.task.backup_files_handler'; + public const SERVICE_TASK_LIMIT_BACKUPS_HANDLER = 'patch.task.limit_backups_handler'; + public const SERVICE_TASK_CHECK_DATABASE_CONNECTION_HANDLER = 'patch.task.check_database_connection_handler'; + public const SERVICE_TASK_CHECK_DISK_SPACE_HANDLER = 'patch.task.check_disk_space_handler'; + public const SERVICE_TASK_CHECK_MODULE_CMS_DEPENDENCY_HANDLER = 'patch.task.check_module_cms_dependency_handler'; + public const SERVICE_TASK_CHECK_VERSION_HANDLER = 'patch.task.check_version_handler'; + public const SERVICE_TASK_CHECK_WRITE_PERMISSION_HANDLER = 'patch.task.check_write_permission_handler'; + public const SERVICE_TASK_COPY_FILES_HANDLER = 'patch.task.copy_files_handler'; + public const SERVICE_TASK_DELETE_BACKUP_HANDLER = 'patch.task.delete_backup_handler'; + public const SERVICE_TASK_DISPLAY_VERSION_INFO_HANDLER = 'patch.task.display_version_info_handler'; + public const SERVICE_TASK_MIGRATE_DOWN_HANDLER = 'patch.task.migrate_down_handler'; + public const SERVICE_TASK_MIGRATE_UP_HANDLER = 'patch.task.migrate_up_handler'; + public const SERVICE_TASK_SET_PERMISSIONS_HANDLER = 'patch.task.set_permissions_handler'; + public const SERVICE_TASK_UPDATE_MIGRATION_VERSION_FILES_HANDLER = 'patch.task.update_database_migration_version_files_handler'; + public const SERVICE_VERSION_COMPARER = 'patch.version.comparer'; + public const TAG_TASK_HANDLER = 'patch.task_handler'; /** * Returns the extension config key. @@ -562,9 +562,9 @@ public function process(ContainerBuilder $container) } $container->getDefinition(self::SERVICE_TASK_BUS)->addMethodCall('registerHandler', [ - $attributes['task'], - new Reference($id), - ] + $attributes['task'], + new Reference($id), + ] ) ->setPublic(true); } diff --git a/src/Patch/Strategy/Dummy/ServiceContainer/DummyPatchStrategyExtension.php b/src/Patch/Strategy/Dummy/ServiceContainer/DummyPatchStrategyExtension.php index d5f4ed34..d0a3cc62 100644 --- a/src/Patch/Strategy/Dummy/ServiceContainer/DummyPatchStrategyExtension.php +++ b/src/Patch/Strategy/Dummy/ServiceContainer/DummyPatchStrategyExtension.php @@ -12,7 +12,7 @@ class DummyPatchStrategyExtension extends ExtensionBase implements ExtensionInterface { - const STRATEGY_NAME = 'dummy'; + public const STRATEGY_NAME = 'dummy'; /** * Returns the extension config key. diff --git a/src/Patch/Strategy/Overwrite/ServiceContainer/OverwritePatchStrategyExtension.php b/src/Patch/Strategy/Overwrite/ServiceContainer/OverwritePatchStrategyExtension.php index cdb56768..c6a7e28e 100644 --- a/src/Patch/Strategy/Overwrite/ServiceContainer/OverwritePatchStrategyExtension.php +++ b/src/Patch/Strategy/Overwrite/ServiceContainer/OverwritePatchStrategyExtension.php @@ -13,7 +13,7 @@ class OverwritePatchStrategyExtension extends ExtensionBase implements ExtensionInterface { - const STRATEGY_NAME = 'overwrite'; + public const STRATEGY_NAME = 'overwrite'; /** * Returns the extension config key. diff --git a/src/Patch/Task/CheckDiskSpaceHandler.php b/src/Patch/Task/CheckDiskSpaceHandler.php index 712e8d07..89c8b987 100644 --- a/src/Patch/Task/CheckDiskSpaceHandler.php +++ b/src/Patch/Task/CheckDiskSpaceHandler.php @@ -15,17 +15,17 @@ class CheckDiskSpaceHandler * Assuming required space is 300MB for backup and new files. Not checking the real package * size to avoid performance issues when checking the size of thousands of files. */ - const REQUIRED_BYTES = 314572800; + public const REQUIRED_BYTES = 314572800; /** * The required free space as a percentage. */ - const REQUIRED_FREE_SPACE_PERCENT = 10; + public const REQUIRED_FREE_SPACE_PERCENT = 10; /** * The maximum number of backups to keep when running low on disk space. */ - const MAX_BACKUPS = 2; + public const MAX_BACKUPS = 2; /** * @var BackupFinder diff --git a/src/Patch/Task/CheckModuleCmsDependencyHandler.php b/src/Patch/Task/CheckModuleCmsDependencyHandler.php index 162f01fc..9572997a 100644 --- a/src/Patch/Task/CheckModuleCmsDependencyHandler.php +++ b/src/Patch/Task/CheckModuleCmsDependencyHandler.php @@ -7,9 +7,9 @@ class CheckModuleCmsDependencyHandler { - const MODULE_CMS_DEPENDENCY_FILE = 'MODULE_CMS_DEPENDENCY'; + public const MODULE_CMS_DEPENDENCY_FILE = 'MODULE_CMS_DEPENDENCY'; - const CMS_VERSION_FILE = 'VERSION'; + public const CMS_VERSION_FILE = 'VERSION'; /** * @var IOInterface diff --git a/src/Patch/Task/CheckVersion.php b/src/Patch/Task/CheckVersion.php index 0ab00901..c1e20337 100644 --- a/src/Patch/Task/CheckVersion.php +++ b/src/Patch/Task/CheckVersion.php @@ -6,8 +6,8 @@ class CheckVersion { - const GREATER_THAN_OR_EQUAL = '>='; - const LESS_THAN_OR_EQUAL = '<='; + public const GREATER_THAN_OR_EQUAL = '>='; + public const LESS_THAN_OR_EQUAL = '<='; /** * @var string diff --git a/src/Permissions/PermissionLoader.php b/src/Permissions/PermissionLoader.php index de20ee15..2f33be96 100644 --- a/src/Permissions/PermissionLoader.php +++ b/src/Permissions/PermissionLoader.php @@ -6,7 +6,7 @@ class PermissionLoader { - const PERMISSIONS_CONFIG_DIR = '/config/permissions'; + public const PERMISSIONS_CONFIG_DIR = '/config/permissions'; /** * Load files permissions recursively from a given path. diff --git a/src/Permissions/ServiceContainer/PermissionsExtension.php b/src/Permissions/ServiceContainer/PermissionsExtension.php index 2860fbd6..3e87b65d 100644 --- a/src/Permissions/ServiceContainer/PermissionsExtension.php +++ b/src/Permissions/ServiceContainer/PermissionsExtension.php @@ -17,9 +17,9 @@ class PermissionsExtension extends ExtensionBase implements ExtensionInterface { - const SERVICE_COMMAND_RESET_PERMISSIONS = 'permissions.cli.command.reset_permissions'; - const SERVICE_PERMISSION_LOADER = 'permissions.permission_loader'; - const SERVICE_PERMISSION_SETTER = 'permissions.permission_setter'; + public const SERVICE_COMMAND_RESET_PERMISSIONS = 'permissions.cli.command.reset_permissions'; + public const SERVICE_PERMISSION_LOADER = 'permissions.permission_loader'; + public const SERVICE_PERMISSION_SETTER = 'permissions.permission_setter'; /** * Returns the extension config key. diff --git a/src/Platform/ServiceContainer/PlatformExtension.php b/src/Platform/ServiceContainer/PlatformExtension.php index 896fd3ea..12dc6ef7 100644 --- a/src/Platform/ServiceContainer/PlatformExtension.php +++ b/src/Platform/ServiceContainer/PlatformExtension.php @@ -14,10 +14,10 @@ class PlatformExtension extends ExtensionBase implements ExtensionInterface { - const SERVICE_PLATFORM = 'platform'; - const SERVICE_PLATFORM_UNIX = 'platform.unix'; - const SERVICE_PLATFORM_WINDOWS = 'platform.windows'; - const SERVICE_UNIX_INSTALL_CONFIG_LOADER = 'platform.unix.install_config_loader'; + public const SERVICE_PLATFORM = 'platform'; + public const SERVICE_PLATFORM_UNIX = 'platform.unix'; + public const SERVICE_PLATFORM_WINDOWS = 'platform.windows'; + public const SERVICE_UNIX_INSTALL_CONFIG_LOADER = 'platform.unix.install_config_loader'; /** * Returns the extension config key. diff --git a/src/Platform/Unix/InstallConfigLoader.php b/src/Platform/Unix/InstallConfigLoader.php index 885ee0f2..241c283b 100644 --- a/src/Platform/Unix/InstallConfigLoader.php +++ b/src/Platform/Unix/InstallConfigLoader.php @@ -7,7 +7,7 @@ class InstallConfigLoader { - const CONFIG_NAME = 'install.conf'; + public const CONFIG_NAME = 'install.conf'; /** * @param string $path diff --git a/src/Process/PHPMemoryLimitSetter.php b/src/Process/PHPMemoryLimitSetter.php index dddd3a42..ef610b85 100644 --- a/src/Process/PHPMemoryLimitSetter.php +++ b/src/Process/PHPMemoryLimitSetter.php @@ -4,8 +4,8 @@ class PHPMemoryLimitSetter { - const RE_PHP_SCRIPT = '/^\s*?(php)/'; - const RE_MEMORY_LIMIT = '/([-]{1,2}(?:define|d)\s*(memory_limit))/'; + public const RE_PHP_SCRIPT = '/^\s*?(php)/'; + public const RE_MEMORY_LIMIT = '/([-]{1,2}(?:define|d)\s*(memory_limit))/'; /** * @param string $command diff --git a/src/Process/ProcessFactory.php b/src/Process/ProcessFactory.php index 3b2fa7a3..f0139a57 100644 --- a/src/Process/ProcessFactory.php +++ b/src/Process/ProcessFactory.php @@ -12,7 +12,7 @@ class ProcessFactory * * @return Process */ - public function create(string $command, string $cwd = null) + public function create(string $command, ?string $cwd = null) { return Process::fromShellCommandline($command, $cwd); } diff --git a/src/Process/ProcessRunner.php b/src/Process/ProcessRunner.php index 8b1812fb..92780dc8 100644 --- a/src/Process/ProcessRunner.php +++ b/src/Process/ProcessRunner.php @@ -7,7 +7,7 @@ class ProcessRunner { - const DEFAULT_TIMEOUT = 3600; + public const DEFAULT_TIMEOUT = 3600; /** * @var IOInterface @@ -37,11 +37,11 @@ public function __construct( * @param callable $callback * @param int $timeout * - * @throws RuntimeException - * * @return string + * + * @throws RuntimeException */ - public function run(string $command, string $cwd = null, $callback = null, $timeout = self::DEFAULT_TIMEOUT) + public function run(string $command, ?string $cwd = null, $callback = null, $timeout = self::DEFAULT_TIMEOUT) { if (PHPMemoryLimitSetter::isPHPScript($command) && !PHPMemoryLimitSetter::hasMemoryLimit($command)) { $command = PHPMemoryLimitSetter::setMemoryLimit($command); diff --git a/src/Process/ServiceContainer/ProcessExtension.php b/src/Process/ServiceContainer/ProcessExtension.php index f5b26e30..c29dd5bb 100644 --- a/src/Process/ServiceContainer/ProcessExtension.php +++ b/src/Process/ServiceContainer/ProcessExtension.php @@ -13,8 +13,8 @@ class ProcessExtension extends ExtensionBase implements ExtensionInterface { - const SERVICE_PROCESS_RUNNER = 'process.runner'; - const SERVICE_PROCESS_FACTORY = 'process.factory'; + public const SERVICE_PROCESS_RUNNER = 'process.runner'; + public const SERVICE_PROCESS_FACTORY = 'process.factory'; /** * Returns the extension config key. diff --git a/src/Scripts/ServiceContainer/ScriptsExtension.php b/src/Scripts/ServiceContainer/ScriptsExtension.php index e1e6d3f6..e4dafe38 100644 --- a/src/Scripts/ServiceContainer/ScriptsExtension.php +++ b/src/Scripts/ServiceContainer/ScriptsExtension.php @@ -23,10 +23,10 @@ class ScriptsExtension extends ExtensionBase implements ExtensionInterface { - const PARAMETER_SCRIPTS = 'scripts'; - const SERVICE_COMMAND_RUN = 'scripts.cli.command.run'; - const SERVICE_EVENT_LISTENER = 'scripts.event_listener'; - const SERVICE_SCRIPT_RUNNER = 'scripts.script_runner'; + public const PARAMETER_SCRIPTS = 'scripts'; + public const SERVICE_COMMAND_RUN = 'scripts.cli.command.run'; + public const SERVICE_EVENT_LISTENER = 'scripts.event_listener'; + public const SERVICE_SCRIPT_RUNNER = 'scripts.script_runner'; /** * @var array @@ -194,10 +194,10 @@ private function loadEventListener(ContainerBuilder $container) private function loadScriptRunner(ContainerBuilder $container) { $container->setDefinition(self::SERVICE_SCRIPT_RUNNER, new Definition(ScriptRunner::class, [ - new Reference(ProcessExtension::SERVICE_PROCESS_RUNNER), - new Reference(IOExtension::SERVICE_IO), - '%' . self::PARAMETER_SCRIPTS . '%', - ]) + new Reference(ProcessExtension::SERVICE_PROCESS_RUNNER), + new Reference(IOExtension::SERVICE_IO), + '%' . self::PARAMETER_SCRIPTS . '%', + ]) ) ->setPublic(true); } diff --git a/src/ServiceContainer/ContainerLoader.php b/src/ServiceContainer/ContainerLoader.php index dbe12f8a..32d93f26 100755 --- a/src/ServiceContainer/ContainerLoader.php +++ b/src/ServiceContainer/ContainerLoader.php @@ -7,7 +7,7 @@ class ContainerLoader { - const PARAMETER_CONFIG = 'config'; + public const PARAMETER_CONFIG = 'config'; /** * @var ConfigurationLoader diff --git a/tests/Migrations/Connection/Configuration/Loader/ChainedConfigurationLoaderTest.php b/tests/Migrations/Connection/Configuration/Loader/ChainedConfigurationLoaderTest.php index a19f04c3..647c6510 100644 --- a/tests/Migrations/Connection/Configuration/Loader/ChainedConfigurationLoaderTest.php +++ b/tests/Migrations/Connection/Configuration/Loader/ChainedConfigurationLoaderTest.php @@ -43,12 +43,12 @@ public function testFirstLoaderTakesPrecedence() $chainedLoader = new ChainedConfigurationLoader([$loader1, $loader2, $loader3]); static::assertSame([ - 'dbname' => 'db1', - 'user' => 'user1', - 'password' => 'password1', - 'host' => 'host1', - 'port' => 'port1', - 'driver' => 'driver1', + 'dbname' => 'db1', + 'user' => 'user1', + 'password' => 'password1', + 'host' => 'host1', + 'port' => 'port1', + 'driver' => 'driver1', ], $chainedLoader->load('/path', [])); } @@ -88,12 +88,12 @@ public function testIgnoresEmptyValues() $chainedLoader = new ChainedConfigurationLoader([$loader1, $loader2, $loader3]); static::assertSame([ - 'dbname' => 'db2', - 'user' => 'user1', - 'password' => 'password3', - 'host' => 'host1', - 'port' => 'port3', - 'driver' => 'driver2', + 'dbname' => 'db2', + 'user' => 'user1', + 'password' => 'password3', + 'host' => 'host1', + 'port' => 'port3', + 'driver' => 'driver2', ], $chainedLoader->load('/path', [])); } } diff --git a/tests/Package/Provider/GoogleDrive/ServiceContainer/GoogleDrivePackageProviderExtensionTest.php b/tests/Package/Provider/GoogleDrive/ServiceContainer/GoogleDrivePackageProviderExtensionTest.php index 4278cd9b..b7e10b0d 100644 --- a/tests/Package/Provider/GoogleDrive/ServiceContainer/GoogleDrivePackageProviderExtensionTest.php +++ b/tests/Package/Provider/GoogleDrive/ServiceContainer/GoogleDrivePackageProviderExtensionTest.php @@ -37,9 +37,9 @@ public function testAddsDefaultFolders() static::assertArrayHasKey('folders', $config['gdrive_package_provider']); static::assertEquals([ - 'jadu/cms' => '0B3tlQeNsllCKY2tzbFpUUkI2OGM', - 'jadu/xfp' => '0B2h2-RgE2WidOHRhZVNUbUc1Z0E', - ], + 'jadu/cms' => '0B3tlQeNsllCKY2tzbFpUUkI2OGM', + 'jadu/xfp' => '0B2h2-RgE2WidOHRhZVNUbUc1Z0E', + ], $config['gdrive_package_provider']['folders'] ); } diff --git a/tests/Process/PHPMemoryLimitSetterTest.php b/tests/Process/PHPMemoryLimitSetterTest.php index 15012da6..d40766d8 100644 --- a/tests/Process/PHPMemoryLimitSetterTest.php +++ b/tests/Process/PHPMemoryLimitSetterTest.php @@ -37,6 +37,7 @@ public function phpScriptDataProvider() /** * @param string $script * @param bool $hasLimit + * * @dataProvider memoryLimitDataProvider */ public function testHasMemoryLimitShouldReturnCorrectResult($script, $hasLimit)