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
class Bar
{
public static function execute()
{
echo strtolower(\Foo\BaR::execute());
}
}
It got imported:
-<?php-+<?php++use Foo\BaR;
class Bar
{
public static function execute()
{
- echo strtolower(\Foo\BaR::execute());+ echo strtolower(BaR::execute());
}
-}-+}
which cause error:
Fatal error: Cannot declare class Bar because the name is already in use
Bug Report
Minimal PHP Code Causing Issue
Given the following code:
It got imported:
which cause error:
see https://3v4l.org/nC7Mq
Expected Behaviour
it should be skipped.
The text was updated successfully, but these errors were encountered: