Remove some exemptions that are no longer needed
authorKunal Mehta <legoktm@member.fsf.org>
Wed, 30 Jan 2019 05:49:15 +0000 (21:49 -0800)
committerKunal Mehta <legoktm@member.fsf.org>
Wed, 30 Jan 2019 07:57:12 +0000 (23:57 -0800)
Manually identified, it's possible that there are more.

Change-Id: Ifda5ecdb12915f4005161f1f98eae5f1162fbee1

.phpcs.xml

index 30f9201..3978c2a 100644 (file)
@@ -79,7 +79,6 @@
                        any new occurrences.
                -->
                <exclude-pattern>*/includes/Feed\.php</exclude-pattern>
-               <exclude-pattern>*/includes/libs/xmp/XMP\.php</exclude-pattern>
                <exclude-pattern>*/includes/jobqueue/JobSpecification\.php</exclude-pattern>
                <exclude-pattern>*/includes/RevisionList\.php</exclude-pattern>
                <exclude-pattern>*/includes/installer/PhpBugTests\.php</exclude-pattern>
                <exclude-pattern>*/includes/api/ApiMessage\.php</exclude-pattern>
                <exclude-pattern>*/includes/api/ApiOpenSearch\.php</exclude-pattern>
                <exclude-pattern>*/includes/api/ApiRsd\.php</exclude-pattern>
-               <exclude-pattern>*/includes/api/ApiUsageException\.php</exclude-pattern>
                <exclude-pattern>*/includes/AuthPlugin\.php</exclude-pattern>
                <exclude-pattern>*/includes/cache/CacheDependency\.php</exclude-pattern>
                <exclude-pattern>*/includes/cache/CacheHelper\.php</exclude-pattern>
                <exclude-pattern>*/includes/libs/filebackend/FSFileBackend\.php</exclude-pattern>
                <exclude-pattern>*/includes/shell/Command\.php</exclude-pattern>
                <exclude-pattern>*/includes/shell/Shell\.php</exclude-pattern>
-               <exclude-pattern>*/tests/phpunit/structure/StructureTest\.php</exclude-pattern>
-       </rule>
-       <rule ref="MediaWiki.Usage.ForbiddenFunctions.exec">
-               <!--
-                       Whitelist existing violations, but enable the sniff to prevent
-                       any new occurrences.
-               -->
-               <exclude-pattern>*/tests/phpunit/structure/StructureTest\.php</exclude-pattern>
        </rule>
        <rule ref="MediaWiki.Usage.ForbiddenFunctions.popen">
                <!--