Skip to content
Closed
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
4 changes: 2 additions & 2 deletions .github/workflows/platform-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
coverage: "none"
php-version: "${{ matrix.php-version }}"
ini-file: development
extensions: pdo, mysqli, pgsql, pdo_mysql, pdo_pgsql, pdo_sqlite, mongodb
extensions: pdo, mysqli, pgsql, sqlsrv, pdo_sqlsrv, pdo_mysql, pdo_pgsql, pdo_sqlite, mongodb

- name: "Allow installing on PHP 8.4"
if: matrix.php-version == '8.4'
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- "3306:3306"

mssql:
image: mcr.microsoft.com/mssql/server:latest
image: mcr.microsoft.com/mssql/server:2019-latest
env:
ACCEPT_EULA: Y
SA_PASSWORD: 'Secret.123'
Expand Down
4 changes: 4 additions & 0 deletions tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4807,6 +4807,10 @@
'host' => getenv('MSSQL_HOST'),
'user' => 'SA',
'password' => 'Secret.123',
'driverOptions' => [
'Encrypt' => false,
'TrustServerCertificate' => true,
],
// user database is created after connection
];
default:
Expand Down Expand Up @@ -5139,7 +5143,7 @@
if (InstalledVersions::satisfies(new VersionParser(), 'doctrine/orm', '3.*')) {
$config->setMetadataDriverImpl(new AttributeDriver([__DIR__ . '/Entity']));
} else {
$config->setMetadataDriverImpl(new AnnotationDriver(new AnnotationReader(), [__DIR__ . '/Entity']));

Check failure on line 5146 in tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...

Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php

Check failure on line 5146 in tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...

Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
}

$config->addCustomStringFunction('INT_PI', TypedExpressionIntegerPiFunction::class);
Expand Down
2 changes: 1 addition & 1 deletion tests/Platform/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
target: /var/lib/postgresql/data

mssql:
image: mcr.microsoft.com/mssql/server:latest
image: mcr.microsoft.com/mssql/server:2022-CU18-ubuntu-20.04
environment:
ACCEPT_EULA: Y
SA_PASSWORD: 'Secret.123'
Expand Down
Loading