Skip to content

chore: add namespaces for acceptance tests#41350

Draft
phil-davis wants to merge 3 commits into
masterfrom
namespaces-for-acceptance-tests
Draft

chore: add namespaces for acceptance tests#41350
phil-davis wants to merge 3 commits into
masterfrom
namespaces-for-acceptance-tests

Conversation

@phil-davis

@phil-davis phil-davis commented Dec 31, 2024

Copy link
Copy Markdown
Contributor

Description

When doing composer update
> Google\Task\Composer::cleanup
is called.

That emits lots of messages about code that has a namespace declared that does not properly match the directory structure where the file is found. That is a lot of annoying "noise", and actually it would be nice to correct all the reported cases where it is easy to correct the problem.

This PR corrects all the places in tests where this occurs and it is clear/easy to fix.

Only test code is touched, so a changelog entry is not required.

Related Issue

None

How Has This Been Tested?

CI

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@update-docs

update-docs Bot commented Dec 31, 2024

Copy link
Copy Markdown

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@phil-davis

Copy link
Copy Markdown
Contributor Author

I think that this was the start of trying to get rid of all the messages that come when doing 'make' and Google\Task\Composer::cleanup runs and complains about loads of things like:

Class DeleteHelperTest located in ./tests/TestHelpers/Unit/DeleteHelperTest.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class DeleteHelperTest located in ./tests/TestHelpers/Unit/DeleteHelperTest.php does not comply with psr-4 autoloading standard (rule: TestHelpers\ => ./tests/TestHelpers). Skipping.
Class WebDavHelperTest located in ./tests/TestHelpers/Unit/WebDavHelperTest.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebDavHelperTest located in ./tests/TestHelpers/Unit/WebDavHelperTest.php does not comply with psr-4 autoloading standard (rule: TestHelpers\ => ./tests/TestHelpers). Skipping.
...

@phil-davis

Copy link
Copy Markdown
Contributor Author

This is the output when doing make

