Issue Bug Closed

#105850Composer Support of Extension -> Given Example on TYPO13.4 breaks Autoload

Arne Bracht 12/19/24, 22:31 updated 01/09/25, 18:00

Description

Under Extensions you can use a quick check “Composer Support of Extension”.

this makes for missing composer.json a suggestion:

   "autoload": {
        "classmap": [
            "*"
        ]
    }

This breaks autoload for the extension.

The suggestion for TYPO3 13.4 should be

    "autoload": {
        "psr-4": {
            " <vendor> \\ <extension> \\": "Classes/"
        }
    }

Or i suggest to remove the option.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 1

  1. Georg Ringer commented and changed status New Closed <span data-processor="relativetime" data-value="2025-01-09T18:00:56+00:00" > 01/09/25, 18:00 </span>

    thanks for your issue! as this is generated on typo3.org, i created an issue there https://git.typo3.org/services/t3o-sites/extensions.typo3.org/ter/-/issues/628