Skip to content

Commit 71fed49

Browse files
Add PHP 8.5 support
1 parent 9e2b5df commit 71fed49

3 files changed

Lines changed: 4 additions & 2 deletions

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

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ecoapm/libyear",
3-
"version": "3.0.0",
3+
"version": "3.1.0",
44
"description": "A simple measure of software dependency freshness",
55
"homepage": "https://libyear.com",
66
"readme": "README.md",

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)