diff --git a/.github/workflows/bc.yml b/.github/workflows/bc.yml index 00041a9..5b32e6f 100644 --- a/.github/workflows/bc.yml +++ b/.github/workflows/bc.yml @@ -8,7 +8,7 @@ on: - '.gitattributes' - 'infection.json.dist' - 'phpunit.xml.dist' - - 'psalm.xml' + - 'phpstan.neon' push: branches: ['master'] paths-ignore: @@ -19,7 +19,7 @@ on: - '.gitattributes' - 'infection.json.dist' - 'phpunit.xml.dist' - - 'psalm.xml' + - 'phpstan.neon' name: backwards compatibility diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 05e7b40..d12a95a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,7 @@ on: - '.gitignore' - '.gitattributes' - 'infection.json.dist' - - 'psalm.xml' + - 'phpstan.neon' push: branches: ['master'] @@ -18,7 +18,7 @@ on: - '.gitignore' - '.gitattributes' - 'infection.json.dist' - - 'psalm.xml' + - 'phpstan.neon' name: build diff --git a/.github/workflows/composer-require-checker.yml b/.github/workflows/composer-require-checker.yml index a857bce..4bdba4c 100644 --- a/.github/workflows/composer-require-checker.yml +++ b/.github/workflows/composer-require-checker.yml @@ -8,7 +8,7 @@ on: - '.gitattributes' - 'infection.json.dist' - 'phpunit.xml.dist' - - 'psalm.xml' + - 'phpstan.neon' push: branches: ['master'] @@ -20,7 +20,7 @@ on: - '.gitattributes' - 'infection.json.dist' - 'phpunit.xml.dist' - - 'psalm.xml' + - 'phpstan.neon' name: Composer require checker diff --git a/.github/workflows/mutation.yml b/.github/workflows/mutation.yml index 2282c14..f2e1528 100644 --- a/.github/workflows/mutation.yml +++ b/.github/workflows/mutation.yml @@ -6,7 +6,7 @@ on: - 'CHANGELOG.md' - '.gitignore' - '.gitattributes' - - 'psalm.xml' + - 'phpstan.neon' push: branches: ['master'] @@ -16,7 +16,7 @@ on: - 'CHANGELOG.md' - '.gitignore' - '.gitattributes' - - 'psalm.xml' + - 'phpstan.neon' name: mutation test diff --git a/.github/workflows/rector.yml b/.github/workflows/rector.yml index 457772a..bb9bc78 100644 --- a/.github/workflows/rector.yml +++ b/.github/workflows/rector.yml @@ -7,7 +7,7 @@ on: - '.gitignore' - '.gitattributes' - 'infection.json.dist' - - 'psalm.xml' + - 'phpstan.neon' name: rector diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index e33eca8..7be817a 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -23,8 +23,8 @@ on: name: static analysis jobs: - psalm: - uses: yiisoft/actions/.github/workflows/psalm.yml@master + phpstan: + uses: yiisoft/actions/.github/workflows/phpstan.yml@master with: os: >- ['ubuntu-latest'] diff --git a/CHANGELOG.md b/CHANGELOG.md index f2d656a..999ab65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,8 @@ ## 5.0.1 under development -- no changes in this release. +- Chg #155: Improve static analyze annotations (@vjik) +- Enh #155: Remove unnecessary `array_filter` call in `AssetUtil::extractFilePathsForExport()` method (@vjik) ## 5.0.0 December 11, 2024 diff --git a/README.md b/README.md index 80a97a9..48a4e74 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,7 @@ [![Build status](https://github.com/yiisoft/assets/actions/workflows/build.yml/badge.svg)](https://github.com/yiisoft/assets/actions/workflows/build.yml) [![Code Coverage](https://codecov.io/gh/yiisoft/assets/graph/badge.svg?token=U09s7jclX6)](https://codecov.io/gh/yiisoft/assets) [![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fyiisoft%2Fassets%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/yiisoft/assets/master) -[![static analysis](https://github.com/yiisoft/assets/workflows/static%20analysis/badge.svg)](https://github.com/yiisoft/assets/actions?query=workflow%3A%22static+analysis%22) -[![type-coverage](https://shepherd.dev/github/yiisoft/assets/coverage.svg)](https://shepherd.dev/github/yiisoft/assets) +[![static analysis](https://github.com/yiisoft/assets/actions/workflows/static.yml/badge.svg)](https://github.com/yiisoft/assets/actions/workflows/static.yml) The package implements client-side asset (such as CSS and JavaScript) management for PHP. It helps resolve dependencies and get lists of files ready for generating HTML `