Open Stadly opened 10 months ago
Here are the relevant PHP manual links for this. https://www.php.net/manual/en/function.assert Deprecation: https://www.php.net/manual/en/migration72.deprecated.php Removal: https://www.php.net/manual/en/migration80.incompatible.php
If an
assert
starts with a string, such asassert('foo' === $bar)
, PhpDeprecationDetector outputs an error:By changing to
assert($bar === 'foo')
no errors are output.