> Google\Task\Composer::cleanup
Class TestDocLinksCommand located in ./tests/docs/DocLinksTest.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class lib\Preview\PDFTest located in ./tests/lib/Preview/PDFTest.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class lib\Preview\PDFTest located in ./tests/lib/Preview/PDFTest.php does not comply with psr-4 autoloading standard (rule: Test\ => ./tests/lib). Skipping.
Class lib\Share\GetUsersSharingFileTest located in ./tests/lib/Share/GetUsersSharingFileTest.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class lib\Share\GetUsersSharingFileTest located in ./tests/lib/Share/GetUsersSharingFileTest.php does not comply with psr-4 autoloading standard (rule: Test\ => ./tests/lib). Skipping.
Class OC\User\Sync\SeenUsersIteratorTest located in ./tests/lib/User/Sync/SeenUsersIteratorTest.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class OC\User\Sync\SeenUsersIteratorTest located in ./tests/lib/User/Sync/SeenUsersIteratorTest.php does not comply with psr-4 autoloading standard (rule: Test\ => ./tests/lib). Skipping.
Class OC\User\Sync\BackendUsersIteratorTest located in ./tests/lib/User/Sync/BackendUsersIteratorTest.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class OC\User\Sync\BackendUsersIteratorTest located in ./tests/lib/User/Sync/BackendUsersIteratorTest.php does not comply with psr-4 autoloading standard (rule: Test\ => ./tests/lib). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-deprecated-use-sub.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-deprecated-use.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-deprecated-use-alias.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-implements.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-deprecated-use-sub-alias.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-equal.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-new.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-not-equal.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class GoodClass located in ./tests/data/app/code-checker/test-identical-operator.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-extends.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-use.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-const.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-static-call.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class StartSessionListener located in ./tests/startsessionlistener.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class DeleteHelperTest located in ./tests/TestHelpers/Unit/DeleteHelperTest.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class DeleteHelperTest located in ./tests/TestHelpers/Unit/DeleteHelperTest.php does not comply with psr-4 autoloading standard (rule: TestHelpers\ => ./tests/TestHelpers). Skipping.
Class WebDavHelperTest located in ./tests/TestHelpers/Unit/WebDavHelperTest.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebDavHelperTest located in ./tests/TestHelpers/Unit/WebDavHelperTest.php does not comply with psr-4 autoloading standard (rule: TestHelpers\ => ./tests/TestHelpers). Skipping.
Class Test\SettingsPageControllerTest located in ./tests/Settings/Controller/SettingsPageControllerTest.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Settings\Panels\Personal\CorsTest located in ./tests/Settings/Panels/Personal/CorsTest.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\SharedWithOthersPage located in ./tests/acceptance/features/lib/SharedWithOthersPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\Notification located in ./tests/acceptance/features/lib/Notification.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FavoritesPage located in ./tests/acceptance/features/lib/FavoritesPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\PersonalGeneralSettingsPage located in ./tests/acceptance/features/lib/PersonalGeneralSettingsPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\SharedByLinkPage located in ./tests/acceptance/features/lib/SharedByLinkPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\UsersPage located in ./tests/acceptance/features/lib/UsersPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\AdminEncryptionSettingsPage located in ./tests/acceptance/features/lib/AdminEncryptionSettingsPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FilesPageElement\FileRow located in ./tests/acceptance/features/lib/FilesPageElement/FileRow.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FilesPageElement\FileActionsMenu located in ./tests/acceptance/features/lib/FilesPageElement/FileActionsMenu.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FilesPageElement\ConflictDialog located in ./tests/acceptance/features/lib/FilesPageElement/ConflictDialog.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FilesPageElement\TrashBinFileRow located in ./tests/acceptance/features/lib/FilesPageElement/TrashBinFileRow.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FilesPageElement\LockDialogElement\LockEntry located in ./tests/acceptance/features/lib/FilesPageElement/LockDialogElement/LockEntry.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FilesPageElement\DetailsDialog located in ./tests/acceptance/features/lib/FilesPageElement/DetailsDialog.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FilesPageElement\FavoritesFileRow located in ./tests/acceptance/features/lib/FilesPageElement/FavoritesFileRow.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FilesPageElement\LockDialog located in ./tests/acceptance/features/lib/FilesPageElement/LockDialog.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FilesPageElement\SharedWithOthersFileRow located in ./tests/acceptance/features/lib/FilesPageElement/SharedWithOthersFileRow.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FilesPageElement\SharedByLinkFileRow located in ./tests/acceptance/features/lib/FilesPageElement/SharedByLinkFileRow.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FilesPageElement\SharingDialogElement\EditPublicLinkPopup located in ./tests/acceptance/features/lib/FilesPageElement/SharingDialogElement/EditPublicLinkPopup.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FilesPageElement\SharingDialogElement\PublicLinkTab located in ./tests/acceptance/features/lib/FilesPageElement/SharingDialogElement/PublicLinkTab.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FilesPageElement\NewFileMenu located in ./tests/acceptance/features/lib/FilesPageElement/NewFileMenu.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FilesPageElement\SharingDialog located in ./tests/acceptance/features/lib/FilesPageElement/SharingDialog.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\UserPageElement\GroupList located in ./tests/acceptance/features/lib/UserPageElement/GroupList.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\PersonalSecuritySettingsPage located in ./tests/acceptance/features/lib/PersonalSecuritySettingsPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\LoginPage located in ./tests/acceptance/features/lib/LoginPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FilesPageBasic located in ./tests/acceptance/features/lib/FilesPageBasic.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\GeneralExceptionPage located in ./tests/acceptance/features/lib/GeneralExceptionPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\SharedWithYouPage located in ./tests/acceptance/features/lib/SharedWithYouPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\TrashbinPage located in ./tests/acceptance/features/lib/TrashbinPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\DisabledUserPage located in ./tests/acceptance/features/lib/DisabledUserPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\OwncloudPageElement\OCDialog located in ./tests/acceptance/features/lib/OwncloudPageElement/OCDialog.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\OwncloudPageElement\SettingsMenu located in ./tests/acceptance/features/lib/OwncloudPageElement/SettingsMenu.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\AdminAppsSettingsPage located in ./tests/acceptance/features/lib/AdminAppsSettingsPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\PersonalEncryptionSettingsPage located in ./tests/acceptance/features/lib/PersonalEncryptionSettingsPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FilesPage located in ./tests/acceptance/features/lib/FilesPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\HelpAndTipsPage located in ./tests/acceptance/features/lib/HelpAndTipsPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\SearchResultInOtherFoldersPage located in ./tests/acceptance/features/lib/SearchResultInOtherFoldersPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\PersonalSharingSettingsPage located in ./tests/acceptance/features/lib/PersonalSharingSettingsPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\NotificationsAppDialog located in ./tests/acceptance/features/lib/NotificationsAppDialog.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\AdminGeneralSettingsPage located in ./tests/acceptance/features/lib/AdminGeneralSettingsPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\GeneralErrorPage located in ./tests/acceptance/features/lib/GeneralErrorPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\AdminStorageSettingsPage located in ./tests/acceptance/features/lib/AdminStorageSettingsPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\TagsPage located in ./tests/acceptance/features/lib/TagsPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\PublicLinkFilesPage located in ./tests/acceptance/features/lib/PublicLinkFilesPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\SharingSettingsPage located in ./tests/acceptance/features/lib/SharingSettingsPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\AdminSharingSettingsPage located in ./tests/acceptance/features/lib/AdminSharingSettingsPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\OwncloudPage located in ./tests/acceptance/features/lib/OwncloudPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\NotificationsEnabledOwncloudPage located in ./tests/acceptance/features/lib/NotificationsEnabledOwncloudPage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\ExternalStoragePage located in ./tests/acceptance/features/lib/ExternalStoragePage.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Page\FilesPageCRUD located in ./tests/acceptance/features/lib/FilesPageCRUD.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUISearchContext located in ./tests/acceptance/features/bootstrap/WebUISearchContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebDav located in ./tests/acceptance/features/bootstrap/WebDav.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class OccUsersGroupsContext located in ./tests/acceptance/features/bootstrap/OccUsersGroupsContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUIPersonalSecuritySettingsContext located in ./tests/acceptance/features/bootstrap/WebUIPersonalSecuritySettingsContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class ShareesContext located in ./tests/acceptance/features/bootstrap/ShareesContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class NotificationsCoreContext located in ./tests/acceptance/features/bootstrap/NotificationsCoreContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUIPersonalEncryptionSettingsContext located in ./tests/acceptance/features/bootstrap/WebUIPersonalEncryptionSettingsContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUILoginContext located in ./tests/acceptance/features/bootstrap/WebUILoginContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class ChecksumContext located in ./tests/acceptance/features/bootstrap/ChecksumContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class FavoritesContext located in ./tests/acceptance/features/bootstrap/FavoritesContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class EncryptionContext located in ./tests/acceptance/features/bootstrap/EncryptionContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Provisioning located in ./tests/acceptance/features/bootstrap/Provisioning.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class OccContext located in ./tests/acceptance/features/bootstrap/OccContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class OccAppManagementContext located in ./tests/acceptance/features/bootstrap/OccAppManagementContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class AuthContext located in ./tests/acceptance/features/bootstrap/AuthContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUIWebDavLockingContext located in ./tests/acceptance/features/bootstrap/WebUIWebDavLockingContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUIFilesContext located in ./tests/acceptance/features/bootstrap/WebUIFilesContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUISharingContext located in ./tests/acceptance/features/bootstrap/WebUISharingContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class FederationContext located in ./tests/acceptance/features/bootstrap/FederationContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUIHelpAndTipsContext located in ./tests/acceptance/features/bootstrap/WebUIHelpAndTipsContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUIAdminEncryptionSettingsContext located in ./tests/acceptance/features/bootstrap/WebUIAdminEncryptionSettingsContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class FeatureContext located in ./tests/acceptance/features/bootstrap/FeatureContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUIAdminGeneralSettingsContext located in ./tests/acceptance/features/bootstrap/WebUIAdminGeneralSettingsContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class CardDavContext located in ./tests/acceptance/features/bootstrap/CardDavContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class SearchContext located in ./tests/acceptance/features/bootstrap/SearchContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class CorsContext located in ./tests/acceptance/features/bootstrap/CorsContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class CalDavContext located in ./tests/acceptance/features/bootstrap/CalDavContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class TagsContext located in ./tests/acceptance/features/bootstrap/TagsContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUIGeneralContext located in ./tests/acceptance/features/bootstrap/WebUIGeneralContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUIAdminStorageSettingsContext located in ./tests/acceptance/features/bootstrap/WebUIAdminStorageSettingsContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class Sharing located in ./tests/acceptance/features/bootstrap/Sharing.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebDavPropertiesContext located in ./tests/acceptance/features/bootstrap/WebDavPropertiesContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUIFileActionsMenuContext located in ./tests/acceptance/features/bootstrap/WebUIFileActionsMenuContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUIPersonalGeneralSettingsContext located in ./tests/acceptance/features/bootstrap/WebUIPersonalGeneralSettingsContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUIPersonalSharingSettingsContext located in ./tests/acceptance/features/bootstrap/WebUIPersonalSharingSettingsContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUIAdminSharingSettingsContext located in ./tests/acceptance/features/bootstrap/WebUIAdminSharingSettingsContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class EmailContext located in ./tests/acceptance/features/bootstrap/EmailContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class LoggingContext located in ./tests/acceptance/features/bootstrap/LoggingContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class TransferOwnershipContext located in ./tests/acceptance/features/bootstrap/TransferOwnershipContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUIAdminAppsSettingsContext located in ./tests/acceptance/features/bootstrap/WebUIAdminAppsSettingsContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class AppConfigurationContext located in ./tests/acceptance/features/bootstrap/AppConfigurationContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUIUsersContext located in ./tests/acceptance/features/bootstrap/WebUIUsersContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUINewFileMenuContext located in ./tests/acceptance/features/bootstrap/WebUINewFileMenuContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class TrashbinContext located in ./tests/acceptance/features/bootstrap/TrashbinContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class CapabilitiesContext located in ./tests/acceptance/features/bootstrap/CapabilitiesContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class FilesVersionsContext located in ./tests/acceptance/features/bootstrap/FilesVersionsContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebDavLockingContext located in ./tests/acceptance/features/bootstrap/WebDavLockingContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUITagsContext located in ./tests/acceptance/features/bootstrap/WebUITagsContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class IpContext located in ./tests/acceptance/features/bootstrap/IpContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUIUserContext located in ./tests/acceptance/features/bootstrap/WebUIUserContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class TUSContext located in ./tests/acceptance/features/bootstrap/TUSContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class PublicWebDavContext located in ./tests/acceptance/features/bootstrap/PublicWebDavContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class WebUINotificationsContext located in ./tests/acceptance/features/bootstrap/WebUINotificationsContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class OCSContext located in ./tests/acceptance/features/bootstrap/OCSContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class AppManagementContext located in ./tests/acceptance/features/bootstrap/AppManagementContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class CommentsContext located in ./tests/acceptance/features/bootstrap/CommentsContext.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class OC\Migrations\Version20180302155233 located in ./core/Migrations/Version20180302155233.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170101010100 located in ./core/Migrations/Version20170101010100.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170221114437 located in ./core/Migrations/Version20170221114437.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20230120101715 located in ./core/Migrations/Version20230120101715.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20181017120818 located in ./core/Migrations/Version20181017120818.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170526104128 located in ./core/Migrations/Version20170526104128.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20171026130750 located in ./core/Migrations/Version20171026130750.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170213215145 located in ./core/Migrations/Version20170213215145.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20240112140951 located in ./core/Migrations/Version20240112140951.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20180607072706 located in ./core/Migrations/Version20180607072706.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20240131080456 located in ./core/Migrations/Version20240131080456.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170605143658 located in ./core/Migrations/Version20170605143658.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20230210073645 located in ./core/Migrations/Version20230210073645.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170101215145 located in ./core/Migrations/Version20170101215145.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20181017105216 located in ./core/Migrations/Version20181017105216.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170418154659 located in ./core/Migrations/Version20170418154659.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20230105001100 located in ./core/Migrations/Version20230105001100.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170111103310 located in ./core/Migrations/Version20170111103310.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20210928123126 located in ./core/Migrations/Version20210928123126.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20200610110817 located in ./core/Migrations/Version20200610110817.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170320173955 located in ./core/Migrations/Version20170320173955.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20190125162909 located in ./core/Migrations/Version20190125162909.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20180123131835 located in ./core/Migrations/Version20180123131835.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170315173825 located in ./core/Migrations/Version20170315173825.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170928120000 located in ./core/Migrations/Version20170928120000.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20181113071753 located in ./core/Migrations/Version20181113071753.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20181220085457 located in ./core/Migrations/Version20181220085457.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20180319102121 located in ./core/Migrations/Version20180319102121.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20230210103154 located in ./core/Migrations/Version20230210103154.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170516100103 located in ./core/Migrations/Version20170516100103.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170804201253 located in ./core/Migrations/Version20170804201253.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170221121536 located in ./core/Migrations/Version20170221121536.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170711191432 located in ./core/Migrations/Version20170711191432.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170214112458 located in ./core/Migrations/Version20170214112458.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class FeedBackHandler located in ./core/ajax/update.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.

