Bug #102498
closed`enum` type is not autoloaded
100%
Description
The enum
type in PHP8 is not autoload in TYPO3.
Updated by Bill Dagou about 1 year ago
It dues to ClassMapGenerator::findClasses()
in core/Resources/PHP/ClassMapGenerator.php
, which only looks for class
, interface
, and trait
.
Updated by Bill Dagou about 1 year ago
And my easy fix was changing class|interface|trait
to class|enum|interface|trait
in this file, 2 places.
Updated by Gerrit Code Review 12 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82034
Updated by Gerrit Code Review 12 months ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82034
Updated by Gerrit Code Review 12 months ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82042
Updated by Garvin Hicking 12 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ffe4d969d1e7f6a87132c8ee7059adc7c8aa588a.
Updated by Christian Kuhn 2 months ago
- Related to Bug #67212: Discard TYPO3 class loader in favor of composer class loader added
Updated by Christian Kuhn 2 months ago
- Related to Task #105041: Use ClassMapGenerator from composer/class-map-generator added