mirror of
https://github.com/danog/psalm.git
synced 2024-12-13 09:47:29 +01:00
ce39bab966
suggestion by @weirdan
241 B
241 B
InvalidExtendClass
Emitted when attempting to extends a final class or a class annotated with @final
.
<?php
final class A {}
class B extends A {}
/**
* @final
*/
class DoctrineA {}
class DoctrineB extends DoctrineA {}