Skip to content

Commit

Permalink
Use proper xml types (#4)
Browse files Browse the repository at this point in the history
* Use proper xml types

* composer update
  • Loading branch information
defunctl authored Mar 14, 2022
1 parent e485bb5 commit 4262abd
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 61 deletions.
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"cweagans/composer-patches": true
}
}
}
118 changes: 61 additions & 57 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions lib/ModernTribe/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
<properties>
<property name="spacesCountAroundEqualsSign" value="0"/>
<property name="declareOnFirstLine" value="1"/>
<property name="declareOnFirstLine" value="true"/>
<property name="linesCountAfterDeclare" value="1"/>
</properties>
</rule>
Expand All @@ -121,12 +121,12 @@
</rule>
<rule ref="SlevomatCodingStandard.Classes.ClassConstantVisibility">
<properties>
<property name="fixable" value="1"/>
<property name="fixable" value="true"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses">
<properties>
<property name="searchAnnotations" value="1"/>
<property name="searchAnnotations" value="true"/>
</properties>
</rule>
<!-- Require space around colon in return types -->
Expand Down

0 comments on commit 4262abd

Please sign in to comment.