simshaun / recurr

PHP library for working with recurrence rules (RRULE); meant to help with recurring calendar events.
Other
1.21k stars 136 forks source link

PSR-4 autoloader autoload-dev needs to be #185

Closed theodson closed 3 years ago

theodson commented 3 years ago

Relates to #172

autoload-dev fix

"Recurr\\Test\\": "tests/Recurr/Test"

Additionally, depending on your application's composer.json the warning may not appear. To show the warning try either enabling the optimize-autoloader either in the composer.json

    "config": {
        "preferred-install": "dist",
        "sort-packages": true,
        "optimize-autoloader": false
    },

or directly on the command line

composer require --optimize-autoloader simshaun/recurr
simshaun commented 3 years ago

I'm still unable to get warnings to show up, but if this fixes the issue, I'm all for it.