Skip to content

Commit

Permalink
Provide XSD for phpcs file (#11752)
Browse files Browse the repository at this point in the history
It unlocks autocompletion and validation in some IDEs.
  • Loading branch information
greg0ire authored Dec 7, 2024
1 parent 6fd26a3 commit a5c80a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion phpcs.xml.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?xml version="1.0"?>
<ruleset>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="PHP_CodeSniffer"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<arg name="basepath" value="."/>
<arg name="extensions" value="php"/>
<arg name="parallel" value="80"/>
Expand Down

0 comments on commit a5c80a4

Please # to comment.