Skip to content

Commit

Permalink
Fix non valid ruleset.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Apr 8, 2022
1 parent 350c71f commit cd470ea
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Wdes/ruleset.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<ruleset
xmlns="http://pmd.sf.net/ruleset/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
xsi:schemaLocation="https://pmd.sourceforge.io/ruleset_xml_schema.xsd"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"
name="Wdes"
namespace="Wdes">
<!-- https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
<!-- https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset -->
<description>Wdes coding standard</description>

<config name="installed_paths" value="../../slevomat/coding-standard"/>
Expand Down Expand Up @@ -69,8 +68,8 @@
<rule ref="Generic.NamingConventions.ConstructorName"/>
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
<rule ref="Generic.PHP.DeprecatedFunctions"/>
<rule ref="Generic.PHP.LowerCaseType"/>
<rule ref="Generic.PHP.ForbiddenFunctions">
<rule ref="Generic.PHP.LowerCaseType"/>
<properties>
<property name="forbiddenFunctions" type="array">
<element key="sizeof" value="count"/>
Expand Down

0 comments on commit cd470ea

Please sign in to comment.