syntax error, unexpected fully qualified name “%s”¶
Description¶
This error appears when new lines are introduced inside a namespace. This was possible syntax until PHP 8.0, but not anymore.
Example¶
<?php
// constant
\A
\B
\C
;
?>
Solutions¶
Remove the new lines and whitespaces from the namespace.