<commit_before># Upgrade to 3.0

## BC Break: Removed `EntityManager#flush($entity)` and `EntityManager#flush($entities)`

Final keyword has been added to the ``EntityManager::class`` in order to ensure that EntityManager is not used as valid extension point. Valid extension point should be EntityManagerInterface.

## BC Break: ``EntityManagerInterface`` is now used instead of ``EntityManager`` in typehints

`Sequencing\Generator#generate()` now takes ``EntityManagerInterface`` as its first argument instead of ``EntityManager``. If you have any custom generators, please update your code accordingly.<commit_msg>updated the heading for upgrade doc<commit_after># Upgrade to 3.0

## BC Break: Added the final keyword for  `EntityManager`

Final keyword has been added to the ``EntityManager::class`` in order to ensure that EntityManager is not used as valid extension point. Valid extension point should be EntityManagerInterface.

## BC Break: ``EntityManagerInterface`` is now used instead of ``EntityManager`` in typehints

`Sequencing\Generator#generate()` now takes ``EntityManagerInterface`` as its first argument instead of ``EntityManager``. If you have any custom generators, please update your code accordingly.
{'fraction_non_alphanumeric': 0.08312958435207823, 'fraction_numerical': 0.0032599837000814994, 'mean_word_length': 6.181286549707602, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4761472', 'n_tokens_mistral': 293, 'n_tokens_neox': 286, 'n_words': 146}