PHP 5.x support for random_bytes() and random_int()
/dev/urandom
cannot be read on Unix-based operating systems,
a Exception with a specific error message will be thrown.MissingReturnType
check (that is to say, demoted it to "info").totallyTyped="false"
).v9.99.99
and it's causing stuff to break, see this section of the README for the solution to your problem.psalm.xml
file with explanations for why each assertion is suppressed./
with DIRECTORY_SEPARATOR
.
For most users (i.e. not running Windows) this change should be of zero consequence. For everyone else, it should mean random_compat magically works when it didn't before.v9.99.99
tag.polyfill
keyword to composer.json^1
to ^1|^2
if you want other changes (i.e. better compatibility with type-safety), because the v2 branch is where most of the development effort is focused. Continued support for v1.x is considered "only for emergencies".