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

index c66569d23c70db0b47df23a6386a28d757cc2ceb..9ed5c89cf99a83c6ddfbd3affb7ca44733de6807 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>wcfsetup/</file>
        <exclude-pattern>lib/system/api/*</exclude-pattern>
        <arg name="extensions" value="php" />