This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 271587 - Use alias combined with extends
Summary: Use alias combined with extends
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-04 14:49 UTC by jirkae
Modified: 2017-10-04 14:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jirkae 2017-10-04 14:49:34 UTC
A have this code:

namespace \App\Model\Service;

interface IService {
  public function create();
}


class Base implements IService {}


namespace App\Model\Generator;

abstract class Base {}

use \App\Model\Service\Base as BaseService;


final class Article extends Base {}




Netbeans says, that Article not implements all abstract methods, because it thinks, that Article extends from \App\Model\Service\Base, not from App\Model\Generator\Base


Thanks a lot for fix