Skip to content

Commit

Permalink
Upgrading figuren-theater/code-quality (0.8.1 => 1.1.1) (#11)
Browse files Browse the repository at this point in the history
Old own dependencies are still a problem. See #12
  • Loading branch information
carstingaxion authored Feb 23, 2024
2 parents 8a69832 + 5e8d46f commit 816058e
Show file tree
Hide file tree
Showing 14 changed files with 693 additions and 341 deletions.
23 changes: 10 additions & 13 deletions .phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
<description>Coding standards for ft-options</description>

<file>.</file>

<!--
<exclude-pattern>*/bin/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern> -->
<arg name="basepath" value="./"/><!-- Strip the file paths down to the relevant bit -->

<!--
is created during composer install,
Expand All @@ -19,13 +15,14 @@
<!-- Use figuren.theater Coding Standards -->
<rule ref="figurentheater" />

<!--
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array">
<element value="figurentheater"/>
</property>
</properties>
</rule> -->
<!-- No need to only have final classes. -->
<rule ref="Universal.Classes.RequireFinalClass.NonFinalClassFound">
<exclude-pattern>*/inc/*</exclude-pattern>
</rule>

<!-- No need to only have final classes. -->
<rule ref="WordPress.NamingConventions.PrefixAllGlobals.DynamicHooknameFound">
<exclude-pattern>*/inc/class-*</exclude-pattern>
</rule>

</ruleset>
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"markjaquith/wp-tlc-transients": "^1.0"
},
"require-dev": {
"figuren-theater/code-quality": "*"
"figuren-theater/code-quality": "^1.1"
},
"autoload": {
"classmap": [
Expand All @@ -41,10 +41,10 @@
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true,
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"composer/installers": true
"phpstan/extension-installer": true
}
}
}
Loading

0 comments on commit 816058e

Please sign in to comment.