mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 01:31:45 +01:00
Tests > Regex > fix "The mode is not binary-safe ('b' is missing)" bug
This commit is contained in:
@@ -799,12 +799,12 @@ class RegexTest extends BaseTestCase
|
||||
];
|
||||
|
||||
yield[
|
||||
fread(fopen($file1Path, 'r'), 1),
|
||||
fread(fopen($file1Path, 'rb'), 1),
|
||||
false,
|
||||
];
|
||||
|
||||
yield[
|
||||
fread(fopen($file2Path, 'r'), 1),
|
||||
fread(fopen($file2Path, 'rb'), 1),
|
||||
true,
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user