Skip to content

Commit 3548b8d

Browse files
committed
fix: use the framework RuntimeException and regenerate the PHPStan baseline
- GDHandler now throws CodeIgniter\Exceptions\RuntimeException - utils/phpstan-baseline regenerated with composer phpstan:baseline
1 parent 0aeec13 commit 3548b8d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎system/Images/Handlers/GDHandler.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313

1414
namespace CodeIgniter\Images\Handlers;
1515

16+
use CodeIgniter\Exceptions\RuntimeException;
1617
use CodeIgniter\Images\Exceptions\ImageException;
1718
use Config\Images;
1819
use GdImage;
1920
use Override;
20-
use RuntimeException;
2121

2222
/**
2323
* Image handler for GD package

‎utils/phpstan-baseline/loader.neon‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# total 38 errors
1+
# total 37 errors
22

33
includes:
44
- arguments.count.neon

0 commit comments

Comments
 (0)