From 3975e98738e1519816e91b4f5c22eafd0c45c1bd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 03:34:40 +0000 Subject: [PATCH 1/4] Update vimeo/psalm requirement from ^4.30|^5.8 to ^6.16.1 Updates the requirements on [vimeo/psalm](https://github.com/vimeo/psalm) to permit the latest version. - [Release notes](https://github.com/vimeo/psalm/releases) - [Commits](https://github.com/vimeo/psalm/commits/6.16.1) --- updated-dependencies: - dependency-name: vimeo/psalm dependency-version: 6.16.1 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 684e09c..eeed83e 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,7 @@ "rector/rector": "^2.0.3", "roave/infection-static-analysis-plugin": "^1.16", "spatie/phpunit-watcher": "^1.23.6", - "vimeo/psalm": "^4.30|^5.8" + "vimeo/psalm": "^6.16.1" }, "autoload": { "psr-4": { From 939a337994c54600f52c53f5f2d10d47e1299ca1 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Fri, 3 Jul 2026 00:54:00 +0300 Subject: [PATCH 2/4] Run Psalm 6 checks on newer PHP --- .github/workflows/build.yml | 2 +- .github/workflows/composer-require-checker.yml | 2 +- .github/workflows/mutation.yml | 2 +- .github/workflows/rector-cs.yml | 2 +- .github/workflows/static.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8506ea1..fb85e51 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,4 +28,4 @@ jobs: os: >- ['ubuntu-latest', 'windows-latest'] php: >- - ['8.0', '8.1'] + ['8.2', '8.3'] diff --git a/.github/workflows/composer-require-checker.yml b/.github/workflows/composer-require-checker.yml index 6cb4099..b3330e7 100644 --- a/.github/workflows/composer-require-checker.yml +++ b/.github/workflows/composer-require-checker.yml @@ -30,4 +30,4 @@ jobs: os: >- ['ubuntu-latest'] php: >- - ['8.0'] + ['8.2'] diff --git a/.github/workflows/mutation.yml b/.github/workflows/mutation.yml index c1aca98..03b72c0 100644 --- a/.github/workflows/mutation.yml +++ b/.github/workflows/mutation.yml @@ -26,6 +26,6 @@ jobs: os: >- ['ubuntu-latest'] php: >- - ['8.1'] + ['8.2'] secrets: STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} diff --git a/.github/workflows/rector-cs.yml b/.github/workflows/rector-cs.yml index 2351349..33a828f 100644 --- a/.github/workflows/rector-cs.yml +++ b/.github/workflows/rector-cs.yml @@ -24,4 +24,4 @@ jobs: token: ${{ secrets.YIISOFT_GITHUB_TOKEN }} with: repository: ${{ github.event.pull_request.head.repo.full_name }} - php: '8.0' + php: '8.2' diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 96b2679..5a269f7 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -28,4 +28,4 @@ jobs: os: >- ['ubuntu-latest'] php: >- - ['8.0', '8.1'] + ['8.2', '8.3'] From b61a9c8f087249934c386b3da5934e414b6b0349 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Sun, 12 Jul 2026 14:43:40 +0300 Subject: [PATCH 3/4] fix --- .github/workflows/static.yml | 36 +++++++++++++++++------------------- composer.json | 3 ++- 2 files changed, 19 insertions(+), 20 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 5a269f7..3123f56 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -1,25 +1,23 @@ +name: static analysis + on: pull_request: - paths-ignore: - - 'docs/**' - - 'README.md' - - 'CHANGELOG.md' - - '.gitignore' - - '.gitattributes' - - 'infection.json.dist' - - 'phpunit.xml.dist' - + paths: &paths + - 'src/**' + - 'config/**' + - '.github/workflows/static.yml' + - 'psalm*.xml' + - 'composer.json' push: - paths-ignore: - - 'docs/**' - - 'README.md' - - 'CHANGELOG.md' - - '.gitignore' - - '.gitattributes' - - 'infection.json.dist' - - 'phpunit.xml.dist' + branches: ['master'] + paths: *paths -name: static analysis +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: psalm: @@ -28,4 +26,4 @@ jobs: os: >- ['ubuntu-latest'] php: >- - ['8.2', '8.3'] + ['8.0', '8.1', '8.2', '8.3', '8.4', '8.5'] diff --git a/composer.json b/composer.json index eeed83e..6e7524f 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,7 @@ "rector/rector": "^2.0.3", "roave/infection-static-analysis-plugin": "^1.16", "spatie/phpunit-watcher": "^1.23.6", - "vimeo/psalm": "^6.16.1" + "vimeo/psalm": "^4.30 || ^5.26.1 || ^6.16.1" }, "autoload": { "psr-4": { @@ -59,6 +59,7 @@ } }, "scripts": { + "psalm": "psalm", "test": "phpunit --testdox --no-interaction", "test-watch": "phpunit-watcher watch" } From 7e26bf94fe79e4b0bc8c7e971b96d92493609d31 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Sun, 12 Jul 2026 14:45:20 +0300 Subject: [PATCH 4/4] fix --- .github/workflows/build.yml | 2 +- .github/workflows/composer-require-checker.yml | 2 +- .github/workflows/mutation.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c3b8b18..609ea09 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,4 +26,4 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: php: >- - ['8.2', '8.3'] + ['8.0', '8.1'] diff --git a/.github/workflows/composer-require-checker.yml b/.github/workflows/composer-require-checker.yml index ea1014f..73fd65f 100644 --- a/.github/workflows/composer-require-checker.yml +++ b/.github/workflows/composer-require-checker.yml @@ -23,4 +23,4 @@ jobs: uses: yiisoft/actions/.github/workflows/composer-require-checker.yml@master with: php: >- - ['8.2'] + ['8.0'] diff --git a/.github/workflows/mutation.yml b/.github/workflows/mutation.yml index 31722cb..de9c009 100644 --- a/.github/workflows/mutation.yml +++ b/.github/workflows/mutation.yml @@ -23,6 +23,6 @@ jobs: os: >- ['ubuntu-latest'] php: >- - ['8.2'] + ['8.1'] secrets: STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}