[BUGFIX] Exception thrown in TypeHandling

When using isCollectionType() on an unknown class, an exception is
caused by a warning PHP gives about that class being unknown.

The issue has been introduced together with the patch
I007b0faf486680ecfb2fe7c753ef4cabcf6d618c

This adds a check that the element is a known class before using
is_subclass_of() to prevent the exception.

Change-Id: Iae59221cbd72677e6c18ad0a383792a798447253
Fixes: #45876
Releases: master, 2.0, 1.1
[TASK] Some cleanup to cache related classes

Non-functional changes to enhance CGL compliance and fix some typos.

Change-Id: I76861aa68e02a15588a63aaeb699bfd0c6c55e2d
Releases: master
[TASK] Allow package key wildcards for excludeClasses

The object.excludeClasses setting can now handle a trailing * as a
wildcard character in the package key.

Change-Id: I5f9078bf9c2438d9c32ec4eb46b0ec7d8d94ba57
Releases: master, 2.0
[TASK] Make Aspects singletons

Change-Id: I433d6cbfce3eeba1b67386b7b459a61452fac413
[BUGFIX] Flow Bootstrap now works if PhpUnit is used as Phar file

If PhpUnit was used as a Phar file, the Flow Core Bootstrap failed
during initialization in Testing context because it tried to find
PhpUnit's autoloader. Since autoloading is already in effect when
using the Phar version, a simple check for the existence of a
PhpUnit class is sufficient.

Change-Id: I2a988660b207f1df2972074c57f0e05084350ddc
Releases: master, 2.0
Merge "[TASK] Make Aspects singletons"
[BUGFIX] Add Flow-Doctrine cache adapter

This adds a cache adapter for Doctrine. It is used for the Doctrine ORM
metadata and query cache instead of the ArrayCache used until now.

Until now the cache implementations of Doctrine that could be configured
were not usable. This change fixes that, so that actually a cache for
metadata and query caching is used.

Change-Id: I37406667197f38f66ae778254307f09fab2b0b95
Fixes: #45264
Releases: master, 2.0
[BUGFIX] Compile original and proxy class into one file

Reduce amount of file inclusions by combining original class
code and proxy class code into the same file as both need to
be loaded anyway.

Releases: 2.0, master
Fixes: #46338
Change-Id: I4ff462b68683ef60166a642ad3382af63623c062
[TASK] Use include with shutup instead of file_exists

This change uses include with shutup operator instead of file_exists
checks for optimized performance.

Change-Id: Ia2ddef625db70d8c985526978b6d83cebbe4d90f
Fixes: #46337
Releases: master, 2.0
Merge "[TASK] Allow package key wildcards for excludeClasses"
Merge "[BUGFIX] Compile original and proxy class into one file"