Add XSD location to .phpcs.xml
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 24 Aug 2023 08:36:11 +0000 (10:36 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 24 Aug 2023 08:36:11 +0000 (10:36 +0200)
.phpcs.xml

index 52e8202fe279642a7decddde57d3f349c11ecd47..c721282fb692ddc880a55f2fa5203ad1f42ead3a 100644 (file)
@@ -1,5 +1,8 @@
 <?xml version="1.0"?>
-<ruleset>
+<ruleset
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd"
+>
        <file>files/</file>
        <exclude-pattern>*/vendor/*</exclude-pattern>
        <arg name="extensions" value="php" />