diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 57003c5..11df24a 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -16,7 +16,7 @@ jobs: dependencies: - "locked" php-version: - - "8.4" + - "8.5" operating-system: - "ubuntu-latest" diff --git a/.github/workflows/coding-standard.yml b/.github/workflows/coding-standard.yml index dbc9567..2697cf9 100644 --- a/.github/workflows/coding-standard.yml +++ b/.github/workflows/coding-standard.yml @@ -20,7 +20,7 @@ jobs: dependencies: - "locked" php-version: - - "8.4" + - "8.5" operating-system: - "ubuntu-latest" diff --git a/.github/workflows/mutation-tests-diff.yml b/.github/workflows/mutation-tests-diff.yml index 3ea9386..c950f2a 100644 --- a/.github/workflows/mutation-tests-diff.yml +++ b/.github/workflows/mutation-tests-diff.yml @@ -16,7 +16,7 @@ jobs: dependencies: - "locked" php-version: - - "8.4" + - "8.5" operating-system: - "ubuntu-latest" diff --git a/.github/workflows/mutation-tests.yml b/.github/workflows/mutation-tests.yml index 157e155..e52deb8 100644 --- a/.github/workflows/mutation-tests.yml +++ b/.github/workflows/mutation-tests.yml @@ -20,7 +20,7 @@ jobs: dependencies: - "locked" php-version: - - "8.4" + - "8.5" operating-system: - "ubuntu-latest" diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 6f34e4d..3d0f5f2 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -20,7 +20,7 @@ jobs: dependencies: - "locked" php-version: - - "8.4" + - "8.5" operating-system: - "ubuntu-latest" diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index d832b9f..a8f3c07 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -28,10 +28,10 @@ jobs: - "ubuntu-latest" include: - dependencies: "locked" - php-version: "8.4" + php-version: "8.5" operating-system: "ubuntu-latest" - dependencies: "locked" - php-version: "8.4" + php-version: "8.5" operating-system: "windows-latest" - dependencies: "lowest" php-version: "8.5" diff --git a/README.md b/README.md index 7727a42..ec11a49 100644 --- a/README.md +++ b/README.md @@ -694,3 +694,11 @@ To remove personal data, you need only remove the key from the store. ```php $cipherKeyStore->remove('foo-id'); ``` + + +## Contributing + +We are open to contributions as long as they are in line with +our [BC-Policy](https://event-sourcing.patchlevel.io/latest/our-backward-compatibility-promise/). + +Also note that the `composer.lock` is always generated with the newest supported PHP version as this is the version our tools run in the CI. \ No newline at end of file diff --git a/composer.json b/composer.json index cadebfc..d1e5206 100644 --- a/composer.json +++ b/composer.json @@ -27,13 +27,13 @@ "symfony/type-info": "^7.3.0 || ^8.0.0" }, "require-dev": { - "infection/infection": "^0.32.0", + "infection/infection": "^0.32.4", "patchlevel/coding-standard": "^1.3.0", - "phpat/phpat": "^0.12.0", - "phpbench/phpbench": "^1.2.15", - "phpstan/phpstan": "^2.1.32", - "phpstan/phpstan-phpunit": "^2.0.8", - "phpunit/phpunit": "^11.5.17", + "phpat/phpat": "^0.12.2", + "phpbench/phpbench": "^1.4.3", + "phpstan/phpstan": "^2.1.39", + "phpstan/phpstan-phpunit": "^2.0.15", + "phpunit/phpunit": "^11.5.53", "symfony/var-dumper": "^5.4.29 || ^6.4.0 || ^7.0.0 || ^8.0.0" }, "config": { diff --git a/composer.lock b/composer.lock index c283b50..d8f3abb 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": "cf967c1316683dfd99ce540e3530d175", + "content-hash": "607eb78316379b3e1506540bda756c5c", "packages": [ { "name": "psr/cache", @@ -1177,16 +1177,16 @@ }, { "name": "infection/infection", - "version": "0.32.3", + "version": "0.32.4", "source": { "type": "git", "url": "https://github.com/infection/infection.git", - "reference": "3654db483619b63b9bcb04c24caeb03677c6d057" + "reference": "a2b0a3e47b56bd2f27ca13caecae47baa7e5abe8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/infection/infection/zipball/3654db483619b63b9bcb04c24caeb03677c6d057", - "reference": "3654db483619b63b9bcb04c24caeb03677c6d057", + "url": "https://api.github.com/repos/infection/infection/zipball/a2b0a3e47b56bd2f27ca13caecae47baa7e5abe8", + "reference": "a2b0a3e47b56bd2f27ca13caecae47baa7e5abe8", "shasum": "" }, "require": { @@ -1207,11 +1207,11 @@ "ondram/ci-detector": "^4.1.0", "php": "^8.2", "psr/log": "^2.0 || ^3.0", - "sanmai/di-container": "^0.1.4", + "sanmai/di-container": "^0.1.12", "sanmai/duoclock": "^0.1.0", "sanmai/later": "^0.1.7", - "sanmai/pipeline": "^7.0", - "sebastian/diff": "^4.0 || ^5.0 || ^6.0 || ^7.0", + "sanmai/pipeline": "^7.2", + "sebastian/diff": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0", "symfony/console": "^6.4 || ^7.0 || ^8.0", "symfony/filesystem": "^6.4 || ^7.0 || ^8.0", "symfony/finder": "^6.4 || ^7.0 || ^8.0", @@ -1297,7 +1297,7 @@ ], "support": { "issues": "https://github.com/infection/infection/issues", - "source": "https://github.com/infection/infection/tree/0.32.3" + "source": "https://github.com/infection/infection/tree/0.32.4" }, "funding": [ { @@ -1309,7 +1309,7 @@ "type": "open_collective" } ], - "time": "2026-01-13T14:23:38+00:00" + "time": "2026-02-09T13:24:18+00:00" }, { "name": "infection/mutator", @@ -2136,11 +2136,11 @@ }, { "name": "phpstan/phpstan", - "version": "2.1.38", + "version": "2.1.39", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/dfaf1f530e1663aa167bc3e52197adb221582629", - "reference": "dfaf1f530e1663aa167bc3e52197adb221582629", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/c6f73a2af4cbcd99c931d0fb8f08548cc0fa8224", + "reference": "c6f73a2af4cbcd99c931d0fb8f08548cc0fa8224", "shasum": "" }, "require": { @@ -2185,20 +2185,20 @@ "type": "github" } ], - "time": "2026-01-30T17:12:46+00:00" + "time": "2026-02-11T14:48:56+00:00" }, { "name": "phpstan/phpstan-phpunit", - "version": "2.0.12", + "version": "2.0.15", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-phpunit.git", - "reference": "e4c5a22bf43d3d2bd5a780ad261a622ff62c49a4" + "reference": "0f6ba8e22a3e919353a8f4615ea3cd2e91626c7f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/e4c5a22bf43d3d2bd5a780ad261a622ff62c49a4", - "reference": "e4c5a22bf43d3d2bd5a780ad261a622ff62c49a4", + "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/0f6ba8e22a3e919353a8f4615ea3cd2e91626c7f", + "reference": "0f6ba8e22a3e919353a8f4615ea3cd2e91626c7f", "shasum": "" }, "require": { @@ -2234,11 +2234,14 @@ "MIT" ], "description": "PHPUnit extensions and rules for PHPStan", + "keywords": [ + "static analysis" + ], "support": { "issues": "https://github.com/phpstan/phpstan-phpunit/issues", - "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.0.12" + "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.0.15" }, - "time": "2026-01-22T13:40:00+00:00" + "time": "2026-02-11T14:43:43+00:00" }, { "name": "phpunit/php-code-coverage", @@ -2589,16 +2592,16 @@ }, { "name": "phpunit/phpunit", - "version": "11.5.52", + "version": "11.5.53", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "b287d32c26f78768e391843c5a59395f24b62605" + "reference": "a997a653a82845f1240d73ee73a8a4e97e4b0607" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b287d32c26f78768e391843c5a59395f24b62605", - "reference": "b287d32c26f78768e391843c5a59395f24b62605", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a997a653a82845f1240d73ee73a8a4e97e4b0607", + "reference": "a997a653a82845f1240d73ee73a8a4e97e4b0607", "shasum": "" }, "require": { @@ -2671,7 +2674,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.52" + "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.53" }, "funding": [ { @@ -2695,7 +2698,7 @@ "type": "tidelift" } ], - "time": "2026-02-08T07:05:14+00:00" + "time": "2026-02-10T12:28:25+00:00" }, { "name": "psr/clock", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 0d1e486..92e6ecc 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -162,12 +162,6 @@ parameters: count: 2 path: tests/Unit/Normalizer/ArrayNormalizerTest.php - - - message: '#^Parameter \#1 \$normalizer of class Patchlevel\\Hydrator\\Normalizer\\ArrayNormalizer constructor expects Patchlevel\\Hydrator\\Normalizer\\Normalizer, PHPUnit\\Framework\\MockObject\\MockObject given\.$#' - identifier: argument.type - count: 1 - path: tests/Unit/Normalizer/ArrayNormalizerTest.php - - message: '#^Cannot cast mixed to int\.$#' identifier: cast.int @@ -179,9 +173,3 @@ parameters: identifier: cast.string count: 2 path: tests/Unit/Normalizer/ArrayShapeNormalizerTest.php - - - - message: '#^Parameter \#1 \$normalizerMap of class Patchlevel\\Hydrator\\Normalizer\\ArrayShapeNormalizer constructor expects array\, array\ given\.$#' - identifier: argument.type - count: 1 - path: tests/Unit/Normalizer/ArrayShapeNormalizerTest.php