You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ vendor/bin/composer-require-checker
ComposerRequireChecker 4.14.0@b6d5acd89d0de1727c1188157fa99552c39d1dfb
In LocateASTFromFiles.php line 41:
Parsing the file [.../vendor/api-platform/core/src/Laravel/Console/Maker/Resources/skeleton/StateProvider.tpl.php] resulted in
an error: Syntax error, unexpected T_NAMESPACE on line 5
In ParserAbstract.php line 321:
Syntax error, unexpected T_NAMESPACE on line 5
check [--config-file CONFIG-FILE] [--ignore-parse-errors] [--output OUTPUT] [--] [<composer-json>]
Is there a way to resolve this from the checker side?
M.
The text was updated successfully, but these errors were encountered:
That's indeed not valid PHP, and it shouldn't be part of autoloaded sources, TBH.
It will also trip tools like php -l (in upstream PHP), so I think this sort of problem should be handled downstream, in the library that declares it as .php (make it .php.tpl instead of .tpl.php? )
That's indeed not valid PHP, and it shouldn't be part of autoloaded sources, TBH.
It will also trip tools like php -l (in upstream PHP), so I think this sort of problem should be handled downstream, in the library that declares it as .php (make it .php.tpl instead of .tpl.php? )
This was already reported downstream, just added it here for completeness.
Weird enough, the companion template in the same directory doesn't result in a Syntax error - but it could be a race condition and this one just failed first.
Cross referencing from: api-platform/core#6826
Is there a way to resolve this from the checker side?
M.
The text was updated successfully, but these errors were encountered: