Skip to content

Commit a2c7609

Browse files
committedFeb 14, 2024
udpate CHANGELOG
and a minor formatting fix
1 parent c365be7 commit a2c7609

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed
 

‎CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ All notable changes to `:vips` will be documented in this file.
77
- added `animate-image.php` example [jcupitt]
88
- added flags support [jcupitt]
99
- added `keep.php` example [jcupitt]
10+
- added streaming examples [jcupitt]
11+
- fix php 8.3 compatibility [uuf6429]
12+
- better library finding [uuf6429]
1013

1114
## 2.3.0 - 2023-09-26
1215

‎src/FFI.php

+4-3
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,10 @@ public static function version(): string
163163
*/
164164
public static function atLeast(int $x, int $y, int $z = 0): bool
165165
{
166-
return self::$library_major > $x
167-
|| (self::$library_major === $x && self::$library_minor > $y)
168-
|| (self::$library_major === $x && self::$library_minor === $y && self::$library_micro >= $z);
166+
return self::$library_major > $x ||
167+
(self::$library_major === $x && self::$library_minor > $y) ||
168+
(self::$library_major === $x && self::$library_minor === $y &&
169+
self::$library_micro >= $z);
169170
}
170171

171172
/**

0 commit comments

Comments
 (0)
Failed to load comments.