projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea4ddc3
)
Add XSD location to .phpcs.xml
author
Tim Düsterhus
<duesterhus@woltlab.com>
Thu, 24 Aug 2023 08:29:31 +0000
(10:29 +0200)
committer
Tim Düsterhus
<duesterhus@woltlab.com>
Thu, 24 Aug 2023 08:29:31 +0000
(10:29 +0200)
.phpcs.xml
patch
|
blob
|
blame
|
history
diff --git
a/.phpcs.xml
b/.phpcs.xml
index c66569d23c70db0b47df23a6386a28d757cc2ceb..9ed5c89cf99a83c6ddfbd3affb7ca44733de6807 100644
(file)
--- a/
.phpcs.xml
+++ b/
.phpcs.xml
@@
-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" />