Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/composer-require-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
uses: yiisoft/actions/.github/workflows/composer-require-checker.yml@master
with:
php: >-
['8.1', '8.2', '8.3', '8.4']
['8.1', '8.2', '8.3', '8.4', '8.5']
required-packages: >-
['db']
1 change: 1 addition & 0 deletions .github/workflows/db-mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- 8.2
- 8.3
- 8.4
- 8.5

services:
mssql:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/db-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- 8.2
- 8.3
- 8.4
- 8.5

services:
mysql:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/db-oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- 8.2
- 8.3
- 8.4
- 8.5

services:
oci:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/db-pgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- 8.2
- 8.3
- 8.4
- 8.5

services:
postgres:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/db-sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
- 8.2
- 8.3
- 8.4
- 8.5

steps:
- name: Checkout.
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
os:
- ubuntu-latest
php:
- 8.4
- 8.5

services:
postgres:
Expand All @@ -57,8 +57,8 @@ jobs:
ini-values: memory_limit=-1
coverage: pcov

- name: Update composer.
run: composer self-update
- name: Install Composer dependencies
uses: ramsey/composer-install@v3

- name: Remove unused dependencies of DB drivers
run: composer remove --dev yiisoft/db-sqlite yiisoft/db-mysql yiisoft/db-mssql yiisoft/db-oracle
Expand All @@ -71,6 +71,6 @@ jobs:

- name: Run infection.
run: |
vendor/bin/roave-infection-static-analysis-plugin --threads=2 --ignore-msi-with-no-mutations --min-covered-msi=100 --test-framework-options="--testsuite=Pgsql"
vendor/bin/infection --threads=2 --ignore-msi-with-no-mutations --min-covered-msi=100 --test-framework-options="--testsuite=Pgsql"
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/rector-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ jobs:
token: ${{ secrets.YIISOFT_GITHUB_TOKEN }}
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
php: '8.4'
php: '8.5'
required-packages: >-
['db']
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Supported databases:

## Requirements

- PHP 8.1 - 8.4.
- PHP 8.1 - 8.5.

## Installation

Expand Down
15 changes: 11 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "8.1 - 8.4",
"php": "8.1 - 8.5",
"yiisoft/db": "dev-master"
},
"require-dev": {
"ext-pdo": "*",
"bamarni/composer-bin-plugin": "^1.8.3",
"friendsofphp/php-cs-fixer": "^3.89.1",
"maglnet/composer-require-checker": "^4.7.1",
"phpunit/phpunit": "^10.5.58",
"rector/rector": "^2.2.3",
"roave/infection-static-analysis-plugin": "^1.35",
"spatie/phpunit-watcher": "^1.24",
"vimeo/psalm": "^5.26.1 || ^6.8.8",
"yiisoft/aliases": "^2.0",
"yiisoft/arrays": "^3.2",
"yiisoft/db-mssql": "dev-master",
"yiisoft/db-mysql": "dev-master",
Expand Down Expand Up @@ -73,10 +73,17 @@
"Yiisoft\\ActiveRecord\\Tests\\": "tests"
}
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"target-directory": "tools",
"forward-command": true
}
},
"config": {
"sort-packages": true,
"allow-plugins": {
"infection/extension-installer": true,
"bamarni/composer-bin-plugin": true,
"composer/package-versions-deprecated": true
}
},
Expand Down
2 changes: 2 additions & 0 deletions tools/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/*/vendor
/*/composer.lock
10 changes: 10 additions & 0 deletions tools/infection/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"require-dev": {
"infection/infection": "^0.26 || ^0.31.9"
},
"config": {
"allow-plugins": {
"infection/extension-installer": true
}
}
}
5 changes: 5 additions & 0 deletions tools/psalm/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require-dev": {
"vimeo/psalm": "^5.26.1 || ^6.8.8"
}
}
Loading