Skip to content

Commit 28ee907

Browse files
committed
PHPCompat: Update the paths to reflect the new folder structure
1 parent c0e8561 commit 28ee907

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

phpcompat.xml.dist

+4-5
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,19 @@
2929
<arg value="ps"/>
3030

3131
<!-- For now, only the PHP files in src are scanned. -->
32-
<file>./src/php/</file>
32+
<file>./</file>
3333

3434
<!-- Code which doesn't go into production may have different requirements. -->
35-
<exclude-pattern>/node_modules/*</exclude-pattern>
35+
<exclude-pattern>node_modules/</exclude-pattern>
3636

3737
<!--
3838
Currently, there are no dependencies managed by Composer.
3939
This will need to be modified when that changes to ensure external packages meet compatibility requirements.
4040
-->
41-
<exclude-pattern>/vendor/*</exclude-pattern>
41+
<exclude-pattern>vendor/</exclude-pattern>
4242

4343
<!-- Whitelist backwards compatible use of the `mysql_` extension in PHP < 7.0. -->
4444
<rule ref="PHPCompatibility.Extensions.RemovedExtensions.mysql_DeprecatedRemoved">
45-
<exclude-pattern>/src/php/includes/class-health-check-site-status\.php</exclude-pattern>
46-
<exclude-pattern>/src/php/includes/class-health-check-debug-data\.php</exclude-pattern>
45+
<exclude-pattern>HealthCheck/BackCompat/</exclude-pattern>
4746
</rule>
4847
</ruleset>

0 commit comments

Comments
 (0)