mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
parent
32f10c392d
commit
b00d9e9514
@ -2839,6 +2839,15 @@ class ConditionalTest extends TestCase
|
||||
echo "false";
|
||||
}',
|
||||
],
|
||||
'BinaryDataIsPassedSeeIssue7771' => [
|
||||
'code' => '<?php
|
||||
function matches(string $value): bool {
|
||||
if ("\xD0\xCF\x11\xE0\xA1\xB1\x1A\xE1" !== $value) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}'
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user