Skip to content
Merged
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,19 @@
/CHANGELOG.md merge=union

# Exclude files from the archive
/.editorconfig export-ignore
/.gitattributes export-ignore
/.github export-ignore
/.gitignore export-ignore
/.styleci.yml export-ignore
/codeception.yml export-ignore
/composer-require-checker.json export-ignore
/docs export-ignore
/ecs.php export-ignore
/infection.json* export-ignore
/phpstan*.neon* export-ignore
/phpunit.xml.dist export-ignore
/psalm.xml export-ignore
/rector.php export-ignore
/runtime export-ignore
/tests export-ignore
2 changes: 1 addition & 1 deletion .github/workflows/build-mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ name: build-mssql
jobs:
mssql:
name: SQL Server tests.
uses: php-forge/actions/.github/workflows/phpunit-database.yml@main
uses: php-forge/actions/.github/workflows/phpunit-database.yml@v1
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ name: build-mysql
jobs:
mysql:
name: MySQL tests.
uses: php-forge/actions/.github/workflows/phpunit-database.yml@main
uses: php-forge/actions/.github/workflows/phpunit-database.yml@v1
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ name: build-oracle
jobs:
oracle:
name: Oracle tests.
uses: php-forge/actions/.github/workflows/phpunit-database.yml@main
uses: php-forge/actions/.github/workflows/phpunit-database.yml@v1
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-pgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ name: build-pgsql
jobs:
pgsql:
name: PostgreSQL tests.
uses: php-forge/actions/.github/workflows/phpunit-database.yml@main
uses: php-forge/actions/.github/workflows/phpunit-database.yml@v1
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name: build

jobs:
phpunit:
uses: php-forge/actions/.github/workflows/phpunit.yml@main
uses: php-forge/actions/.github/workflows/phpunit.yml@v1
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
Expand All @@ -29,7 +29,7 @@ jobs:
extensions: pdo, pdo_sqlite
phpunit-group: sqlite
phpunit-compatibility:
uses: php-forge/actions/.github/workflows/phpunit.yml@main
uses: php-forge/actions/.github/workflows/phpunit.yml@v1
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ name: Composer require checker

jobs:
composer-require-checker:
uses: php-forge/actions/.github/workflows/composer-require-checker.yml@main
uses: php-forge/actions/.github/workflows/composer-require-checker.yml@v1
2 changes: 1 addition & 1 deletion .github/workflows/ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ name: ecs

jobs:
easy-coding-standard:
uses: php-forge/actions/.github/workflows/ecs.yml@main
uses: php-forge/actions/.github/workflows/ecs.yml@v1
with:
extensions: mbstring
9 changes: 5 additions & 4 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@ name: mutation test

jobs:
mutation:
uses: php-forge/actions/.github/workflows/infection.yml@main
uses: php-forge/actions/.github/workflows/infection.yml@v1
with:
extensions: pdo, pdo_pgsql, pdo_sqlite
framework-options: --test-framework-options="--group=sqlite,mutation"
hook: |
before-hook: |
# Config MySQL with Docker
docker run -d \
--name mysql-test \
Expand Down Expand Up @@ -74,6 +72,9 @@ jobs:
echo "PGSQL_DSN=pgsql:host=localhost;port=5432;dbname=yiitest" >> $GITHUB_ENV
echo "PGSQL_USERNAME=root" >> $GITHUB_ENV
echo "PGSQL_PASSWORD=root" >> $GITHUB_ENV
command-coverage-options: --with-uncovered
extensions: pdo, pdo_mysql, pdo_pgsql, pdo_sqlite
framework-options: --test-framework-options="--group=sqlite,mutation"
phpstan: true
secrets:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ name: static analysis

jobs:
phpstan:
uses: php-forge/actions/.github/workflows/phpstan.yml@main
uses: php-forge/actions/.github/workflows/phpstan.yml@v1
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 0.1.1 Under development

- Bug #85: Update license badge URL in `README.md` and add license header in `LICENSE.md` and kill infection mutant (@terabytesoftw)
- Bug #87: Update `.gitattributes` to exclude additional files from the package, update `LICENSE.md` and add stable version worflows actions (@terabytesoftw)

## 0.1.0 July 8, 2025

Expand Down
6 changes: 3 additions & 3 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ are permitted provided that the following conditions are met:
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of Yii Software nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.
* Neither the name of Yii2 Extensions (Terabytesoftw) nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ For detailed configuration options and advanced usage.
[![Latest Stable Version](https://poser.pugx.org/yii2-extensions/nested-sets-behavior/v)](https://github.com/yii2-extensions/nested-sets-behavior/releases)
[![Total Downloads](https://poser.pugx.org/yii2-extensions/nested-sets-behavior/downloads)](https://packagist.org/packages/yii2-extensions/nested-sets-behavior)
[![codecov](https://codecov.io/gh/yii2-extensions/nested-sets-behavior/graph/badge.svg?token=Upc4yA23YN)](https://codecov.io/gh/yii2-extensions/nested-sets-behavior)
[![phpstan-level](https://img.shields.io/badge/PHPStan%20level-max-blue)](https://github.com/yii2-extensions/localeurls/actions/workflows/static.yml)
[![phpstan-level](https://img.shields.io/badge/PHPStan%20level-max-blue)](https://github.com/yii2-extensions/nested-sets-behavior/actions/workflows/static.yml)
[![style-ci](https://github.styleci.io/repos/717718161/shield?branch=main)](https://github.styleci.io/repos/717718161?branch=main)

## Our social networks
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"require-dev": {
"ext-dom": "*",
"ext-simplexml": "*",
"infection/infection": "^0.27|^0.30",
"infection/infection": "^0.27|^0.31",
"maglnet/composer-require-checker": "^4.1",
"php-forge/support": "^0.1",
"phpstan/extension-installer": "^1.4",
Expand Down
Loading