From 103f200192ec2cadcc8f03c16de8afcdeb073198 Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Thu, 11 May 2023 14:09:59 +0000 Subject: [PATCH 1/9] upgrade Release workflow --- .github/workflows/release.yml | 69 +++++++++++++++++++++++++++++------ box.json | 5 +++ box.json.dist | 6 ++- 3 files changed, 67 insertions(+), 13 deletions(-) create mode 100644 box.json diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 413400d8..fe799552 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,12 +3,13 @@ name: Release on: push: - branches: - - "[0-9]+.[0-9]+" tags: - "[0-9]+.[0-9]+.[0-9]+" workflow_dispatch: +permissions: + contents: write + jobs: tests: uses: ./.github/workflows/unit-tests.yaml @@ -16,13 +17,57 @@ jobs: build: needs: tests - name: Create Release - uses: llaville/.github/.github/workflows/release.yml@master - with: - repository: ${{ github.repository }} - box-output: bin/phpcompatinfo.phar - release-draft: true - release-prerelease: ${{ github.ref_type == 'branch' }} - legacy: false - changie-changesDir: ".changes/6.x" - changie-command-args: "batch --keep --prerelease snapshot patch" + runs-on: ${{ matrix.os }} + + strategy: + fail-fast: false + matrix: + os: + - ubuntu-22.04 + php: + - 8.1 + + steps: + - # Git Checkout + name: Checkout + uses: actions/checkout@v3 + + - # Setup PHP runtime + name: Setup PHP runtime + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + + - # Install Composer dependencies + name: Install Composer dependencies + uses: ramsey/composer-install@v2 + with: + composer-options: "--prefer-dist" + + - # Prepare binary BOX Manifest commands + name: Download BOX Manifest Artifact + run: | + curl -Ls https://github.com/llaville/box-manifest/releases/latest/download/box-manifest.phar -o /usr/local/bin/box-manifest + chmod +x /usr/local/bin/box-manifest + + - # Build the current release with artifacts (php archive) + name: Build Release Artifact + run: | + box-manifest manifest:build --ansi -vv -c box.json --output-file=sbom.json + box-manifest manifest:build --ansi -vv -c box.json --output-file=console.txt --format console + box-manifest manifest:stub --ansi -vv -c box.json --output-file=stub.php --resource console.txt --resource sbom.json + box-manifest box:compile --ansi -vv -c box.json.dist + + - # Create a new Release (from a tag) + name: Create Release from current tag + if: github.ref_type == 'tag' + uses: softprops/action-gh-release@v1 + with: # https://github.com/softprops/action-gh-release#-customizing + prerelease: false + draft: true + body_path: ${{ github.workspace }}/.changes/6.x/${{ github.ref_name }}.md + # https://github.com/softprops/action-gh-release#%EF%B8%8F-uploading-release-assets + files: | + ${{ github.workspace }}/bin/phpcompatinfo.phar + fail_on_unmatched_files: true + tag_name: ${{ github.ref_name }} diff --git a/box.json b/box.json new file mode 100644 index 00000000..4abbd969 --- /dev/null +++ b/box.json @@ -0,0 +1,5 @@ +{ + "alias": "phpcompatinfo.phar", + "directories": ["bin", "config", "src", "vendor"], + "compression": "GZ" +} diff --git a/box.json.dist b/box.json.dist index 7e3e9cda..366d9d45 100644 --- a/box.json.dist +++ b/box.json.dist @@ -2,5 +2,9 @@ "alias": "phpcompatinfo.phar", "directories": ["bin", "config", "src", "vendor"], "compression": "GZ", - "metadata": "Bartlett\\BoxManifest\\Composer\\ManifestFactory::toHighlight" + "files-bin": ["sbom.json", "console.txt"], + "map": [ + { "console.txt": ".box.manifests/console.txt" }, + { "sbom.json": ".box.manifests/sbom.json" } + ] } From 0ef97ca31695d4750641d114556fdf57e4d1031f Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Thu, 11 May 2023 14:10:44 +0000 Subject: [PATCH 2/9] upgrade UnitTests workflow to supports both PHPUnit 9 and 10 --- .github/workflows/unit-tests.yaml | 18 ++++++++++--- phpunit-9.xml | 43 +++++++++++++++++++++++++++++++ phpunit.xml.dist | 19 ++++++++------ 3 files changed, 68 insertions(+), 12 deletions(-) create mode 100644 phpunit-9.xml diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index 2e077018..38830ff8 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -28,12 +28,12 @@ jobs: os: ubuntu-latest php: 7.4 extensions: json,pcre,pdo,phar,spl,mbstring,sqlite - tools: phpunit + tools: phpunit:9.6 - os: ubuntu-latest php: 8.0 extensions: json,pcre,pdo,phar,spl,mbstring,sqlite - tools: phpunit + tools: phpunit:9.6 - os: ubuntu-latest php: 8.1 @@ -68,6 +68,7 @@ jobs: name: Install Composer dependencies uses: ramsey/composer-install@v2 with: + dependency-versions: "highest" composer-options: "--prefer-dist --no-scripts" - # Build Database @@ -77,5 +78,14 @@ jobs: bin/phpcompatinfo db:init --ansi - # Run unit tests - name: Unit tests - run: phpunit --group features,large,reference,regression,default + name: Unit tests with PHPUnit 9 + if: | + ${{ matrix.php == '7.4' }} || + ${{ matrix.php == '8.0' }} + run: phpunit --group features,large,reference,regression,default --testdox --do-not-cache-result --configuration ./phpunit-9.xml + - + name: Unit tests with PHPUnit 10 + if: | + ${{ matrix.php == '8.1' }} || + ${{ matrix.php == '8.2' }} + run: phpunit --group features,large,reference,regression,default --testdox --do-not-cache-result diff --git a/phpunit-9.xml b/phpunit-9.xml new file mode 100644 index 00000000..2f17d208 --- /dev/null +++ b/phpunit-9.xml @@ -0,0 +1,43 @@ + + + + + src/ + + + + + tests/PhpParser/ + + + tests/Reference/ + + + tests/Sniffs/ + + + tests/ + tests/PhpFeatures/ + + + + + large + not_implemented + + + + + + diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 2f17d208..04f1340d 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,7 +1,8 @@ - - - src/ - - + tests/PhpParser/ @@ -38,6 +36,11 @@ - + + + + src/ + + From 96248e0040eb48cb0a09fbbef67f428fd38c8027 Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Thu, 11 May 2023 14:26:09 +0000 Subject: [PATCH 3/9] fix markdownlint MD034 warning --- .changes/6.x/6.5.4.md | 2 +- CHANGELOG.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.changes/6.x/6.5.4.md b/.changes/6.x/6.5.4.md index cea262ee..673368e9 100644 --- a/.changes/6.x/6.5.4.md +++ b/.changes/6.x/6.5.4.md @@ -4,6 +4,6 @@ ### Changed - [#358](https://github.com/llaville/php-compatinfo/issues/358) : build CHANGELOG automation - migrate from legacy script to changie tool -- we use the new `toHighlight` manifest builder available since v2.1.0 (see https://github.com/llaville/box-manifest/releases/tag/2.1.0) +- we use the new `toHighlight` manifest builder available since v2.1.0 (see ) **Full Changelog**: [6.5.3...6.5.4](https://github.com/llaville/php-compatinfo/compare/6.5.3...6.5.4) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9f3b5f8..691e8762 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ and is generated by [Changie](https://github.com/miniscruff/changie). ### Changed - [#358](https://github.com/llaville/php-compatinfo/issues/358) : build CHANGELOG automation - migrate from legacy script to changie tool -- we use the new `toHighlight` manifest builder available since v2.1.0 (see https://github.com/llaville/box-manifest/releases/tag/2.1.0) +- we use the new `toHighlight` manifest builder available since v2.1.0 (see ) **Full Changelog**: [6.5.3...6.5.4](https://github.com/llaville/php-compatinfo/compare/6.5.3...6.5.4) From 9feab23b6edcdcbd09c937945d724d4b664ac611 Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Thu, 11 May 2023 14:28:10 +0000 Subject: [PATCH 4/9] update MegaLinter configuration --- .mega-linter.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.mega-linter.yml b/.mega-linter.yml index 103fb42c..a3d57404 100644 --- a/.mega-linter.yml +++ b/.mega-linter.yml @@ -24,7 +24,8 @@ PHP_PHPCS_CLI_LINT_MODE: project PHP_PHPCS_CONFIG_FILE: ".phpcs.xml.dist" PHP_PHPCS_ARGUMENTS: "-n" PHP_PHPLINT_CLI_LINT_MODE: project -YAML_PRETTIER_FILTER_REGEX_EXCLUDE: "(mkdocs\\.yml|\\.github|\\.changie\\.yaml)" # As it cannot be added in .gitignore for ML actionlint linter +PHP_PHPLINT_ARGUMENTS: "--no-cache" +YAML_PRETTIER_FILTER_REGEX_EXCLUDE: "(mkdocs\\.yml|\\.github|\\.mega-linter\\.yml|\\.changie\\.yaml)" # As it cannot be added in .gitignore for ML actionlint linter YAML_YAMLLINT_FILTER_REGEX_EXCLUDE: "(\\.github)" # As it cannot be added in .gitignore for ML actionlint linter CONFIG_REPORTER: false UPDATED_SOURCES_REPORTER: false @@ -33,3 +34,4 @@ CONSOLE_REPORTER: true LOG_FILE: mega-linter-v6.log LOG_LEVEL: INFO PRINT_ALL_FILES: false +PARALLEL: false # to avoid issue with MegaLinter v6.20.0 (see https://github.com/oxsecurity/megalinter/issues/2425) From 0d7eaa6e09974120f6362a10577081bc2a4bc569 Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Thu, 11 May 2023 14:29:24 +0000 Subject: [PATCH 5/9] avoid some false PHPStan errors --- .github/linters/phpstan.neon.dist | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/linters/phpstan.neon.dist b/.github/linters/phpstan.neon.dist index 057bc8f5..c143cbc7 100644 --- a/.github/linters/phpstan.neon.dist +++ b/.github/linters/phpstan.neon.dist @@ -4,3 +4,11 @@ parameters: - ../../src/ excludePaths: - ../../src/Infrastructure/ManifestBuilder.php + treatPhpDocTypesAsCertain: false + ignoreErrors: + - + message: "#^Method Bartlett\\\\CompatInfo\\\\Application\\\\Analyser\\\\CompatibilityAnalyser\\:\\:leave[a-zA-Z0-9\\_]+\\(\\) is unused\\.$#" + path: ../../src/Application/Analyser/CompatibilityAnalyser.php + - + message: "#^Method Bartlett\\\\CompatInfo\\\\Application\\\\Sniffs\\\\Keywords\\\\ReservedSniff\\:\\:enter[a-zA-Z0-9\\_]+\\(\\) is unused\\.$#" + path: ../../src/Application/Sniffs/Keywords/ReservedSniff.php From b5576f9c1938bfec41613d8f3a4c020726daeacf Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Thu, 11 May 2023 14:30:50 +0000 Subject: [PATCH 6/9] avoid to commit PHPUnit 10 cache --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index ec8980f9..aa4e35d9 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ vendor/ ###### PHPUnit ###### .phpunit.result.cache +.phpunit.cache/ ###### Mega-Linter ###### report/ From bf7cbaf8ca1b75389267b4202b16d9a32cdd3d0a Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Thu, 11 May 2023 13:34:12 +0000 Subject: [PATCH 7/9] fix issue #359 --- .../6.x/unreleased/Fixed-20230511-133051.yaml | 4 + config/set/php73.php | 9 ++ docs/01_Components/03_Sniffs/Features.md | 6 +- docs/README.md | 1 + .../FunctionCalls/SameSiteCookieSniff.php | 80 +++++++++++++++++ tests/Sniffs/SameSiteCookieSniffTest.php | 85 +++++++++++++++++++ .../functions/gh359_same-site-cookies.php | 4 + .../functions/gh359_same-site-cookies_raw.php | 4 + .../functions/gh359_setcookie-options.php | 7 ++ .../functions/gh359_setcookie-options_raw.php | 7 ++ .../functions/gh359_setcookie-params.php | 21 +++++ 11 files changed, 225 insertions(+), 3 deletions(-) create mode 100644 .changes/6.x/unreleased/Fixed-20230511-133051.yaml create mode 100644 src/Application/Sniffs/FunctionCalls/SameSiteCookieSniff.php create mode 100644 tests/Sniffs/SameSiteCookieSniffTest.php create mode 100644 tests/fixtures/sniffs/functions/gh359_same-site-cookies.php create mode 100644 tests/fixtures/sniffs/functions/gh359_same-site-cookies_raw.php create mode 100644 tests/fixtures/sniffs/functions/gh359_setcookie-options.php create mode 100644 tests/fixtures/sniffs/functions/gh359_setcookie-options_raw.php create mode 100644 tests/fixtures/sniffs/functions/gh359_setcookie-params.php diff --git a/.changes/6.x/unreleased/Fixed-20230511-133051.yaml b/.changes/6.x/unreleased/Fixed-20230511-133051.yaml new file mode 100644 index 00000000..19a96088 --- /dev/null +++ b/.changes/6.x/unreleased/Fixed-20230511-133051.yaml @@ -0,0 +1,4 @@ +kind: Fixed +body: '- [#359](https://github.com/llaville/php-compatinfo/issues/359) : new `setcookie` + signature not recognized' +time: 2023-05-11T13:30:51.352740424Z diff --git a/config/set/php73.php b/config/set/php73.php index 4a7edf35..af515e6c 100644 --- a/config/set/php73.php +++ b/config/set/php73.php @@ -6,6 +6,8 @@ * file that was distributed with this source code. */ +use Bartlett\CompatInfo\Application\Sniffs\FunctionCalls\SameSiteCookieSniff; + use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; /** @@ -15,4 +17,11 @@ * @since Release 6.5.0 */ return static function (ContainerConfigurator $containerConfigurator): void { + $services = $containerConfigurator->services(); + + $services->defaults() + ->autowire() + ; + + $services->set(SameSiteCookieSniff::class); }; diff --git a/docs/01_Components/03_Sniffs/Features.md b/docs/01_Components/03_Sniffs/Features.md index d2e4dba8..a5e61af5 100644 --- a/docs/01_Components/03_Sniffs/Features.md +++ b/docs/01_Components/03_Sniffs/Features.md @@ -110,9 +110,9 @@ Here is the list of features supported and their corresponding sniffs : ## [PHP 7.3](https://www.php.net/manual/en/migration73.php) -| Sniff category | Sniff class name | PHP Feature | -|---|---|---| -| | | | +| Sniff category | Sniff class name | PHP Feature | +|----------------|---|--------------------------------------------------------------------------------------------------------------------------------------------| +| FunctionCalls | SameSiteCookieSniff | [SetCookie accept $options argument](https://www.php.net/manual/en/migration73.other-changes.php#migration73.other-changes.core.setcookie) | ## [PHP 7.4](https://www.php.net/manual/en/migration74.php) diff --git a/docs/README.md b/docs/README.md index 97bcd3de..10550dc8 100644 --- a/docs/README.md +++ b/docs/README.md @@ -45,6 +45,7 @@ They are grouped by categories to solve PHP features (from 4.0 to 8.2) - Enumerations (1) - Expressions (3) - Fibers (1) +- FunctionCalls (1) - FunctionDeclarations (7) - Generators (1) - Keywords (1) diff --git a/src/Application/Sniffs/FunctionCalls/SameSiteCookieSniff.php b/src/Application/Sniffs/FunctionCalls/SameSiteCookieSniff.php new file mode 100644 index 00000000..a3e00dd1 --- /dev/null +++ b/src/Application/Sniffs/FunctionCalls/SameSiteCookieSniff.php @@ -0,0 +1,80 @@ + [ + 'name' => $this->getShortClass(), + 'fullDescription' => "Set(raw)cookie alternative signature is allowed since PHP 7.3.0", + 'helpUri' => '%baseHelpUri%/01_Components/03_Sniffs/Features/#php-73', + ]; + } + + /** + * {@inheritDoc} + */ + public function enterNode(Node $node) + { + if (!$node instanceof Node\Expr\FuncCall) { + return null; + } + if (!$node->name instanceof Node\Name) { + return null; + } + $functionName = strtolower($node->name->toString()); + + if (!in_array($functionName, ['setcookie', 'setrawcookie', 'session_set_cookie_params'])) { + return null; + } + + $arguments = $node->args; + + if ('session_set_cookie_params' === $functionName) { + if ($arguments[0]->value instanceof Node\Expr\Array_) { + $this->updateNodeElementVersion($node, $this->attributeKeyStore, ['php.min' => '7.3.0beta1']); + $this->updateNodeElementRule($node, $this->attributeKeyStore, self::CA73); + } + } else { + if (count($arguments) > 7 || (count($arguments) > 2 && $arguments[2]->value instanceof Node\Expr\Array_)) { + $this->updateNodeElementVersion($node, $this->attributeKeyStore, ['php.min' => '7.3.0beta1']); + $this->updateNodeElementRule($node, $this->attributeKeyStore, self::CA73); + } + } + + return null; + } +} diff --git a/tests/Sniffs/SameSiteCookieSniffTest.php b/tests/Sniffs/SameSiteCookieSniffTest.php new file mode 100644 index 00000000..934e5166 --- /dev/null +++ b/tests/Sniffs/SameSiteCookieSniffTest.php @@ -0,0 +1,85 @@ + [ + 'php.min' => '7.3.0beta1', + ], + 'gh359_same-site-cookies_raw.php' => [ + 'php.min' => '7.3.0beta1', + ], + 'gh359_setcookie-options.php' => [ + 'php.min' => '7.3.0beta1', + ], + 'gh359_setcookie-options_raw.php' => [ + 'php.min' => '7.3.0beta1', + ], + 'gh359_setcookie-params.php' => [ + 'php.min' => '7.3.0beta1', + ], + ]; + + foreach ($provides as $filename => $versions) { + yield [$filename, $versions]; + } + } + + /** + * Regression test issue #359 + * + * @link https://github.com/llaville/php-compatinfo/issues/359 + * new secookie signature not recognized + * @group features + * @group regression + * @dataProvider dataSourceProvider + * @return void + * @throws Exception + */ + public function testSignatureWithOptionsOrSameSiteArgument(string $dataSource, array $expectedVersions) + { + $metrics = $this->executeAnalysis($dataSource); + $versions = $metrics[self::$analyserId]['versions']; + + foreach ($expectedVersions as $key => $value) { + $this->assertEquals($value, $versions[$key]); + } + } +} diff --git a/tests/fixtures/sniffs/functions/gh359_same-site-cookies.php b/tests/fixtures/sniffs/functions/gh359_same-site-cookies.php new file mode 100644 index 00000000..1e524e82 --- /dev/null +++ b/tests/fixtures/sniffs/functions/gh359_same-site-cookies.php @@ -0,0 +1,4 @@ + 'Lax', // Allowed values: "Lax" or "Strict" + 'expires' => time() + 86400, +]); diff --git a/tests/fixtures/sniffs/functions/gh359_setcookie-options_raw.php b/tests/fixtures/sniffs/functions/gh359_setcookie-options_raw.php new file mode 100644 index 00000000..32dbeaae --- /dev/null +++ b/tests/fixtures/sniffs/functions/gh359_setcookie-options_raw.php @@ -0,0 +1,7 @@ + 'Lax', // Allowed values: "Lax" or "Strict" + 'expires' => time() + 86400, +]); diff --git a/tests/fixtures/sniffs/functions/gh359_setcookie-params.php b/tests/fixtures/sniffs/functions/gh359_setcookie-params.php new file mode 100644 index 00000000..ae7ea607 --- /dev/null +++ b/tests/fixtures/sniffs/functions/gh359_setcookie-params.php @@ -0,0 +1,21 @@ + $maxlifetime, + 'path' => '/', + 'domain' => $_SERVER['HTTP_HOST'], + 'secure' => $secure, + 'httponly' => $httponly, + 'samesite' => $samesite + ]); +} From b9e9e441e2fe2979ce76f80cc872495c77d50264 Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Thu, 11 May 2023 14:55:48 +0000 Subject: [PATCH 8/9] upgrade final version of BOX configuration file --- box.json.dist | 1 + 1 file changed, 1 insertion(+) diff --git a/box.json.dist b/box.json.dist index 366d9d45..d8262aa0 100644 --- a/box.json.dist +++ b/box.json.dist @@ -2,6 +2,7 @@ "alias": "phpcompatinfo.phar", "directories": ["bin", "config", "src", "vendor"], "compression": "GZ", + "stub": "stub.php", "files-bin": ["sbom.json", "console.txt"], "map": [ { "console.txt": ".box.manifests/console.txt" }, From 9603aad095832c109c7994ddee7933218c9eb445 Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Fri, 12 May 2023 07:30:09 +0000 Subject: [PATCH 9/9] prepare bugfix release --- .changes/6.x/6.5.5.md | 8 +++++++ .../6.x/unreleased/Fixed-20230511-133051.yaml | 4 ---- .changie.yaml | 24 ++++++++++++++----- CHANGELOG.md | 8 +++++++ LICENSE | 2 +- 5 files changed, 35 insertions(+), 11 deletions(-) create mode 100644 .changes/6.x/6.5.5.md delete mode 100644 .changes/6.x/unreleased/Fixed-20230511-133051.yaml diff --git a/.changes/6.x/6.5.5.md b/.changes/6.x/6.5.5.md new file mode 100644 index 00000000..4a795768 --- /dev/null +++ b/.changes/6.x/6.5.5.md @@ -0,0 +1,8 @@ + +## 6.5.5 - 2023-05-12 + +### Fixed + +- [#359](https://github.com/llaville/php-compatinfo/issues/359) : new `setcookie` signature not recognized + +**Full Changelog**: [6.5.4...6.5.5](https://github.com/llaville/php-compatinfo/compare/6.5.4...6.5.5) diff --git a/.changes/6.x/unreleased/Fixed-20230511-133051.yaml b/.changes/6.x/unreleased/Fixed-20230511-133051.yaml deleted file mode 100644 index 19a96088..00000000 --- a/.changes/6.x/unreleased/Fixed-20230511-133051.yaml +++ /dev/null @@ -1,4 +0,0 @@ -kind: Fixed -body: '- [#359](https://github.com/llaville/php-compatinfo/issues/359) : new `setcookie` - signature not recognized' -time: 2023-05-11T13:30:51.352740424Z diff --git a/.changie.yaml b/.changie.yaml index 2c2babb2..932257ad 100644 --- a/.changie.yaml +++ b/.changie.yaml @@ -7,12 +7,24 @@ versionFormat: '## {{.Version}} - {{.Time.Format "2006-01-02"}}' kindFormat: '### {{.Kind}}' changeFormat: '- {{.Body}}' kinds: - - label: Added - - label: Changed - - label: Deprecated - - label: Removed - - label: Fixed - - label: Security + - + label: Added + auto: minor + - + label: Changed + auto: minor + - + label: Deprecated + auto: patch + - + label: Removed + auto: minor + - + label: Fixed + auto: patch + - + label: Security + auto: patch newlines: afterHeaderTemplate: 0 beforeKind: 1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 691e8762..8bdc6bf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and is generated by [Changie](https://github.com/miniscruff/changie). +## 6.5.5 - 2023-05-12 + +### Fixed + +- [#359](https://github.com/llaville/php-compatinfo/issues/359) : new `setcookie` signature not recognized + +**Full Changelog**: [6.5.4...6.5.5](https://github.com/llaville/php-compatinfo/compare/6.5.4...6.5.5) + ## 6.5.4 - 2022-12-14 ### Changed diff --git a/LICENSE b/LICENSE index d85bb3df..3094565b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ - Copyright (c) 2010-2022, Laurent Laville + Copyright (c) 2010-2023, Laurent Laville Credits to :