Skip to content

Commit 46cfe4d

Browse files
Add PHP 8.5 support
1 parent 9e2b5df commit 46cfe4d

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
version: ["8.1", "8.2", "8.3", "8.4"]
9+
version: ["8.1", "8.2", "8.3", "8.4", "8.5"]
1010

1111
steps:
1212
- uses: actions/checkout@v6

src/Factory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ class Factory
1010
{
1111
public static function app(): App
1212
{
13+
$error_level = error_reporting(E_RECOVERABLE_ERROR);
1314
$cli = new Cli();
15+
error_reporting($error_level);
1416

1517
$fs = new FileSystem();
1618
$file = new ComposerFile($fs, STDERR);

0 commit comments

Comments
 (0)