statamic / cms

The core Laravel CMS Composer package
https://statamic.com
Other
4.11k stars 538 forks source link

[5.x] Fix incorrect namespaces in tests #11149

Closed duncanmcclean closed 4 days ago

duncanmcclean commented 5 days ago

While working on #11114, I noticed that quite a few of our test classes have incorrect namespaces, leading to warnings when you run composer dump-autoload:

CleanShot 2024-11-20 at 16 25 07

This PR fixes the namespaces for most of the classes mentioned in the above screenshots. I've ignored the ones coming from fixtures since they don't really need namespaces.

CleanShot 2024-11-20 at 16 28 54