Skip to content

Commit

Permalink
Merge pull request #70 from stronk7/remove_missing_namespace_controve…
Browse files Browse the repository at this point in the history
…rsial

Exclude the PSR1.Classes.ClassDeclaration.MissingNamespace error
  • Loading branch information
andrewnicols authored Sep 26, 2023
2 parents f6290f6 + aa5ad5e commit f2d483c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions moodle-extra/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
<!-- Moodle already defines its own line length, so remove this from the PSR-12 standard -->
<exclude name="Generic.Files.LineLength.TooLong"/>

<!-- Moodle doesn't mandate (nor support) namespaces everywhere, so remove this for now -->
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace" />

<!-- Moodle has its own custom sniff for side effects -->
<exclude name="PSR1.Files.SideEffects.FoundWithSymbols"/>

Expand Down

0 comments on commit f2d483c

Please sign in to comment.