v-wordpress-plugin-updater/vendor/php-stubs/wordpress-stubs/phpcs.xml.dist
nikolai@vontainment.com afe656c55b modified: .gitignore
modified:   composer.lock
	modified:   mu-plugin/v-sys-plugin-updater-mu.php
	modified:   mu-plugin/v-sys-plugin-updater.php
	modified:   mu-plugin/v-sys-theme-updater-mu.php
	modified:   mu-plugin/v-sys-theme-updater.php
	modified:   tests/ApiKeyHelperTest.php
	modified:   update-api/app/Controllers/ApiController.php
	modified:   update-api/app/Controllers/HomeController.php
	deleted:    update-api/app/Controllers/KeyController.php
	modified:   update-api/app/Core/Router.php
	modified:   update-api/app/Models/HostsModel.php
	modified:   update-api/config.php
	modified:   update-api/public/install.php
	deleted:    update-api/storage/test.sqlite
2025-10-20 06:55:25 -04:00

56 lines
2 KiB
XML

<?xml version="1.0"?>
<ruleset>
<file>finder.php</file>
<file>functionMap.php</file>
<file>src/</file>
<file>visitor.php</file>
<file>tests/</file>
<rule ref="PSR12NeutronRuleset">
<exclude name="Generic.Files.LineLength"/>
<exclude name="PEAR.Commenting.ClassComment"/>
<exclude name="PEAR.Commenting.FileComment"/>
</rule>
<!-- Rules not applied to tests -->
<rule ref="SlevomatCodingStandard.Functions.FunctionLength.FunctionLength">
<exclude-pattern>tests/TypeInferenceTest.php</exclude-pattern>
</rule>
<rule ref="NeutronStandard.Functions.TypeHint.UnusedReturnType">
<exclude-pattern>tests/TypeInferenceTest.php</exclude-pattern>
</rule>
<rule ref="PSR12NeutronRuleset.NamingConventions.MeaningfulVariableName">
<exclude-pattern>tests/</exclude-pattern>
</rule>
<rule ref="PSR12NeutronRuleset.Strings.ConcatenationUsage">
<exclude-pattern>tests/</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedExceptions">
<properties>
<property name="ignoredNames" type="array">
<element value="WP_Error"/>
</property>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.PHP.RequireExplicitAssertion">
<exclude-pattern>tests/</exclude-pattern>
</rule>
<rule ref="Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps">
<exclude-pattern>tests/</exclude-pattern>
</rule>
<rule ref="Squiz.PHP.CommentedOutCode">
<exclude-pattern>tests/</exclude-pattern>
</rule>
<rule ref="WordPress.DateTime.CurrentTimeTimestamp">
<exclude-pattern>tests/</exclude-pattern>
</rule>
<rule ref="WordPress.DB.PreparedSQL">
<exclude-pattern>tests/</exclude-pattern>
</rule>
<rule ref="WordPress.Security.NonceVerification">
<exclude-pattern>tests/</exclude-pattern>
</rule>
<rule ref="WordPress.WP.GlobalVariablesOverride">
<exclude-pattern>tests/</exclude-pattern>
</rule>
</ruleset>