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/active-record.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

env:
COMPOSER_ROOT_VERSION: dev-master
PHP_VERSION: 8.4
PHP_VERSION: 8.5
EXTENSIONS: pdo, pdo_mysql, pdo_oci, pdo_pgsql, pdo_sqlite, pdo_sqlsrv

runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
- 8.2
- 8.3
- 8.4
- 8.5

steps:
- name: Checkout.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/composer-require-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ 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']
4 changes: 3 additions & 1 deletion .github/workflows/db-mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
strategy:
matrix:
php:
- 8.4
- 8.5

mariadb:
- mariadb:10.4
Expand All @@ -54,6 +54,8 @@ jobs:
mariadb: mariadb:latest
- php: 8.3
mariadb: mariadb:latest
- php: 8.4
mariadb: mariadb:latest

services:
mysql:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/db-migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

env:
COMPOSER_ROOT_VERSION: dev-master
PHP_VERSION: 8.4
PHP_VERSION: 8.5
EXTENSIONS: pdo, pdo_mysql, pdo_oci, pdo_pgsql, pdo_sqlite, pdo_sqlsrv

runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/db-mssql-2017.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

env:
COMPOSER_ROOT_VERSION: dev-master
PHP_VERSION: 8.4
PHP_VERSION: 8.5
EXTENSIONS: pdo, pdo_sqlsrv

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

mssql:
- 2022-latest
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/db-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
strategy:
matrix:
php:
- 8.4
- 8.5

mysql:
- mysql:5.7
Expand All @@ -48,6 +48,8 @@ jobs:
mysql: mysql:latest
- php: 8.3
mysql: mysql:latest
- php: 8.4
mysql: mysql:latest

services:
mysql:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/db-oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
strategy:
matrix:
php:
- 8.4
- 8.5

oracle:
- 18
Expand All @@ -48,6 +48,8 @@ jobs:
oracle: 21
- php: 8.3
oracle: 21
- php: 8.4
oracle: 21

services:
oci:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/db-pgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
strategy:
matrix:
php:
- 8.4
- 8.5

pgsql:
- 9
Expand All @@ -56,6 +56,8 @@ jobs:
pgsql: 18
- php: 8.3
pgsql: 18
- php: 8.4
pgsql: 18

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 @@ -43,6 +43,7 @@ jobs:
- 8.2
- 8.3
- 8.4
- 8.5

steps:
- name: Checkout.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rector-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
token: ${{ secrets.YIISOFT_GITHUB_TOKEN }}
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
php: '8.4'
php: '8.5'
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
- Enh #929: Refactor array, structured and JSON column type expressions and expression builders (@Tigrov)
- Enh #929: Implement lazy arrays for array, structured and JSON column types (@Tigrov)
- Bug #933: Explicitly mark nullable parameters (@vjik)
- Chg #911: Change supported PHP versions to `8.1 - 8.4` (@Tigrov)
- Chg #911, #1113: Change supported PHP versions to `8.1 - 8.5` (@Tigrov, @vjik)
- Enh #911, #940: Minor refactoring (@Tigrov)
- Chg #938, #936, #937: Remove `ext-json`, `ext-ctype`, `ext-mbstring` from `require` section of `composer.json` (@Tigrov)
- Chg #936: Remove `hasLimit()` and `hasOffset()` methods from `AbstractDQLQueryBuilder` class (@Tigrov)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Optional packages that provide additional functionality:

## Requirements

- PHP 8.1 - 8.4.
- PHP 8.1 - 8.5.
- `pdo` PHP extension.

## Installation
Expand Down
12 changes: 8 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,20 @@
}
],
"require": {
"php": "8.1 - 8.4",
"php": "8.1 - 8.5",
"ext-pdo": "*",
"psr/log": "^2.0|^3.0",
"psr/simple-cache": "^2.0|^3.0",
"psr/simple-cache-implementation": "*",
"yiisoft/db-implementation": "1.0.0"
},
"require-dev": {
"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.45",
"rector/rector": "^2.0.10",
"roave/infection-static-analysis-plugin": "^1.35",
"spatie/phpunit-watcher": "^1.24",
"vimeo/psalm": "^5.26.1 || ^6.8.8",
"yiisoft/aliases": "^3.0",
"yiisoft/di": "^1.3",
"yiisoft/dummy-provider": "^1.1",
Expand Down Expand Up @@ -87,6 +86,11 @@
}
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"target-directory": "tools",
"forward-command": true
},
"config-plugin-options": {
"source-directory": "config"
},
Expand All @@ -97,7 +101,7 @@
"config": {
"sort-packages": true,
"allow-plugins": {
"infection/extension-installer": true,
"bamarni/composer-bin-plugin": true,
"composer/package-versions-deprecated": true,
"yiisoft/config": false
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Common/CommonCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ public function testBatchInsert(
*/
public function testBatchInsertDataTypesLocale(): void
{
$locale = setlocale(LC_NUMERIC, 0);
$locale = setlocale(LC_NUMERIC, '');

if ($locale === false) {
$this->markTestSkipped('Your platform does not support locales.');
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