<?xml version="1.0"?><ruleset name="Winter CMS"><description>The coding standard for Winter CMS.</description><rule ref="PSR2"><!--Exceptions to the PSR-2 guidelines as per our Developer Guide:https://wintercms.com/help/guidelines/developer#psr-exceptions--><exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps" /><exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace" /><exclude name="PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace" /><!--We're not enforcing a line length limit--><exclude name="Generic.Files.LineLength" /></rule><rule ref="Squiz.ControlStructures.ControlSignature"><!-- We use 0 spaces before the colon for short (alternative) tags --><properties><property name="requiredSpacesBeforeColon" value="0" /></properties></rule><rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace"><!--Migration files and tests do not need a namespace defined--><exclude-pattern>*/database/migrations/*\.php</exclude-pattern><exclude-pattern>*/tests/*</exclude-pattern></rule><rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses"><!--Test fixtures and cases can have multiple classes defined, only if they are directly related to the test, or areextended classes--><exclude-pattern>*/tests/*</exclude-pattern></rule><arg name="extensions" value="php" /><arg name="colors" /><file>bootstrap/</file><file>config/</file><file>modules/</file><file>plugins/winter/demo/</file><file>tests/</file><!-- Ignore vendor files --><exclude-pattern>*/vendor/*</exclude-pattern><!-- Ignore this view file as fixing the issues in here will break the template --><exclude-pattern>modules/system/views/exception.php</exclude-pattern><!-- Ignore this test case completely as it's testing a parse error --><exclude-pattern>tests/fixtures/plugins/testvendor/goto/Plugin.php</exclude-pattern></ruleset>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。