Task needs fleshing out more, I know...
PSR12.Properties.ConstantVisibility.NotFound says "Visibility must be declared on all constants if your project supports PHP 7.1 or later"
As we support PHP 7.2 or later in master, it seems prudent to clean these up.
PSR12.Properties.ConstantVisibility.NotFound should be removed from the phpcs.xml file, and all errors fixed. In most cases, these can just be set to public, though if they're not used outside the class, they could be set to private
There were over 100 extensions that have this exclusion that should be fixed up (note the list below may be out of date). Each extension can have one or more constant that needs a visibility modifier adding to it
Targets Occurrences of 'PSR12.Properties.ConstantVisibility.NotFound' in Directory /Users/reedy/PhpstormProjects/mediawiki/extensions Found Occurrences (88 usages found) extensions (88 usages found) AdvancedMeta (1 usage found) .phpcs.xml (1 usage found) 7 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> Arrays (1 usage found) .phpcs.xml (1 usage found) 10 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceArticlePreviewCapture (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceAvatars (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceBookshelf (1 usage found) .phpcs.xml (1 usage found) 8 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceBookshelfUI (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceCategoryManager (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceConfigManager (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceCountThings (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceCustomMenu (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceDistributionConnector (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceEchoConnector (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceExtendedSearch (1 usage found) .phpcs.xml (1 usage found) 7 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceExtendedStatistics (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceFoundation (1 usage found) .phpcs.xml (1 usage found) 16 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceMultiUpload (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceNamespaceCSS (1 usage found) .phpcs.xml (1 usage found) 4 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpicePageAssignments (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpicePagesVisited (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpicePageTemplates (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpicePageVersion (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpicePrivacy (1 usage found) .phpcs.xml (1 usage found) 4 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceRating (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceReaders (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceRSSFeeder (1 usage found) .phpcs.xml (1 usage found) 7 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceSocial (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceSocialArticleActions (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceSocialBlog (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceSocialComments (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceSocialMicroBlog (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceSocialProfile (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceSocialResolve (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceSocialTags (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceSocialTopics (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceSocialWikiPage (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceTagCloud (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceUserSidebar (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceWatchList (1 usage found) .phpcs.xml (1 usage found) 4 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BlueSpiceWhoIsOnline (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> BreadCrumbs2 (1 usage found) .phpcs.xml (1 usage found) 8 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> CategoryTagSorter (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> CentralNotice (1 usage found) .phpcs.xml (1 usage found) 11 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> CollaborationKit (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> CommentStreams (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> ConfigManager (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> ConfirmAccount (1 usage found) .phpcs.xml (1 usage found) 14 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> ContributionScores (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> DataTable2 (1 usage found) .phpcs.xml (1 usage found) 16 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> EmailAuth (1 usage found) .phpcs.xml (1 usage found) 7 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> ExtJSBase (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> FileAnnotations (1 usage found) .phpcs.xml (1 usage found) 7 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> FundraisingEmailUnsubscribe (1 usage found) .phpcs.xml (1 usage found) 14 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> GoogleAuthenticator (1 usage found) .phpcs.xml (1 usage found) 9 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> GoogleLogin (1 usage found) .phpcs.xml (1 usage found) 7 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> GraphViz (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> LDAPAuthentication2 (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> LDAPGroups (1 usage found) .phpcs.xml (1 usage found) 4 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> LDAPUserInfo (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> Lingo (1 usage found) .phpcs.xml (1 usage found) 8 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> Loops (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> MediaFunctions (1 usage found) .phpcs.xml (1 usage found) 4 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> MintyDocs (1 usage found) .phpcs.xml (1 usage found) 12 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> MissedPages (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound"/> MolHandler (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> MultiMaps (1 usage found) .phpcs.xml (1 usage found) 17 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> NamespaceRelations (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> NotesLink (1 usage found) .phpcs.xml (1 usage found) 4 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> OpenIDConnect (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> PageForms (1 usage found) .phpcs.xml (1 usage found) 24 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> PagesList (1 usage found) .phpcs.xml (1 usage found) 10 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> PasswordlessLogin (1 usage found) .phpcs.xml (1 usage found) 7 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> PhpTagsMaps (1 usage found) .phpcs.xml (1 usage found) 13 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> PluggableAuth (1 usage found) .phpcs.xml (1 usage found) 7 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> PreferencesList (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> PwnedPasswords (1 usage found) .phpcs.xml (1 usage found) 7 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> RefreshSpecial (1 usage found) .phpcs.xml (1 usage found) 7 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> SemanticGenealogy (1 usage found) .phpcs.xml (1 usage found) 4 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> SocialProfile (1 usage found) .phpcs.xml (1 usage found) 17 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> TEI (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> UnCaptcha (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> UserAgreement (1 usage found) .phpcs.xml (1 usage found) 4 <exclude name="PSR12.Properties.ConstantVisibility.NotFound"/> Variables (1 usage found) .phpcs.xml (1 usage found) 4 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> WebDAV (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> WebToolsManager (1 usage found) .phpcs.xml (1 usage found) 7 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> WikiArticleFeeds (1 usage found) .phpcs.xml (1 usage found) 16 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> WindowsAzureStorage (1 usage found) .phpcs.xml (1 usage found) 5 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> WSOAuth (1 usage found) .phpcs.xml (1 usage found) 6 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" /> XenForoAuth (1 usage found) .phpcs.xml (1 usage found) 7 <exclude name="PSR12.Properties.ConstantVisibility.NotFound" />