You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ayesh Karunaratne 228428747a
Add support for autoloading Enums
PHP 8.1 supports Enums, and [Enums follow class-semantics](https://php.watch/versions/8.1/enums#class-semantics-autoload).

Composer's class-map generator currently looks for `class`, `interface`, and `trait` keywords. If Composer is run in PHP 8.1 or later, Composer now additionally looks for `enum` keyword as well. This is similar to how Hack's `enum` support is added.

This PR also adds tests for basic enums, backed enums, namespaced enums, and an enum that implements an interface and extends a class.
3 years ago
..
Fixtures Add support for autoloading Enums 3 years ago
AutoloadGeneratorTest.php Merge branch '1.10' 3 years ago
ClassLoaderTest.php use Symfony PHPUnit Bridge 4 years ago
ClassMapGeneratorTest.php Add support for autoloading Enums 3 years ago