From 0a338c7b1ae6b0bffbab2b52f68696733703fc49 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Fri, 6 Aug 2021 22:11:14 +0100 Subject: [PATCH 01/22] Bump ZEPHIR_VERSION to `0.14.0-beta.1` --- .github/workflows/build-and-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index e42526be7aa..cefb993bef2 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -21,7 +21,7 @@ jobs: - name: Setup Environment Variables run: | echo "ZEPHIR_PARSER_VERSION=v1.3.6" >> $GITHUB_ENV - echo "ZEPHIR_VERSION=0.13.5" >> $GITHUB_ENV + echo "ZEPHIR_VERSION=0.14.0-beta.1" >> $GITHUB_ENV echo "LANG=en_US.UTF-8" >> $GITHUB_ENV echo "LANGUAGE=en_US.UTF-8" >> $GITHUB_ENV echo "LC_ALL=en_US.UTF-8" >> $GITHUB_ENV From 57faa152b41c03ed1cc60a83c40eadf81398f887 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Fri, 6 Aug 2021 22:44:07 +0100 Subject: [PATCH 02/22] Bump ZEPHIR_VERSION to `0.14.0-beta.2` --- .github/workflows/build-and-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index cefb993bef2..e34090a2209 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -21,7 +21,7 @@ jobs: - name: Setup Environment Variables run: | echo "ZEPHIR_PARSER_VERSION=v1.3.6" >> $GITHUB_ENV - echo "ZEPHIR_VERSION=0.14.0-beta.1" >> $GITHUB_ENV + echo "ZEPHIR_VERSION=0.14.0-beta.2" >> $GITHUB_ENV echo "LANG=en_US.UTF-8" >> $GITHUB_ENV echo "LANGUAGE=en_US.UTF-8" >> $GITHUB_ENV echo "LC_ALL=en_US.UTF-8" >> $GITHUB_ENV From c756829dfdc1472720977625595552b6c9c6d716 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Fri, 6 Aug 2021 23:46:09 +0100 Subject: [PATCH 03/22] Bump ZEPHIR_VERSION to `0.14.0-beta.3` --- .github/workflows/build-and-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index e34090a2209..3c0e9d8aca9 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -21,7 +21,7 @@ jobs: - name: Setup Environment Variables run: | echo "ZEPHIR_PARSER_VERSION=v1.3.6" >> $GITHUB_ENV - echo "ZEPHIR_VERSION=0.14.0-beta.2" >> $GITHUB_ENV + echo "ZEPHIR_VERSION=0.14.0-beta.3" >> $GITHUB_ENV echo "LANG=en_US.UTF-8" >> $GITHUB_ENV echo "LANGUAGE=en_US.UTF-8" >> $GITHUB_ENV echo "LC_ALL=en_US.UTF-8" >> $GITHUB_ENV From afe86a47bafe2bb8885349e526e94b95ae384805 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Fri, 6 Aug 2021 23:48:55 +0100 Subject: [PATCH 04/22] Update build C headers --- build/config/phalcon_c_header.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/build/config/phalcon_c_header.php b/build/config/phalcon_c_header.php index d4c5db57c75..fb5919eb8fb 100644 --- a/build/config/phalcon_c_header.php +++ b/build/config/phalcon_c_header.php @@ -51,6 +51,7 @@ #include #include #include +#include #include #include @@ -58,14 +59,6 @@ #include #include -#include -#include -#include -#include -#include -#include -#include - #include #include #include From 944739494ab9bf8af3be09a5c16ae648426c074b Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Fri, 6 Aug 2021 23:58:02 +0100 Subject: [PATCH 05/22] Disable PHP extensions cache in MacOS builds --- .github/workflows/build-and-test.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 3c0e9d8aca9..02d7f39242f 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -279,20 +279,20 @@ jobs: with: fetch-depth: 1 - - name: Setup cache environment - id: extcache - uses: shivammathur/cache-extensions@v1 - with: - php-version: ${{ matrix.php-versions }} - extensions: ${{ env.extensions }} - key: ${{ env.ext_cache_key }} - - - name: Cache extensions - uses: actions/cache@v2 - with: - path: ${{ steps.extcache.outputs.dir }} - key: ${{ steps.extcache.outputs.key }} - restore-keys: ${{ steps.extcache.outputs.key }} +# - name: Setup cache environment +# id: extcache +# uses: shivammathur/cache-extensions@v1 +# with: +# php-version: ${{ matrix.php-versions }} +# extensions: ${{ env.extensions }} +# key: ${{ env.ext_cache_key }} + +# - name: Cache extensions +# uses: actions/cache@v2 +# with: +# path: ${{ steps.extcache.outputs.dir }} +# key: ${{ steps.extcache.outputs.key }} +# restore-keys: ${{ steps.extcache.outputs.key }} - name: Setup PHP uses: shivammathur/setup-php@v2 From 52e83d6094a3c07c8d0866ac8afc7f0d18dd385e Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Sat, 7 Aug 2021 00:04:21 +0100 Subject: [PATCH 06/22] Update composer.lock --- composer.lock | 449 +++++++++++++++++++++++++++++--------------------- 1 file changed, 257 insertions(+), 192 deletions(-) diff --git a/composer.lock b/composer.lock index e13a302cf65..86d08e68d3e 100644 --- a/composer.lock +++ b/composer.lock @@ -9,27 +9,27 @@ "packages-dev": [ { "name": "amphp/amp", - "version": "v2.5.2", + "version": "v2.6.0", "source": { "type": "git", "url": "https://github.com/amphp/amp.git", - "reference": "efca2b32a7580087adb8aabbff6be1dc1bb924a9" + "reference": "caa95edeb1ca1bf7532e9118ede4a3c3126408cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/amp/zipball/efca2b32a7580087adb8aabbff6be1dc1bb924a9", - "reference": "efca2b32a7580087adb8aabbff6be1dc1bb924a9", + "url": "https://api.github.com/repos/amphp/amp/zipball/caa95edeb1ca1bf7532e9118ede4a3c3126408cc", + "reference": "caa95edeb1ca1bf7532e9118ede4a3c3126408cc", "shasum": "" }, "require": { - "php": ">=7" + "php": ">=7.1" }, "require-dev": { "amphp/php-cs-fixer-config": "dev-master", "amphp/phpunit-util": "^1", "ext-json": "*", "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^6.0.9 | ^7", + "phpunit/phpunit": "^7 | ^8 | ^9", "psalm/phar": "^3.11@dev", "react/promise": "^2" }, @@ -86,7 +86,7 @@ "support": { "irc": "irc://irc.freenode.org/amphp", "issues": "https://github.com/amphp/amp/issues", - "source": "https://github.com/amphp/amp/tree/v2.5.2" + "source": "https://github.com/amphp/amp/tree/v2.6.0" }, "funding": [ { @@ -94,7 +94,7 @@ "type": "github" } ], - "time": "2021-01-10T17:06:37+00:00" + "time": "2021-07-16T20:06:06+00:00" }, { "name": "amphp/byte-stream", @@ -239,16 +239,16 @@ }, { "name": "codeception/codeception", - "version": "4.1.21", + "version": "4.1.22", "source": { "type": "git", "url": "https://github.com/Codeception/Codeception.git", - "reference": "c25f20d842a7e3fa0a8e6abf0828f102c914d419" + "reference": "9777ec3690ceedc4bce2ed13af7af4ca4ee3088f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/Codeception/zipball/c25f20d842a7e3fa0a8e6abf0828f102c914d419", - "reference": "c25f20d842a7e3fa0a8e6abf0828f102c914d419", + "url": "https://api.github.com/repos/Codeception/Codeception/zipball/9777ec3690ceedc4bce2ed13af7af4ca4ee3088f", + "reference": "9777ec3690ceedc4bce2ed13af7af4ca4ee3088f", "shasum": "" }, "require": { @@ -259,7 +259,7 @@ "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", - "guzzlehttp/psr7": "~1.4", + "guzzlehttp/psr7": "^1.4 | ^2.0", "php": ">=5.6.0 <9.0", "symfony/console": ">=2.7 <6.0", "symfony/css-selector": ">=2.7 <6.0", @@ -322,7 +322,7 @@ ], "support": { "issues": "https://github.com/Codeception/Codeception/issues", - "source": "https://github.com/Codeception/Codeception/tree/4.1.21" + "source": "https://github.com/Codeception/Codeception/tree/4.1.22" }, "funding": [ { @@ -330,7 +330,7 @@ "type": "open_collective" } ], - "time": "2021-05-28T17:43:39+00:00" + "time": "2021-08-06T17:15:34+00:00" }, { "name": "codeception/lib-asserts", @@ -1113,21 +1113,21 @@ }, { "name": "composer/xdebug-handler", - "version": "2.0.1", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "964adcdd3a28bf9ed5d9ac6450064e0d71ed7496" + "reference": "84674dd3a7575ba617f5a76d7e9e29a7d3891339" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/964adcdd3a28bf9ed5d9ac6450064e0d71ed7496", - "reference": "964adcdd3a28bf9ed5d9ac6450064e0d71ed7496", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/84674dd3a7575ba617f5a76d7e9e29a7d3891339", + "reference": "84674dd3a7575ba617f5a76d7e9e29a7d3891339", "shasum": "" }, "require": { "php": "^5.3.2 || ^7.0 || ^8.0", - "psr/log": "^1.0" + "psr/log": "^1 || ^2 || ^3" }, "require-dev": { "phpstan/phpstan": "^0.12.55", @@ -1157,7 +1157,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/2.0.1" + "source": "https://github.com/composer/xdebug-handler/tree/2.0.2" }, "funding": [ { @@ -1173,7 +1173,7 @@ "type": "tidelift" } ], - "time": "2021-05-05T19:37:51+00:00" + "time": "2021-07-31T17:03:58+00:00" }, { "name": "dnoegel/php-xdg-base-dir", @@ -1214,16 +1214,16 @@ }, { "name": "doctrine/annotations", - "version": "1.13.1", + "version": "1.13.2", "source": { "type": "git", "url": "https://github.com/doctrine/annotations.git", - "reference": "e6e7b7d5b45a2f2abc5460cc6396480b2b1d321f" + "reference": "5b668aef16090008790395c02c893b1ba13f7e08" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/e6e7b7d5b45a2f2abc5460cc6396480b2b1d321f", - "reference": "e6e7b7d5b45a2f2abc5460cc6396480b2b1d321f", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/5b668aef16090008790395c02c893b1ba13f7e08", + "reference": "5b668aef16090008790395c02c893b1ba13f7e08", "shasum": "" }, "require": { @@ -1280,9 +1280,9 @@ ], "support": { "issues": "https://github.com/doctrine/annotations/issues", - "source": "https://github.com/doctrine/annotations/tree/1.13.1" + "source": "https://github.com/doctrine/annotations/tree/1.13.2" }, - "time": "2021-05-16T18:07:53+00:00" + "time": "2021-08-05T19:00:23+00:00" }, { "name": "doctrine/instantiator", @@ -1536,16 +1536,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v2.19.0", + "version": "v2.19.1", "source": { "type": "git", "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "d5b8a9d852b292c2f8a035200fa6844b1f82300b" + "reference": "1fa4af92841f67362c053728989b262fba8eb1ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/d5b8a9d852b292c2f8a035200fa6844b1f82300b", - "reference": "d5b8a9d852b292c2f8a035200fa6844b1f82300b", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/1fa4af92841f67362c053728989b262fba8eb1ec", + "reference": "1fa4af92841f67362c053728989b262fba8eb1ec", "shasum": "" }, "require": { @@ -1633,7 +1633,7 @@ "description": "A tool to automatically fix PHP code style", "support": { "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues", - "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v2.19.0" + "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v2.19.1" }, "funding": [ { @@ -1641,7 +1641,7 @@ "type": "github" } ], - "time": "2021-05-03T21:43:24+00:00" + "time": "2021-08-02T17:52:09+00:00" }, { "name": "guzzlehttp/guzzle", @@ -1803,29 +1803,32 @@ }, { "name": "guzzlehttp/psr7", - "version": "1.8.2", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "dc960a912984efb74d0a90222870c72c87f10c91" + "reference": "1dc8d9cba3897165e16d12bb13d813afb1eb3fe7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/dc960a912984efb74d0a90222870c72c87f10c91", - "reference": "dc960a912984efb74d0a90222870c72c87f10c91", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/1dc8d9cba3897165e16d12bb13d813afb1eb3fe7", + "reference": "1dc8d9cba3897165e16d12bb13d813afb1eb3fe7", "shasum": "" }, "require": { - "php": ">=5.4.0", - "psr/http-message": "~1.0", - "ralouphie/getallheaders": "^2.0.5 || ^3.0.0" + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.0", + "ralouphie/getallheaders": "^3.0" }, "provide": { + "psr/http-factory-implementation": "1.0", "psr/http-message-implementation": "1.0" }, "require-dev": { - "ext-zlib": "*", - "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10" + "bamarni/composer-bin-plugin": "^1.4.1", + "http-interop/http-factory-tests": "^0.9", + "phpunit/phpunit": "^8.5.8 || ^9.3.10" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" @@ -1833,16 +1836,13 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.7-dev" + "dev-master": "2.0-dev" } }, "autoload": { "psr-4": { "GuzzleHttp\\Psr7\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1857,6 +1857,11 @@ { "name": "Tobias Schultze", "homepage": "https://github.com/Tobion" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" } ], "description": "PSR-7 message implementation that also provides common utility methods", @@ -1872,9 +1877,9 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/1.8.2" + "source": "https://github.com/guzzle/psr7/tree/2.0.0" }, - "time": "2021-04-26T09:17:50+00:00" + "time": "2021-06-30T20:03:07+00:00" }, { "name": "mustache/mustache", @@ -2037,16 +2042,16 @@ }, { "name": "nikic/php-parser", - "version": "v4.10.5", + "version": "v4.12.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "4432ba399e47c66624bc73c8c0f811e5c109576f" + "reference": "6608f01670c3cc5079e18c1dab1104e002579143" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4432ba399e47c66624bc73c8c0f811e5c109576f", - "reference": "4432ba399e47c66624bc73c8c0f811e5c109576f", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/6608f01670c3cc5079e18c1dab1104e002579143", + "reference": "6608f01670c3cc5079e18c1dab1104e002579143", "shasum": "" }, "require": { @@ -2087,9 +2092,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.5" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.12.0" }, - "time": "2021-05-03T19:11:20+00:00" + "time": "2021-07-21T10:44:31+00:00" }, { "name": "openlss/lib-array2xml", @@ -2213,16 +2218,16 @@ }, { "name": "phar-io/manifest", - "version": "2.0.1", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/phar-io/manifest.git", - "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133" + "reference": "97803eca37d319dfa7826cc2437fc020857acb53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/85265efd3af7ba3ca4b2a2c34dbfc5788dd29133", - "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53", "shasum": "" }, "require": { @@ -2267,9 +2272,9 @@ "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", "support": { "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/master" + "source": "https://github.com/phar-io/manifest/tree/2.0.3" }, - "time": "2020-06-27T14:33:11+00:00" + "time": "2021-07-20T11:28:43+00:00" }, { "name": "phar-io/version", @@ -2604,16 +2609,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "7.0.14", + "version": "7.0.15", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "bb7c9a210c72e4709cdde67f8b7362f672f2225c" + "reference": "819f92bba8b001d4363065928088de22f25a3a48" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/bb7c9a210c72e4709cdde67f8b7362f672f2225c", - "reference": "bb7c9a210c72e4709cdde67f8b7362f672f2225c", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/819f92bba8b001d4363065928088de22f25a3a48", + "reference": "819f92bba8b001d4363065928088de22f25a3a48", "shasum": "" }, "require": { @@ -2622,7 +2627,7 @@ "php": ">=7.2", "phpunit/php-file-iterator": "^2.0.2", "phpunit/php-text-template": "^1.2.1", - "phpunit/php-token-stream": "^3.1.1 || ^4.0", + "phpunit/php-token-stream": "^3.1.3 || ^4.0", "sebastian/code-unit-reverse-lookup": "^1.0.1", "sebastian/environment": "^4.2.2", "sebastian/version": "^2.0.1", @@ -2665,7 +2670,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/7.0.14" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/7.0.15" }, "funding": [ { @@ -2673,20 +2678,20 @@ "type": "github" } ], - "time": "2020-12-02T13:39:03+00:00" + "time": "2021-07-26T12:20:09+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "2.0.3", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "4b49fb70f067272b659ef0174ff9ca40fdaa6357" + "reference": "28af674ff175d0768a5a978e6de83f697d4a7f05" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/4b49fb70f067272b659ef0174ff9ca40fdaa6357", - "reference": "4b49fb70f067272b659ef0174ff9ca40fdaa6357", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/28af674ff175d0768a5a978e6de83f697d4a7f05", + "reference": "28af674ff175d0768a5a978e6de83f697d4a7f05", "shasum": "" }, "require": { @@ -2725,7 +2730,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/2.0.3" + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/2.0.4" }, "funding": [ { @@ -2733,7 +2738,7 @@ "type": "github" } ], - "time": "2020-11-30T08:25:21+00:00" + "time": "2021-07-19T06:46:01+00:00" }, { "name": "phpunit/php-text-template", @@ -2901,16 +2906,16 @@ }, { "name": "phpunit/phpunit", - "version": "8.5.17", + "version": "8.5.19", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "79067856d85421c56d413bd238d4e2cd6b0e54da" + "reference": "496281b64ec781856ed0a583483b5923b4033722" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/79067856d85421c56d413bd238d4e2cd6b0e54da", - "reference": "79067856d85421c56d413bd238d4e2cd6b0e54da", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/496281b64ec781856ed0a583483b5923b4033722", + "reference": "496281b64ec781856ed0a583483b5923b4033722", "shasum": "" }, "require": { @@ -2922,12 +2927,12 @@ "ext-xml": "*", "ext-xmlwriter": "*", "myclabs/deep-copy": "^1.10.0", - "phar-io/manifest": "^2.0.1", + "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", "php": ">=7.2", "phpspec/prophecy": "^1.10.3", "phpunit/php-code-coverage": "^7.0.12", - "phpunit/php-file-iterator": "^2.0.2", + "phpunit/php-file-iterator": "^2.0.4", "phpunit/php-text-template": "^1.2.1", "phpunit/php-timer": "^2.1.2", "sebastian/comparator": "^3.0.2", @@ -2982,7 +2987,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/8.5.17" + "source": "https://github.com/sebastianbergmann/phpunit/tree/8.5.19" }, "funding": [ { @@ -2994,7 +2999,7 @@ "type": "github" } ], - "time": "2021-06-23T05:12:43+00:00" + "time": "2021-07-31T15:15:06+00:00" }, { "name": "predis/predis", @@ -3261,6 +3266,61 @@ }, "time": "2020-06-29T06:28:15+00:00" }, + { + "name": "psr/http-factory", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "shasum": "" + }, + "require": { + "php": ">=7.0.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-factory/tree/master" + }, + "time": "2019-04-30T12:38:16+00:00" + }, { "name": "psr/http-message", "version": "1.0.1", @@ -4195,21 +4255,22 @@ }, { "name": "symfony/browser-kit", - "version": "v5.3.0", + "version": "v5.3.4", "source": { "type": "git", "url": "https://github.com/symfony/browser-kit.git", - "reference": "379984e25eee9811b0a25a2105e1a2b3b8d9b734" + "reference": "c1e3f64fcc631c96e2c5843b666db66679ced11c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/browser-kit/zipball/379984e25eee9811b0a25a2105e1a2b3b8d9b734", - "reference": "379984e25eee9811b0a25a2105e1a2b3b8d9b734", + "url": "https://api.github.com/repos/symfony/browser-kit/zipball/c1e3f64fcc631c96e2c5843b666db66679ced11c", + "reference": "c1e3f64fcc631c96e2c5843b666db66679ced11c", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/dom-crawler": "^4.4|^5.0" + "symfony/dom-crawler": "^4.4|^5.0", + "symfony/polyfill-php80": "^1.16" }, "require-dev": { "symfony/css-selector": "^4.4|^5.0", @@ -4246,7 +4307,7 @@ "description": "Simulates the behavior of a web browser, allowing you to make requests, click on links and submit forms programmatically", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/browser-kit/tree/v5.3.0" + "source": "https://github.com/symfony/browser-kit/tree/v5.3.4" }, "funding": [ { @@ -4262,20 +4323,20 @@ "type": "tidelift" } ], - "time": "2021-05-26T17:43:10+00:00" + "time": "2021-07-21T12:40:44+00:00" }, { "name": "symfony/console", - "version": "v5.3.2", + "version": "v5.3.6", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "649730483885ff2ca99ca0560ef0e5f6b03f2ac1" + "reference": "51b71afd6d2dc8f5063199357b9880cea8d8bfe2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/649730483885ff2ca99ca0560ef0e5f6b03f2ac1", - "reference": "649730483885ff2ca99ca0560ef0e5f6b03f2ac1", + "url": "https://api.github.com/repos/symfony/console/zipball/51b71afd6d2dc8f5063199357b9880cea8d8bfe2", + "reference": "51b71afd6d2dc8f5063199357b9880cea8d8bfe2", "shasum": "" }, "require": { @@ -4283,11 +4344,12 @@ "symfony/deprecation-contracts": "^2.1", "symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-php73": "^1.8", - "symfony/polyfill-php80": "^1.15", + "symfony/polyfill-php80": "^1.16", "symfony/service-contracts": "^1.1|^2", "symfony/string": "^5.1" }, "conflict": { + "psr/log": ">=3", "symfony/dependency-injection": "<4.4", "symfony/dotenv": "<5.1", "symfony/event-dispatcher": "<4.4", @@ -4295,10 +4357,10 @@ "symfony/process": "<4.4" }, "provide": { - "psr/log-implementation": "1.0" + "psr/log-implementation": "1.0|2.0" }, "require-dev": { - "psr/log": "~1.0", + "psr/log": "^1|^2", "symfony/config": "^4.4|^5.0", "symfony/dependency-injection": "^4.4|^5.0", "symfony/event-dispatcher": "^4.4|^5.0", @@ -4344,7 +4406,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.3.2" + "source": "https://github.com/symfony/console/tree/v5.3.6" }, "funding": [ { @@ -4360,24 +4422,25 @@ "type": "tidelift" } ], - "time": "2021-06-12T09:42:48+00:00" + "time": "2021-07-27T19:10:22+00:00" }, { "name": "symfony/css-selector", - "version": "v5.3.0", + "version": "v5.3.4", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "fcd0b29a7a0b1bb5bfbedc6231583d77fea04814" + "reference": "7fb120adc7f600a59027775b224c13a33530dd90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/fcd0b29a7a0b1bb5bfbedc6231583d77fea04814", - "reference": "fcd0b29a7a0b1bb5bfbedc6231583d77fea04814", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/7fb120adc7f600a59027775b224c13a33530dd90", + "reference": "7fb120adc7f600a59027775b224c13a33530dd90", "shasum": "" }, "require": { - "php": ">=7.2.5" + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { @@ -4409,7 +4472,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v5.3.0" + "source": "https://github.com/symfony/css-selector/tree/v5.3.4" }, "funding": [ { @@ -4425,7 +4488,7 @@ "type": "tidelift" } ], - "time": "2021-05-26T17:40:38+00:00" + "time": "2021-07-21T12:38:00+00:00" }, { "name": "symfony/deprecation-contracts", @@ -4496,16 +4559,16 @@ }, { "name": "symfony/dom-crawler", - "version": "v5.3.0", + "version": "v5.3.4", "source": { "type": "git", "url": "https://github.com/symfony/dom-crawler.git", - "reference": "55fff62b19f413f897a752488ade1bc9c8a19cdd" + "reference": "2dd8890bd01be59a5221999c05ccf0fcafcb354f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/55fff62b19f413f897a752488ade1bc9c8a19cdd", - "reference": "55fff62b19f413f897a752488ade1bc9c8a19cdd", + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/2dd8890bd01be59a5221999c05ccf0fcafcb354f", + "reference": "2dd8890bd01be59a5221999c05ccf0fcafcb354f", "shasum": "" }, "require": { @@ -4513,7 +4576,7 @@ "symfony/deprecation-contracts": "^2.1", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php80": "^1.15" + "symfony/polyfill-php80": "^1.16" }, "conflict": { "masterminds/html5": "<2.6" @@ -4551,7 +4614,7 @@ "description": "Eases DOM navigation for HTML and XML documents", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dom-crawler/tree/v5.3.0" + "source": "https://github.com/symfony/dom-crawler/tree/v5.3.4" }, "funding": [ { @@ -4567,27 +4630,27 @@ "type": "tidelift" } ], - "time": "2021-05-26T17:43:10+00:00" + "time": "2021-07-23T15:55:36+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v5.3.0", + "version": "v5.3.4", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "67a5f354afa8e2f231081b3fa11a5912f933c3ce" + "reference": "f2fd2208157553874560f3645d4594303058c4bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/67a5f354afa8e2f231081b3fa11a5912f933c3ce", - "reference": "67a5f354afa8e2f231081b3fa11a5912f933c3ce", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/f2fd2208157553874560f3645d4594303058c4bd", + "reference": "f2fd2208157553874560f3645d4594303058c4bd", "shasum": "" }, "require": { "php": ">=7.2.5", "symfony/deprecation-contracts": "^2.1", "symfony/event-dispatcher-contracts": "^2", - "symfony/polyfill-php80": "^1.15" + "symfony/polyfill-php80": "^1.16" }, "conflict": { "symfony/dependency-injection": "<4.4" @@ -4597,7 +4660,7 @@ "symfony/event-dispatcher-implementation": "2.0" }, "require-dev": { - "psr/log": "~1.0", + "psr/log": "^1|^2|^3", "symfony/config": "^4.4|^5.0", "symfony/dependency-injection": "^4.4|^5.0", "symfony/error-handler": "^4.4|^5.0", @@ -4636,7 +4699,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.3.0" + "source": "https://github.com/symfony/event-dispatcher/tree/v5.3.4" }, "funding": [ { @@ -4652,7 +4715,7 @@ "type": "tidelift" } ], - "time": "2021-05-26T17:43:10+00:00" + "time": "2021-07-23T15:55:36+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -4735,21 +4798,22 @@ }, { "name": "symfony/filesystem", - "version": "v5.3.3", + "version": "v5.3.4", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "19b71c8f313b411172dd5f470fd61f24466d79a9" + "reference": "343f4fe324383ca46792cae728a3b6e2f708fb32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/19b71c8f313b411172dd5f470fd61f24466d79a9", - "reference": "19b71c8f313b411172dd5f470fd61f24466d79a9", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/343f4fe324383ca46792cae728a3b6e2f708fb32", + "reference": "343f4fe324383ca46792cae728a3b6e2f708fb32", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/polyfill-ctype": "~1.8" + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { @@ -4777,7 +4841,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.3.3" + "source": "https://github.com/symfony/filesystem/tree/v5.3.4" }, "funding": [ { @@ -4793,24 +4857,25 @@ "type": "tidelift" } ], - "time": "2021-06-30T07:27:52+00:00" + "time": "2021-07-21T12:40:44+00:00" }, { "name": "symfony/finder", - "version": "v5.3.0", + "version": "v5.3.4", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "0ae3f047bed4edff6fd35b26a9a6bfdc92c953c6" + "reference": "17f50e06018baec41551a71a15731287dbaab186" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/0ae3f047bed4edff6fd35b26a9a6bfdc92c953c6", - "reference": "0ae3f047bed4edff6fd35b26a9a6bfdc92c953c6", + "url": "https://api.github.com/repos/symfony/finder/zipball/17f50e06018baec41551a71a15731287dbaab186", + "reference": "17f50e06018baec41551a71a15731287dbaab186", "shasum": "" }, "require": { - "php": ">=7.2.5" + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { @@ -4838,7 +4903,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.3.0" + "source": "https://github.com/symfony/finder/tree/v5.3.4" }, "funding": [ { @@ -4854,27 +4919,27 @@ "type": "tidelift" } ], - "time": "2021-05-26T12:52:38+00:00" + "time": "2021-07-23T15:54:19+00:00" }, { "name": "symfony/options-resolver", - "version": "v5.3.0", + "version": "v5.3.4", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "162e886ca035869866d233a2bfef70cc28f9bbe5" + "reference": "a603e5701bd6e305cfc777a8b50bf081ef73105e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/162e886ca035869866d233a2bfef70cc28f9bbe5", - "reference": "162e886ca035869866d233a2bfef70cc28f9bbe5", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/a603e5701bd6e305cfc777a8b50bf081ef73105e", + "reference": "a603e5701bd6e305cfc777a8b50bf081ef73105e", "shasum": "" }, "require": { "php": ">=7.2.5", "symfony/deprecation-contracts": "^2.1", "symfony/polyfill-php73": "~1.0", - "symfony/polyfill-php80": "^1.15" + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { @@ -4907,7 +4972,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v5.3.0" + "source": "https://github.com/symfony/options-resolver/tree/v5.3.4" }, "funding": [ { @@ -4923,7 +4988,7 @@ "type": "tidelift" } ], - "time": "2021-05-26T17:43:10+00:00" + "time": "2021-07-23T15:55:36+00:00" }, { "name": "symfony/polyfill-ctype", @@ -5006,16 +5071,16 @@ }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.23.0", + "version": "v1.23.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "24b72c6baa32c746a4d0840147c9715e42bb68ab" + "reference": "16880ba9c5ebe3642d1995ab866db29270b36535" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/24b72c6baa32c746a4d0840147c9715e42bb68ab", - "reference": "24b72c6baa32c746a4d0840147c9715e42bb68ab", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/16880ba9c5ebe3642d1995ab866db29270b36535", + "reference": "16880ba9c5ebe3642d1995ab866db29270b36535", "shasum": "" }, "require": { @@ -5067,7 +5132,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.23.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.23.1" }, "funding": [ { @@ -5083,7 +5148,7 @@ "type": "tidelift" } ], - "time": "2021-05-27T09:17:38+00:00" + "time": "2021-05-27T12:26:48+00:00" }, { "name": "symfony/polyfill-intl-normalizer", @@ -5171,16 +5236,16 @@ }, { "name": "symfony/polyfill-mbstring", - "version": "v1.23.0", + "version": "v1.23.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "2df51500adbaebdc4c38dea4c89a2e131c45c8a1" + "reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/2df51500adbaebdc4c38dea4c89a2e131c45c8a1", - "reference": "2df51500adbaebdc4c38dea4c89a2e131c45c8a1", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9174a3d80210dca8daa7f31fec659150bbeabfc6", + "reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6", "shasum": "" }, "require": { @@ -5231,7 +5296,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.1" }, "funding": [ { @@ -5247,7 +5312,7 @@ "type": "tidelift" } ], - "time": "2021-05-27T09:27:20+00:00" + "time": "2021-05-27T12:26:48+00:00" }, { "name": "symfony/polyfill-php70", @@ -5474,16 +5539,16 @@ }, { "name": "symfony/polyfill-php80", - "version": "v1.23.0", + "version": "v1.23.1", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "eca0bf41ed421bed1b57c4958bab16aa86b757d0" + "reference": "1100343ed1a92e3a38f9ae122fc0eb21602547be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/eca0bf41ed421bed1b57c4958bab16aa86b757d0", - "reference": "eca0bf41ed421bed1b57c4958bab16aa86b757d0", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/1100343ed1a92e3a38f9ae122fc0eb21602547be", + "reference": "1100343ed1a92e3a38f9ae122fc0eb21602547be", "shasum": "" }, "require": { @@ -5537,7 +5602,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.23.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.23.1" }, "funding": [ { @@ -5553,25 +5618,25 @@ "type": "tidelift" } ], - "time": "2021-02-19T12:13:01+00:00" + "time": "2021-07-28T13:41:28+00:00" }, { "name": "symfony/process", - "version": "v5.3.2", + "version": "v5.3.4", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "714b47f9196de61a196d86c4bad5f09201b307df" + "reference": "d16634ee55b895bd85ec714dadc58e4428ecf030" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/714b47f9196de61a196d86c4bad5f09201b307df", - "reference": "714b47f9196de61a196d86c4bad5f09201b307df", + "url": "https://api.github.com/repos/symfony/process/zipball/d16634ee55b895bd85ec714dadc58e4428ecf030", + "reference": "d16634ee55b895bd85ec714dadc58e4428ecf030", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/polyfill-php80": "^1.15" + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { @@ -5599,7 +5664,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.3.2" + "source": "https://github.com/symfony/process/tree/v5.3.4" }, "funding": [ { @@ -5615,7 +5680,7 @@ "type": "tidelift" } ], - "time": "2021-06-12T10:15:01+00:00" + "time": "2021-07-23T15:54:19+00:00" }, { "name": "symfony/service-contracts", @@ -5698,16 +5763,16 @@ }, { "name": "symfony/stopwatch", - "version": "v5.3.0", + "version": "v5.3.4", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "313d02f59d6543311865007e5ff4ace05b35ee65" + "reference": "b24c6a92c6db316fee69e38c80591e080e41536c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/313d02f59d6543311865007e5ff4ace05b35ee65", - "reference": "313d02f59d6543311865007e5ff4ace05b35ee65", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/b24c6a92c6db316fee69e38c80591e080e41536c", + "reference": "b24c6a92c6db316fee69e38c80591e080e41536c", "shasum": "" }, "require": { @@ -5740,7 +5805,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v5.3.0" + "source": "https://github.com/symfony/stopwatch/tree/v5.3.4" }, "funding": [ { @@ -5756,7 +5821,7 @@ "type": "tidelift" } ], - "time": "2021-05-26T17:43:10+00:00" + "time": "2021-07-10T08:58:57+00:00" }, { "name": "symfony/string", @@ -5843,16 +5908,16 @@ }, { "name": "symfony/yaml", - "version": "v5.3.3", + "version": "v5.3.6", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "485c83a2fb5893e2ff21bf4bfc7fdf48b4967229" + "reference": "4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/485c83a2fb5893e2ff21bf4bfc7fdf48b4967229", - "reference": "485c83a2fb5893e2ff21bf4bfc7fdf48b4967229", + "url": "https://api.github.com/repos/symfony/yaml/zipball/4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7", + "reference": "4500fe63dc9c6ffc32d3b1cb0448c329f9c814b7", "shasum": "" }, "require": { @@ -5898,7 +5963,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.3.3" + "source": "https://github.com/symfony/yaml/tree/v5.3.6" }, "funding": [ { @@ -5914,20 +5979,20 @@ "type": "tidelift" } ], - "time": "2021-06-24T08:13:00+00:00" + "time": "2021-07-29T06:20:01+00:00" }, { "name": "theseer/tokenizer", - "version": "1.2.0", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "75a63c33a8577608444246075ea0af0d052e452a" + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/75a63c33a8577608444246075ea0af0d052e452a", - "reference": "75a63c33a8577608444246075ea0af0d052e452a", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", "shasum": "" }, "require": { @@ -5956,7 +6021,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/master" + "source": "https://github.com/theseer/tokenizer/tree/1.2.1" }, "funding": [ { @@ -5964,7 +6029,7 @@ "type": "github" } ], - "time": "2020-07-12T23:59:07+00:00" + "time": "2021-07-28T10:34:58+00:00" }, { "name": "twig/twig", @@ -6046,16 +6111,16 @@ }, { "name": "vimeo/psalm", - "version": "4.8.1", + "version": "4.9.2", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "f73f2299dbc59a3e6c4d66cff4605176e728ee69" + "reference": "00c062267d6e3229d91a1939992987e2d46f2393" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/f73f2299dbc59a3e6c4d66cff4605176e728ee69", - "reference": "f73f2299dbc59a3e6c4d66cff4605176e728ee69", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/00c062267d6e3229d91a1939992987e2d46f2393", + "reference": "00c062267d6e3229d91a1939992987e2d46f2393", "shasum": "" }, "require": { @@ -6074,7 +6139,7 @@ "felixfbecker/advanced-json-rpc": "^3.0.3", "felixfbecker/language-server-protocol": "^1.5", "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", - "nikic/php-parser": "^4.10.5", + "nikic/php-parser": "^4.12", "openlss/lib-array2xml": "^1.0", "php": "^7.1|^8", "sebastian/diff": "^3.0 || ^4.0", @@ -6145,9 +6210,9 @@ ], "support": { "issues": "https://github.com/vimeo/psalm/issues", - "source": "https://github.com/vimeo/psalm/tree/4.8.1" + "source": "https://github.com/vimeo/psalm/tree/4.9.2" }, - "time": "2021-06-20T23:03:20+00:00" + "time": "2021-08-01T01:15:26+00:00" }, { "name": "vlucas/phpdotenv", From 75b7ddf63cbfa235a033683dc29c93b36ec48625 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Sat, 7 Aug 2021 00:12:23 +0100 Subject: [PATCH 07/22] Add ZEPHIR_VERSION env variable --- .github/workflows/static-code-analysis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index fc3d72a87fa..db015a337d5 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -53,7 +53,9 @@ jobs: run: composer install --prefer-dist --ignore-platform-reqs - name: Install Zephir - run: .ci/install-zephir.sh + run: | + echo "ZEPHIR_VERSION=0.14.0-beta.3" >> $GITHUB_ENV + .ci/install-zephir.sh - name: Validate stubs if: always() From fecb1f20f9cd1b02687042ca1f7e1a33395bb352 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Sat, 7 Aug 2021 10:43:23 +0100 Subject: [PATCH 08/22] Move envs into `env` --- .github/workflows/static-code-analysis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index db015a337d5..c03dfd1c44d 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -6,6 +6,9 @@ on: - '**.md' - '**.txt' +env: + ZEPHIR_VERSION: 0.14.0-beta.3 + jobs: phpcs: if: "!contains(github.event.head_commit.message, 'ci skip')" @@ -54,7 +57,6 @@ jobs: - name: Install Zephir run: | - echo "ZEPHIR_VERSION=0.14.0-beta.3" >> $GITHUB_ENV .ci/install-zephir.sh - name: Validate stubs From 2ea9c4031ad547ddaa66e29b03940f3da1d2cfd3 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Sat, 7 Aug 2021 12:07:07 +0100 Subject: [PATCH 09/22] Disable option `--ignore-platform-reqs` --- .github/workflows/static-code-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index c03dfd1c44d..c19393f267e 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -53,7 +53,7 @@ jobs: sudo apt-get install --no-install-recommends -q -y re2c - name: Install Packages - run: composer install --prefer-dist --ignore-platform-reqs + run: composer install --prefer-dist - name: Install Zephir run: | From 63c938deb967a23c0aefaaa4a1f13d87c5adcd99 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Sat, 7 Aug 2021 12:14:43 +0100 Subject: [PATCH 10/22] Bump PSR extension version to `v1.1.1` in static-code-analysis.yml --- .github/workflows/static-code-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index c19393f267e..05e697f31a8 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -45,7 +45,7 @@ jobs: with: php-version: ${{ matrix.php-versions }} tools: pecl - extensions: mbstring, intl, json, imagick, redis, igbinary, apcu, msgpack, memcached, yaml, psr + extensions: mbstring, intl, json, imagick, redis, igbinary, apcu, msgpack, memcached, yaml, psr-1.1.1 - name: Install System Dependencies run: | From 2e83f7f3de593278141439739081e03ff2712a83 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Sat, 7 Aug 2021 15:56:18 +0100 Subject: [PATCH 11/22] Update step 'Setup PHP' --- .github/workflows/build-and-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 02d7f39242f..0c0ed7f522b 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -162,8 +162,8 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} - extensions: mbstring, intl, json, imagick, gd, gettext, igbinary, apcu, msgpack, memcached, yaml, redis - ini-values: apc.enable_cli=on, session.save_path=/tmp, extension=psr.so, extension=phalcon.so + extensions: mbstring, intl, json, imagick, gd, gettext, igbinary, apcu, msgpack, memcached, yaml, redis, psr + ini-values: apc.enable_cli=on, session.save_path=/tmp tools: pecl env: COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 97ccdf5817cbe5e77be18da2f4f4cbe86f8bf2d9 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Sat, 7 Aug 2021 16:20:16 +0100 Subject: [PATCH 12/22] Remove PSR extension installation --- .github/workflows/build-and-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 0c0ed7f522b..46001d76c2c 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -162,7 +162,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} - extensions: mbstring, intl, json, imagick, gd, gettext, igbinary, apcu, msgpack, memcached, yaml, redis, psr + extensions: mbstring, intl, json, imagick, gd, gettext, igbinary, apcu, msgpack, memcached, yaml, redis ini-values: apc.enable_cli=on, session.save_path=/tmp tools: pecl env: From 96281c12e5c9aa86ceeffd7184ba4a1a5f7cecbc Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Sat, 7 Aug 2021 20:42:44 +0100 Subject: [PATCH 13/22] Move 'coverage' workflow into 'build-and-test' --- .github/workflows/build-and-test.yml | 20 ++-- .github/workflows/codecoverage.yml | 168 --------------------------- 2 files changed, 13 insertions(+), 175 deletions(-) delete mode 100644 .github/workflows/codecoverage.yml diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 46001d76c2c..ed1454f6544 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -203,18 +203,18 @@ jobs: - name: Run Unit Tests if: always() - run: vendor/bin/codecept run --ext DotReporter unit + run: vendor/bin/codecept run --coverage-xml=coverage-${{ matrix.php-versions }}.xml --ext DotReporter unit - name: Run CLI Tests if: always() - run: vendor/bin/codecept run --ext DotReporter cli + run: vendor/bin/codecept run --coverage-xml=coverage-${{ matrix.php-versions }}.xml --ext DotReporter cli - name: Run Integration Tests env: DATA_REDIS_PORT: ${{ job.services.redis.ports['6379'] }} DATA_MEMCACHED_PORT: ${{ job.services.memcached.ports['11211'] }} if: always() - run: vendor/bin/codecept run --ext DotReporter integration + run: vendor/bin/codecept run --coverage-xml=coverage-${{ matrix.php-versions }}.xml --ext DotReporter integration - name: Run Database Tests (Common) env: @@ -222,7 +222,7 @@ jobs: DATA_MEMCACHED_PORT: ${{ job.services.memcached.ports['11211'] }} DATA_MYSQL_USER: root if: always() - run: vendor/bin/codecept run --ext DotReporter database -g common + run: vendor/bin/codecept run --coverage-xml=coverage-${{ matrix.php-versions }}.xml --ext DotReporter database -g common - name: Run Database Tests (MySQL) env: @@ -231,14 +231,14 @@ jobs: DATA_MEMCACHED_PORT: ${{ job.services.memcached.ports['11211'] }} DATA_MYSQL_USER: root if: always() - run: vendor/bin/codecept run --ext DotReporter database --env mysql -g mysql + run: vendor/bin/codecept run --coverage-xml=coverage-${{ matrix.php-versions }}.xml --ext DotReporter database --env mysql -g mysql - name: Run Database Tests (Sqlite) env: DATA_REDIS_PORT: ${{ job.services.redis.ports['6379'] }} DATA_MEMCACHED_PORT: ${{ job.services.memcached.ports['11211'] }} if: always() - run: vendor/bin/codecept run --ext DotReporter database --env sqlite -g sqlite + run: vendor/bin/codecept run --coverage-xml=coverage-${{ matrix.php-versions }}.xml --ext DotReporter database --env sqlite -g sqlite - name: Run Database Tests (Postgres) env: @@ -247,7 +247,7 @@ jobs: DATA_REDIS_PORT: ${{ job.services.redis.ports['6379'] }} DATA_MEMCACHED_PORT: ${{ job.services.memcached.ports['11211'] }} if: always() - run: vendor/bin/codecept run --ext DotReporter database --env pgsql -g pgsql + run: vendor/bin/codecept run --coverage-xml=coverage-${{ matrix.php-versions }}.xml --ext DotReporter database --env pgsql -g pgsql # - name: Run Database Tests (SQL Server) # env: @@ -255,6 +255,12 @@ jobs: # DATA_MEMCACHED_PORT: ${{ job.services.memcached.ports['11211'] }} # run: vendor/bin/codecept run --ext DotReporter database --env sqlsrv + - name: Upload Code Coverage on 7.4 + uses: codecov/codecov-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + file: ./tests/_output/coverage-*.xml + build-and-test-macos: # To prevent build a particular commit use # git commit -m "......... [ci skip]" diff --git a/.github/workflows/codecoverage.yml b/.github/workflows/codecoverage.yml deleted file mode 100644 index f02567c6822..00000000000 --- a/.github/workflows/codecoverage.yml +++ /dev/null @@ -1,168 +0,0 @@ -name: Codecoverage - -on: - push: - paths-ignore: - - '**.md' - - '**.txt' - pull_request: - -jobs: - build-and-run: - # To prevent build a particular commit use - # git commit -m "......... [ci skip]" - if: "!contains(github.event.head_commit.message, 'ci skip')" - - services: - mysql: - image: mysql:5.7 - ports: - - 3306 - env: - MYSQL_ROOT_PASSWORD: secret - MYSQL_USER: phalcon - MYSQL_DATABASE: phalcon - MYSQL_PASSWORD: secret - postgres: - image: postgres:12-alpine - ports: - - 5432 - env: - POSTGRES_PASSWORD: secret - POSTGRES_USER: phalcon - POSTGRES_DB: phalcon - redis: - image: redis:5-alpine - ports: - - 6379 - memcached: - image: memcached:1.5-alpine - ports: - - 11211 - - runs-on: ubuntu-20.04 - name: Build & Run - steps: - - - name: Setup Environment Variables - run: | - echo "ZEPHIR_PARSER_VERSION=v1.3.6" >> $GITHUB_ENV - echo "ZEPHIR_VERSION=0.13.5" >> $GITHUB_ENV - echo "LANG=en_US.UTF-8" >> $GITHUB_ENV - echo "LANGUAGE=en_US.UTF-8" >> $GITHUB_ENV - echo "LC_ALL=en_US.UTF-8" >> $GITHUB_ENV - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '8.0' - extensions: mbstring, intl, json, imagick, gd, gettext, apcu, yaml, igbinary, msgpack, psr, redis - ini-values: apc.enable_cli=on, session.save_path=/tmp, extension=psr.so, extension=phalcon.so - - - name: Common Settings - run: | - # Core dump settings - ulimit -c unlimited -S || true - - # Hide "You are in 'detached HEAD' state" message - git config --global advice.detachedHead false - - # Enable codecoverage - export LDFLAGS="${LDFLAGS} --coverage" - export CFLAGS="${CFLAGS} -O0 -ggdb -fprofile-arcs -ftest-coverage" - export CXXFLAGS="${CXXFLAGS} -O0 -ggdb -fprofile-arcs -ftest-coverage" - - #set number of cores for build - export MAKEFLAGS="-j$(getconf _NPROCESSORS_ONLN)" - - - name: Checkout Code - uses: actions/checkout@v2 - with: - fetch-depth: 1 - - - name: Setup APT Repositories - run: | - # We don't need this at all, and our - # builds often fails because Microsoft - # servers are unstable or even offline. - sudo rm -f /etc/apt/sources.list.d/dotnetdev.list - sudo rm -f /etc/apt/sources.list.d/azure*.list - - - name: Install System Dependencies - run: | - sudo apt-get update --quiet --yes 1>/dev/null - sudo apt-get install --no-install-recommends -q -y re2c - - - name: Get Composer Cache Directory - id: composer-cache - run: | - echo "::set-output name=dir::$(composer config cache-files-dir)" - - - name: Setup Composer Cache - uses: actions/cache@v2 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-composer- - - - name: Setup Composer Token - run: | - # To increase the Composer rate limit we're use GitHub authentication - if [ -n "${{ secrets.COMPOSER_TOKEN }}" ]; then - composer config github-oauth.github.com "${{ secrets.COMPOSER_TOKEN }}" - fi - - - name: Install Zephir - run: .ci/install-zephir.sh - - - name: Generate C code - run: | - # sudo pecl install psr - $HOME/bin/zephir fullclean - $HOME/bin/zephir generate - $HOME/bin/zephir compile - $HOME/bin/zephir install - sudo echo "extension=phalcon.so" >> /etc/php/8.0/cli/php.ini - - - name: Verify Install - run: php --ri phalcon - - - name: Setup locales - run: | - sudo sudo apt-get install tzdata locales -y - sudo sed -i -e 's/# de_DE.UTF-8 UTF-8/de_DE.UTF-8 UTF-8/' /etc/locale.gen - sudo sed -i -e 's/# el_GR.UTF-8 UTF-8/el_GR.UTF-8 UTF-8/' /etc/locale.gen - sudo sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen - sudo sed -i -e 's/# es_ES.UTF-8 UTF-8/es_ES.UTF-8 UTF-8/' /etc/locale.gen - sudo sed -i -e 's/# ru_RU.UTF-8 UTF-8/ru_RU.UTF-8 UTF-8/' /etc/locale.gen - sudo dpkg-reconfigure --frontend=noninteractive locales - sudo update-locale LANG=en_US.UTF-8 - - - name: Install Packages - run: composer install --prefer-dist - - - name: Setup Tests - run: | - cp tests/_config/.env.default .env - php tests/_config/generate-db-schemas.php - vendor/bin/codecept build - - - name: Run All Tests - env: - DATA_MYSQL_PORT: ${{ job.services.mysql.ports['3306'] }} - DATA_POSTGRES_PORT: ${{ job.services.postgres.ports['5432'] }} - DATA_REDIS_PORT: ${{ job.services.redis.ports['6379'] }} - DATA_MEMCACHED_PORT: ${{ job.services.memcached.ports['11211'] }} - DATA_MYSQL_USER: root - run: | - vendor/bin/codecept run --ext DotReporter cli - vendor/bin/codecept run --ext DotReporter unit - vendor/bin/codecept run --ext DotReporter integration - vendor/bin/codecept run --ext DotReporter database -g common - vendor/bin/codecept run --ext DotReporter database -g mysql --env mysql - vendor/bin/codecept run --ext DotReporter database -g sqlite --env sqlite - - - name: Upload Code Coverage on 7.4 - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} From 50e18a2221d4da9d59967e9c6303b7e51741e838 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Wed, 11 Aug 2021 18:41:28 +0100 Subject: [PATCH 14/22] Bump Zephir version to `0.14.0-beta.3` --- docker/7.4/.bashrc | 2 +- docker/8.0/.bashrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/7.4/.bashrc b/docker/7.4/.bashrc index 28178668498..66d392ceff4 100644 --- a/docker/7.4/.bashrc +++ b/docker/7.4/.bashrc @@ -1,6 +1,6 @@ #!/bin/bash -ZEPHIR_VERSION="0.13.5" +ZEPHIR_VERSION="0.14.0-beta.3" # Easier navigation: .., ..., ...., ....., ~ and - alias ..="cd .." diff --git a/docker/8.0/.bashrc b/docker/8.0/.bashrc index cbd563e5e2a..61fe8e5f3df 100644 --- a/docker/8.0/.bashrc +++ b/docker/8.0/.bashrc @@ -1,6 +1,6 @@ #!/bin/bash -ZEPHIR_VERSION="0.13.5" +ZEPHIR_VERSION="0.14.0-beta.3" # Easier navigation: .., ..., ...., ....., ~ and - alias ..="cd .." From 2265f38ab0c73bd0966adb69446e21e4b9416ea3 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Wed, 11 Aug 2021 18:48:46 +0100 Subject: [PATCH 15/22] Fix namespace in tests --- tests/unit/Support/Debug/DebugVarCest.php | 2 +- tests/unit/Support/Debug/GetCssSourcesCest.php | 2 +- tests/unit/Support/Debug/GetJsSourcesCest.php | 2 +- tests/unit/Support/Debug/GetVersionCest.php | 2 +- tests/unit/Support/Debug/ListenExceptionsCest.php | 2 +- tests/unit/Support/Debug/ListenLowSeverityCest.php | 2 +- tests/unit/Support/Debug/OnUncaughtExceptionCest.php | 2 +- tests/unit/Support/Debug/OnUncaughtLowSeverityCest.php | 2 +- tests/unit/Support/Debug/RenderHtmlCest.php | 2 +- tests/unit/Support/Debug/SetShowBackTraceCest.php | 2 +- tests/unit/Support/Debug/SetShowFilesCest.php | 2 +- tests/unit/Support/Debug/SetUriCest.php | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/unit/Support/Debug/DebugVarCest.php b/tests/unit/Support/Debug/DebugVarCest.php index 9c5ebfbb0d7..8630e61d600 100644 --- a/tests/unit/Support/Debug/DebugVarCest.php +++ b/tests/unit/Support/Debug/DebugVarCest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Phalcon\Test\Unit\Debug; +namespace Phalcon\Test\Unit\Support\Debug; use UnitTester; diff --git a/tests/unit/Support/Debug/GetCssSourcesCest.php b/tests/unit/Support/Debug/GetCssSourcesCest.php index b4d1420f99d..2efed4f0c0b 100644 --- a/tests/unit/Support/Debug/GetCssSourcesCest.php +++ b/tests/unit/Support/Debug/GetCssSourcesCest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Phalcon\Test\Unit\Debug; +namespace Phalcon\Test\Unit\Support\Debug; use Phalcon\Support\Debug; use UnitTester; diff --git a/tests/unit/Support/Debug/GetJsSourcesCest.php b/tests/unit/Support/Debug/GetJsSourcesCest.php index 9c420022f70..826aba69277 100644 --- a/tests/unit/Support/Debug/GetJsSourcesCest.php +++ b/tests/unit/Support/Debug/GetJsSourcesCest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Phalcon\Test\Unit\Debug; +namespace Phalcon\Test\Unit\Support\Debug; use Phalcon\Support\Debug; use UnitTester; diff --git a/tests/unit/Support/Debug/GetVersionCest.php b/tests/unit/Support/Debug/GetVersionCest.php index 571f29d5ee7..1558b70c509 100644 --- a/tests/unit/Support/Debug/GetVersionCest.php +++ b/tests/unit/Support/Debug/GetVersionCest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Phalcon\Test\Unit\Debug; +namespace Phalcon\Test\Unit\Support\Debug; use Phalcon\Support\Debug; use Phalcon\Test\Fixtures\Traits\DiTrait; diff --git a/tests/unit/Support/Debug/ListenExceptionsCest.php b/tests/unit/Support/Debug/ListenExceptionsCest.php index 4e7f1dacd03..3d353f3c6d6 100644 --- a/tests/unit/Support/Debug/ListenExceptionsCest.php +++ b/tests/unit/Support/Debug/ListenExceptionsCest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Phalcon\Test\Unit\Debug; +namespace Phalcon\Test\Unit\Support\Debug; use UnitTester; diff --git a/tests/unit/Support/Debug/ListenLowSeverityCest.php b/tests/unit/Support/Debug/ListenLowSeverityCest.php index d9179680225..44ebc31e1da 100644 --- a/tests/unit/Support/Debug/ListenLowSeverityCest.php +++ b/tests/unit/Support/Debug/ListenLowSeverityCest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Phalcon\Test\Unit\Debug; +namespace Phalcon\Test\Unit\Support\Debug; use UnitTester; diff --git a/tests/unit/Support/Debug/OnUncaughtExceptionCest.php b/tests/unit/Support/Debug/OnUncaughtExceptionCest.php index 72eaa8d4b78..53f913eb9d0 100644 --- a/tests/unit/Support/Debug/OnUncaughtExceptionCest.php +++ b/tests/unit/Support/Debug/OnUncaughtExceptionCest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Phalcon\Test\Unit\Debug; +namespace Phalcon\Test\Unit\Support\Debug; use UnitTester; diff --git a/tests/unit/Support/Debug/OnUncaughtLowSeverityCest.php b/tests/unit/Support/Debug/OnUncaughtLowSeverityCest.php index 86902247cb3..22ef768a525 100644 --- a/tests/unit/Support/Debug/OnUncaughtLowSeverityCest.php +++ b/tests/unit/Support/Debug/OnUncaughtLowSeverityCest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Phalcon\Test\Unit\Debug; +namespace Phalcon\Test\Unit\Support\Debug; use UnitTester; diff --git a/tests/unit/Support/Debug/RenderHtmlCest.php b/tests/unit/Support/Debug/RenderHtmlCest.php index 5d3016e228d..20b15a21acf 100644 --- a/tests/unit/Support/Debug/RenderHtmlCest.php +++ b/tests/unit/Support/Debug/RenderHtmlCest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Phalcon\Test\Unit\Debug; +namespace Phalcon\Test\Unit\Support\Debug; use Phalcon\Exception; use Phalcon\Support\Debug; diff --git a/tests/unit/Support/Debug/SetShowBackTraceCest.php b/tests/unit/Support/Debug/SetShowBackTraceCest.php index 3f7662da11b..d49a0ee2535 100644 --- a/tests/unit/Support/Debug/SetShowBackTraceCest.php +++ b/tests/unit/Support/Debug/SetShowBackTraceCest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Phalcon\Test\Unit\Debug; +namespace Phalcon\Test\Unit\Support\Debug; use UnitTester; diff --git a/tests/unit/Support/Debug/SetShowFilesCest.php b/tests/unit/Support/Debug/SetShowFilesCest.php index 429b8318aaa..16e0be7a9b2 100644 --- a/tests/unit/Support/Debug/SetShowFilesCest.php +++ b/tests/unit/Support/Debug/SetShowFilesCest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Phalcon\Test\Unit\Debug; +namespace Phalcon\Test\Unit\Support\Debug; use UnitTester; diff --git a/tests/unit/Support/Debug/SetUriCest.php b/tests/unit/Support/Debug/SetUriCest.php index e1273ee925d..5c6d1494429 100644 --- a/tests/unit/Support/Debug/SetUriCest.php +++ b/tests/unit/Support/Debug/SetUriCest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Phalcon\Test\Unit\Debug; +namespace Phalcon\Test\Unit\Support\Debug; use Phalcon\Support\Debug; use UnitTester; From fac6189da6390cdec065b113d630013c99677483 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Wed, 11 Aug 2021 18:49:23 +0100 Subject: [PATCH 16/22] Bump ext-psr up to `1.1.0` --- composer.json | 2 +- composer.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index e595c18d8db..81ca9e779f2 100644 --- a/composer.json +++ b/composer.json @@ -46,7 +46,7 @@ "ext-mbstring": "*", "ext-msgpack": "*", "ext-pdo": "*", - "ext-psr": "^0.7|^1.0", + "ext-psr": "^1.1.0", "ext-redis": "*", "ext-sqlite3": "*", "ext-xml": "*", diff --git a/composer.lock b/composer.lock index 86d08e68d3e..1db2bf376dd 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": "8c7faf03ce161dd4974e5009f45adbcf", + "content-hash": "78ae4bd56daf844c9d3b1099951cb498", "packages": [], "packages-dev": [ { @@ -6420,7 +6420,7 @@ "ext-mbstring": "*", "ext-msgpack": "*", "ext-pdo": "*", - "ext-psr": "^0.7|^1.0", + "ext-psr": "^1.1.0", "ext-redis": "*", "ext-sqlite3": "*", "ext-xml": "*" From 5548f520c2f89f179439faf580febfc4946abf02 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Wed, 11 Aug 2021 18:52:09 +0100 Subject: [PATCH 17/22] Update version of psr --- .github/workflows/static-code-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index 05e697f31a8..c19393f267e 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -45,7 +45,7 @@ jobs: with: php-version: ${{ matrix.php-versions }} tools: pecl - extensions: mbstring, intl, json, imagick, redis, igbinary, apcu, msgpack, memcached, yaml, psr-1.1.1 + extensions: mbstring, intl, json, imagick, redis, igbinary, apcu, msgpack, memcached, yaml, psr - name: Install System Dependencies run: | From 2c558392a430aeea6fa5130a4255092fde8c1943 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Wed, 11 Aug 2021 18:53:11 +0100 Subject: [PATCH 18/22] Update version of psr --- .github/workflows/static-code-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index c19393f267e..4053233939b 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -45,7 +45,7 @@ jobs: with: php-version: ${{ matrix.php-versions }} tools: pecl - extensions: mbstring, intl, json, imagick, redis, igbinary, apcu, msgpack, memcached, yaml, psr + extensions: mbstring, intl, json, imagick, redis, igbinary, apcu, msgpack, memcached, yaml, psr-1.1.0 - name: Install System Dependencies run: | From 983a90b0919e317840f7ef92062ec2f2f9ddaaac Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Wed, 11 Aug 2021 19:02:22 +0100 Subject: [PATCH 19/22] Move env variables into 'env' --- .github/workflows/build-and-test.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index ed1454f6544..a1b7872f6c9 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -9,6 +9,13 @@ on: - '**.txt' pull_request: +env: + ZEPHIR_PARSER_VERSION: v1.3.6 + ZEPHIR_VERSION: 0.14.0-beta.3 + LANG: en_US.UTF-8 + LANGUAGE: en_US.UTF-8 + LC_ALL: en_US.UTF-8 + jobs: generate: # To prevent build a particular commit use @@ -18,13 +25,6 @@ jobs: runs-on: ubuntu-20.04 name: Build Phalcon Pecl Package steps: - - name: Setup Environment Variables - run: | - echo "ZEPHIR_PARSER_VERSION=v1.3.6" >> $GITHUB_ENV - echo "ZEPHIR_VERSION=0.14.0-beta.3" >> $GITHUB_ENV - echo "LANG=en_US.UTF-8" >> $GITHUB_ENV - echo "LANGUAGE=en_US.UTF-8" >> $GITHUB_ENV - echo "LC_ALL=en_US.UTF-8" >> $GITHUB_ENV - name: Setup PHP uses: shivammathur/setup-php@v2 From f7e9277354065a3711acb045d15e91a3daf2ade2 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Wed, 11 Aug 2021 19:03:35 +0100 Subject: [PATCH 20/22] Remove 'Common Settings' step --- .github/workflows/build-and-test.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index a1b7872f6c9..33a46ce228a 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -35,14 +35,6 @@ jobs: env: COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Common Settings - run: | - # Core dump settings - ulimit -c unlimited -S || true - - # Hide "You are in 'detached HEAD' state" message - git config --global advice.detachedHead false - - name: Checkout Code uses: actions/checkout@v2 with: From 2bcc7800b6c5844296ad8fa6ed8de9bbed6413df Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Wed, 11 Aug 2021 19:14:22 +0100 Subject: [PATCH 21/22] Remove `--ignore-platform-reqs` option in Win job --- .github/workflows/build-and-test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 33a46ce228a..10861c3c8c7 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -566,8 +566,7 @@ jobs: run: php --ri phalcon - name: Install Packages - # TODO: Imagick isn't available for PHP8.0 - run: composer install --prefer-dist --ignore-platform-reqs + run: composer install --prefer-dist - name: Setup Tests run: | From 5894978aced69d353c6bd81b4573a80f9adcb3e2 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Wed, 11 Aug 2021 19:26:21 +0100 Subject: [PATCH 22/22] Revert "Remove `--ignore-platform-reqs` option in Win job" --- .github/workflows/build-and-test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 10861c3c8c7..33a46ce228a 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -566,7 +566,8 @@ jobs: run: php --ri phalcon - name: Install Packages - run: composer install --prefer-dist + # TODO: Imagick isn't available for PHP8.0 + run: composer install --prefer-dist --ignore-platform-reqs - name: Setup Tests run: |