-
-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace "isConvertibleFrom" instance of check with PhpClassHierarchyU…
…tils.processSupers
- Loading branch information
Showing
3 changed files
with
19 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 2 additions & 11 deletions
13
src/test/java/fr/adrienbrault/idea/symfony2plugin/tests/util/fixtures/InstanceOf.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,10 @@ | ||
<?php | ||
|
||
namespace Instance\Of { | ||
//duplicates | ||
class Car implements \DateTime{} | ||
class Foo implements \DateTime{} | ||
|
||
|
||
class Foo extends Cool implements Bar{} | ||
interface Bar {} | ||
class Car extends Foo{} | ||
interface Bar extends Apple {} | ||
class Car extends Foo implements Apple{} | ||
class Cool{} | ||
|
||
//duplicates | ||
class Car implements Apple{} | ||
class Foo implements Apple{} | ||
|
||
interface Apple{} | ||
} |