@phil-davis phil-davis force-pushed the namespaces-for-acceptance-tests branch 2 times, most recently from 58e953b to ddf1e23 Compare June 10, 2026 13:08
@phil-davis

Copy link
Copy Markdown
Contributor Author

That reduces the "noise" from composer update cleanup to:

> Google\Task\Composer::cleanup
Class TestDocLinksCommand located in ./tests/docs/DocLinksTest.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-deprecated-use-sub.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-deprecated-use.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-deprecated-use-alias.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-implements.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-deprecated-use-sub-alias.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-equal.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-new.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-not-equal.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class GoodClass located in ./tests/data/app/code-checker/test-identical-operator.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-extends.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-use.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-const.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class BadClass located in ./tests/data/app/code-checker/test-static-call.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class StartSessionListener located in ./tests/startsessionlistener.php does not comply with psr-4 autoloading standard (rule: Tests\ => ./tests). Skipping.
Class OC\Migrations\Version20180302155233 located in ./core/Migrations/Version20180302155233.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170101010100 located in ./core/Migrations/Version20170101010100.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170221114437 located in ./core/Migrations/Version20170221114437.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20230120101715 located in ./core/Migrations/Version20230120101715.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20181017120818 located in ./core/Migrations/Version20181017120818.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170526104128 located in ./core/Migrations/Version20170526104128.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20171026130750 located in ./core/Migrations/Version20171026130750.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170213215145 located in ./core/Migrations/Version20170213215145.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20240112140951 located in ./core/Migrations/Version20240112140951.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20180607072706 located in ./core/Migrations/Version20180607072706.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20240131080456 located in ./core/Migrations/Version20240131080456.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170605143658 located in ./core/Migrations/Version20170605143658.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20230210073645 located in ./core/Migrations/Version20230210073645.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170101215145 located in ./core/Migrations/Version20170101215145.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20181017105216 located in ./core/Migrations/Version20181017105216.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170418154659 located in ./core/Migrations/Version20170418154659.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20230105001100 located in ./core/Migrations/Version20230105001100.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170111103310 located in ./core/Migrations/Version20170111103310.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20210928123126 located in ./core/Migrations/Version20210928123126.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20200610110817 located in ./core/Migrations/Version20200610110817.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170320173955 located in ./core/Migrations/Version20170320173955.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20190125162909 located in ./core/Migrations/Version20190125162909.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20180123131835 located in ./core/Migrations/Version20180123131835.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170315173825 located in ./core/Migrations/Version20170315173825.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170928120000 located in ./core/Migrations/Version20170928120000.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20181113071753 located in ./core/Migrations/Version20181113071753.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20181220085457 located in ./core/Migrations/Version20181220085457.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20180319102121 located in ./core/Migrations/Version20180319102121.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20230210103154 located in ./core/Migrations/Version20230210103154.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170516100103 located in ./core/Migrations/Version20170516100103.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170804201253 located in ./core/Migrations/Version20170804201253.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170221121536 located in ./core/Migrations/Version20170221121536.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170711191432 located in ./core/Migrations/Version20170711191432.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class OC\Migrations\Version20170214112458 located in ./core/Migrations/Version20170214112458.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Class FeedBackHandler located in ./core/ajax/update.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.

There are now:

  • a few old test things like code-checker, which have "different" code structure anyway
  • the Migrations (which are "real code" and I don't want to touch that for this test-code-only PR).

@phil-davis phil-davis force-pushed the namespaces-for-acceptance-tests branch from ddf1e23 to eeb2ff2 Compare June 12, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant