We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
declare(strict_types=1); is pretty much the norm now however providing a solution with this results in any before patches coming before this, e.g.
declare(strict_types=1);
<?php date_default_timezone_set("Europe/London"); error_reporting(E_ALL); ini_set("display_errors", 1); declare(strict_types=1);
This may also be an issue with transformers where the declare could end up in a try block 🤔
declare
try
It doesn't AFAIK cause errors but I think strict types would be disabled if it's not the first statement.
The text was updated successfully, but these errors were encountered:
Solved with #207
Sorry, something went wrong.
No branches or pull requests
declare(strict_types=1);
is pretty much the norm now however providing a solution with this results in any before patches coming before this, e.g.This may also be an issue with transformers where the
declare
could end up in atry
block 🤔It doesn't AFAIK cause errors but I think strict types would be disabled if it's not the first statement.
The text was updated successfully, but these errors were encountered: