From bd344ac510f3c2e5605a42cd83d6a81be58f2e27 Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Sun, 13 Jul 2025 11:14:41 -0400 Subject: [PATCH 1/2] fix: Update license badge in `README.md` for correct display and add missing header in `LICENSE.md`. --- CHANGELOG.md | 4 ++++ LICENSE.md | 2 ++ README.md | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23d68b3..e4cd89d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ ## 0.3.1 Under development - Bug #62: Order class elements in methods and properties (@terabytesoftw) +- Bug #63: Add case to the ordered class elements in `ECS` configuration (@terabytesoftw) +- Bug #64: Correct badge URL formatting in `README.md` (@terabytesoftw) +- Bug #65: Add missing `Composer` requirement in installation guide (@terabytesoftw) +- Bug #66: Update license badge in `README.md` for correct display and add missing header in `LICENSE.md` (@terabytesoftw) ## 0.3.0 June 27, 2025 diff --git a/LICENSE.md b/LICENSE.md index 1555f8e..13bf79d 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,3 +1,5 @@ +# BSD 3-Clause License + Copyright © 2008 by Terabytesoftw () All rights reserved. diff --git a/README.md b/README.md index d5315c0..eeb21cf 100644 --- a/README.md +++ b/README.md @@ -209,7 +209,7 @@ For detailed configuration options and advanced usage. ## License -[![License](https://poser.pugx.org/yii2-extensions/phpstan/license)](LICENSE.md) +[![License](https://img.shields.io/github/license/yii2-extensions/phpstan)](LICENSE.md) ## Fork From 2e177e509938dd123c4633f457a763025bbe3666 Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Sun, 13 Jul 2025 11:19:19 -0400 Subject: [PATCH 2/2] fix: Remove unnecessary composer command from workflow files. --- .github/workflows/dependency-check.yml | 3 --- .github/workflows/ecs.yml | 5 ----- .github/workflows/static.yml | 4 ---- 3 files changed, 12 deletions(-) diff --git a/.github/workflows/dependency-check.yml b/.github/workflows/dependency-check.yml index 2686bc2..a5390cf 100644 --- a/.github/workflows/dependency-check.yml +++ b/.github/workflows/dependency-check.yml @@ -20,6 +20,3 @@ name: Composer require checker jobs: composer-require-checker: uses: php-forge/actions/.github/workflows/composer-require-checker.yml@main - with: - composer-command: | - composer require yiisoft/yii2:22.0.x-dev --prefer-dist --no-progress --no-interaction --no-scripts --ansi diff --git a/.github/workflows/ecs.yml b/.github/workflows/ecs.yml index c87ad34..5350294 100644 --- a/.github/workflows/ecs.yml +++ b/.github/workflows/ecs.yml @@ -20,8 +20,3 @@ name: ecs jobs: easy-coding-standard: uses: php-forge/actions/.github/workflows/ecs.yml@main - secrets: - AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }} - with: - composer-command: | - composer require yiisoft/yii2:22.0.x-dev --prefer-dist --no-progress --no-interaction --no-scripts --ansi diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index eade35a..41b3b28 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -25,13 +25,9 @@ jobs: phpstan: uses: php-forge/actions/.github/workflows/phpstan.yml@main with: - composer-command: | - composer require yiisoft/yii2:22.0.x-dev --prefer-dist --no-progress --no-interaction --no-scripts --ansi concurrency-group: phpstan-${{ github.workflow }}-${{ github.ref }} phpstan-console: uses: php-forge/actions/.github/workflows/phpstan.yml@main with: configuration: 'phpstan-console.neon' - composer-command: | - composer require yiisoft/yii2:22.0.x-dev --prefer-dist --no-progress --no-interaction --no-scripts --ansi concurrency-group: phpstan-console-${{ github.workflow }}-${{ github.ref }}