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 {}