Skip to content

Commit 8aab7d8

Browse files
committed
Refactor.
1 parent 13eed06 commit 8aab7d8

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,3 +190,4 @@ __*Why "v3.0.0" instead of "v1.0.0?"*__ Prior to phpMussel v3, the "phpMussel Co
190190

191191
- [2025.10.03]: Optimised some iterators.
192192
- [2025.10.07]: Added support for NO_COLOR.
193+
- [2025.11.02]: Some minor refactoring.

l10n/he.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Hebrew language data (last modified: 2025.09.17).
10+
# This file: Hebrew language data (last modified: 2025.10.19).
1111
#
1212
# Regarding translations: My native language is English. Because this is a free
1313
# and open-source hobby project which generates zero income, and translatable
@@ -66,7 +66,7 @@ response:
6666
Failed to access %s: "הגישה ל-"%s" נכשלה!"
6767
Filename manipulation detected: "זוהתה מניפולציה של שם הקובץ"
6868
Filesize limit exceeded: "חרגת ממגבלת גודל הקובץ"
69-
Filetype blacklisted: "סוג הקובץ ברשימה השחורה"
69+
Filetype blacklisted: "סוג הקובץ בblacklist"
7070
Finished: "גמור"
7171
Image: "תמונה"
7272
Invalid data: "לא נתונים חוקי!"

src/Loader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* License: GNU/GPLv2
99
* @see LICENSE.txt
1010
*
11-
* This file: The loader (last modified: 2025.10.03).
11+
* This file: The loader (last modified: 2025.11.02).
1212
*/
1313

1414
namespace phpMussel\Core;
@@ -215,7 +215,7 @@ public function __construct(
215215
string $VendorPath = ''
216216
) {
217217
/** Ensure minimum PHP version requirement is met. */
218-
if (!version_compare(PHP_VERSION, '7.2.0', '>=')) {
218+
if (\PHP_VERSION_ID < 70200) {
219219
throw new \Exception('phpMussel v3 requires PHP >= 7.2.0 in order to work properly.');
220220
}
221221

0 commit comments

Comments
 (0)