Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Namespace declaration statement has to be the very first statement or after any declare call #16

Open
pbowyer opened this issue Dec 6, 2021 · 1 comment

Comments

@pbowyer
Copy link

pbowyer commented Dec 6, 2021

Installing 7.0.0 RC3 on Windows 10 and PHP 7.4, when I execute I get:

λ .\vendor\bin\dep.bat
PHP Fatal error:  Namespace declaration statement has to be the very first statement or after any declare call in the script in D:\projects\example\vendor\bin\dep on line 13

Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in D:\projects\example\vendor\bin\dep on line 13

When I take a look at vendor\bin\dep, the namespace declaration is the first statement.

@antonmedv
Copy link
Member

¯_(ツ)_/¯

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants