Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some packages have very special inheritence #3

Open
moufmouf opened this issue Dec 29, 2014 · 1 comment
Open

Some packages have very special inheritence #3

moufmouf opened this issue Dec 29, 2014 · 1 comment

Comments

@moufmouf
Copy link
Member

For instance, in PHPUnit, the silverstripe/framework is making a weird redeclaration of the PHPUnit_Framework_TestCase class that messes up the "normal" inheritance we would expect.

http://packanalyst.mouf-php.com/class?q=PHPUnit_Framework_TestCase

@moufmouf
Copy link
Member Author

Another sample: http://packanalyst.mouf-php.com/class?q=Monolog\Logger#

Monolog\Logger extends Sonno\Logger\LoggerInterface which is both true... for a very special use case, and false for most of us!

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

No branches or pull requests

1 participant