Skip to content

Commit dc54a5b

Browse files
committed
Test on PHP 8.2 and update test environment
1 parent 83692d9 commit dc54a5b

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ jobs:
1111
strategy:
1212
matrix:
1313
os:
14-
- ubuntu-20.04
15-
- windows-2019
14+
- ubuntu-22.04
15+
- windows-2022
1616
php:
17+
- 8.2
1718
- 8.1
1819
- 8.0
1920
- 7.4

phpunit.xml.dist

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
66
bootstrap="vendor/autoload.php"
77
colors="true"
8-
cacheResult="false">
8+
cacheResult="false"
9+
convertDeprecationsToExceptions="true">
910
<testsuites>
1011
<testsuite name="SQLite React Test Suite">
1112
<directory>./tests/</directory>
@@ -17,4 +18,7 @@
1718
<directory>./src/</directory>
1819
</include>
1920
</coverage>
21+
<php>
22+
<ini name="error_reporting" value="-1" />
23+
</php>
2024
</phpunit>

src/Factory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ private function php()
433433

434434
// if `php` is a symlink to the php binary, use the shorter `php` name
435435
// this is purely cosmetic feature for the process list
436-
if ($binary !== 'php' && \realpath($this->which('php')) === $binary) {
436+
if ($binary !== 'php' && \realpath((string) $this->which('php')) === $binary) {
437437
$binary = 'php';
438438
}
439439

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy