Skip to content

Hostnet Experimental

Mitchell edited this page Oct 17, 2018 · 1 revision

Introduction

The phpcs-tool also contains a ruleset called HostnetExperimental, which imports the regular Hostnet codestyle, but has a few extra sniffs that are being tested and will become part of our codestyle in the future.

Experimental rules

  • SlevomatCodingStandard.Classes.ClassConstantVisibility
  • SlevomatCodingStandard.TypeHints.TypeHintDeclaration
    • Excluding SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingParameterTypeHint
    • Excluding SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingPropertyTypeHint
    • Excluding SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversableParameterTypeHintSpecification
    • Excluding SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversablePropertyTypeHintSpecification
    • Excluding SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversableReturnTypeHintSpecification
    • Excluding SlevomatCodingStandard.TypeHints.TypeHintDeclaration.UselessDocComment
Clone this wiki locally