Skip to content

Commit 1a84d3e

Browse files
committed
typo
1 parent c3d938f commit 1a84d3e

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

tests/Database/ResultSet.customNormalizer.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ test('disabled normalization', function () use ($connection) {
2121

2222
$connection->setRowNormalizer(null);
2323
$res = $connection->query('SELECT * FROM author');
24-
$asInt = $driverName === 'pgsql' || ($driverName !== 'sqlsrv' && PHP_VERSION_ID >= 80100);
24+
$asInt = $driverName === 'pgsql' || $driverName !== 'sqlsrv';
2525
Assert::same([
2626
'id' => $asInt ? 11 : '11',
2727
'name' => 'Jakub Vrana',

tests/Database/ResultSet.normalizeRow.mysql.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Assert::equal([
2626
'mediumint' => 1,
2727
'bigint' => 1,
2828
'bool' => true,
29-
'bit' => PHP_VERSION_ID < 80100 ? '1' : 1,
29+
'bit' => 1,
3030
'decimal' => 1,
3131
'decimal2' => 1.1,
3232
'float' => 1.0,
@@ -60,7 +60,7 @@ Assert::equal([
6060
'mediumint' => 0,
6161
'bigint' => 0,
6262
'bool' => false,
63-
'bit' => PHP_VERSION_ID < 80100 ? '0' : 0,
63+
'bit' => 0,
6464
'decimal' => 0,
6565
'decimal2' => 0.5,
6666
'float' => 0.5,

tests/Database/SqlPreprocessor.enum.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22

33
/**
4-
* @phpVersion 8.1
54
* @dataProvider? databases.ini
65
*/
76

0 commit comments

Comments
 (0)