Unsupported declare '%s'¶
Description¶
declare
sets some directives for the file or block. The possible directives are limited to three: strict_types
, the most common, ticks
and encoding
.
Example¶
<?php
declare(a = 1);
?>
Solutions¶
Use one of the three valid declare directives.
Remove the declare call.