From 598d7afc92114b067896a1fc5d8bfb7566b54a6d Mon Sep 17 00:00:00 2001 From: alexmerlin Date: Mon, 27 Jan 2025 17:03:27 +0200 Subject: [PATCH] Issue #6: Bump Psalm to 6.x Signed-off-by: alexmerlin --- .github/workflows/codecov.yml | 1 + .laminas-ci.json | 3 --- README.md | 2 +- composer.json | 4 ++-- docs/book/v1/factories/repository.md | 6 ++---- docs/book/v1/factories/service.md | 8 +++----- 6 files changed, 9 insertions(+), 15 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 59c4b08..26f124b 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -17,6 +17,7 @@ jobs: php: - "8.2" - "8.3" + - "8.4" steps: - name: Checkout diff --git a/.laminas-ci.json b/.laminas-ci.json index 82cd446..29216fa 100644 --- a/.laminas-ci.json +++ b/.laminas-ci.json @@ -1,6 +1,3 @@ { - "ignore_php_platform_requirements": { - "8.4": true - }, "backwardCompatibilityCheck": true } diff --git a/README.md b/README.md index 4118d02..a493eb2 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This package can clean up your code, by getting rid of all the factories you wri dependency or two. ![OSS Lifecycle](https://img.shields.io/osslifecycle/dotkernel/dot-dependency-injection) -![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-dependency-injection/1.1.0) +![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-dependency-injection/1.1.1) [![GitHub issues](https://img.shields.io/github/issues/dotkernel/dot-dependency-injection)](https://github.com/dotkernel/dot-dependency-injection/issues) [![GitHub forks](https://img.shields.io/github/forks/dotkernel/dot-dependency-injection)](https://github.com/dotkernel/dot-dependency-injection/network) diff --git a/composer.json b/composer.json index b7c02fc..64a647a 100644 --- a/composer.json +++ b/composer.json @@ -29,9 +29,9 @@ "psr/container": "^1.0 || ^2.0" }, "require-dev": { + "laminas/laminas-coding-standard": "^3.0", "phpunit/phpunit": "^10.5", - "vimeo/psalm": "^5.20", - "laminas/laminas-coding-standard": "^3.0" + "vimeo/psalm": "^6.0" }, "autoload": { "psr-4": { diff --git a/docs/book/v1/factories/repository.md b/docs/book/v1/factories/repository.md index cefe879..75f19a6 100644 --- a/docs/book/v1/factories/repository.md +++ b/docs/book/v1/factories/repository.md @@ -2,8 +2,7 @@ ## Prepare repository -`dot-dependency-injection` determines the entity a repository is related to by looking at the `#[Entity]` attribute, -added to the repository class. +`dot-dependency-injection` determines the entity a repository is related to by looking at the `#[Entity]` attribute, added to the repository class. ```php