<commit_before><?php

declare(strict_types=1);

namespace Doctrine\ODM\MongoDB\Mapping\Driver;

use Doctrine\Persistence\Mapping\Driver\AnnotationDriver as PersistenceAnnotationDriver;
use Doctrine\Persistence\Mapping\Driver\MappingDriver;

use function class_exists;

if (class_exists(PersistenceAnnotationDriver::class)) {
    /**
     * @internal This class will be removed in ODM 3.0.
     */
    abstract class CompatibilityAnnotationDriver extends PersistenceAnnotationDriver
    {
    }
} else {
    /**
     * @internal This class will be removed in ODM 3.0.
     */
    abstract class CompatibilityAnnotationDriver implements MappingDriver
    {
    }
}<commit_msg>Flip conditional extension of legacy AnnotationDriver class<commit_after><?php

declare(strict_types=1);

namespace Doctrine\ODM\MongoDB\Mapping\Driver;

use Doctrine\Persistence\Mapping\Driver\AnnotationDriver as PersistenceAnnotationDriver;
use Doctrine\Persistence\Mapping\Driver\MappingDriver;

use function class_exists;

if (! class_exists(PersistenceAnnotationDriver::class)) {
    /**
     * @internal This class will be removed in ODM 3.0.
     */
    abstract class CompatibilityAnnotationDriver implements MappingDriver
    {
    }
} else {
    /**
     * @internal This class will be removed in ODM 3.0.
     */
    abstract class CompatibilityAnnotationDriver extends PersistenceAnnotationDriver
    {
    }
}
{'fraction_non_alphanumeric': 0.08237822349570201, 'fraction_numerical': 0.0071633237822349575, 'mean_word_length': 4.061594202898551, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2563322', 'n_tokens_mistral': 391, 'n_tokens_neox': 384, 'n_words': 94}