Skip to content

Commit

Permalink
Do not exclude DefaultTimezoneRequired as it was removed
Browse files Browse the repository at this point in the history
  • Loading branch information
polothy committed Aug 23, 2017
1 parent 4bbd57e commit 1c6cecd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions moodle/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@
attempt to include external rulesets with own
rules or excludes fail -->
<rule ref="../PHPCompatibility">
<!-- Moodle's bootstrap ensures DefaultTimezone is defined, so excluding this -->
<exclude name="PHPCompatibility.PHP.DefaultTimezoneRequired"/>
<!-- We use our own subclassed moodle_Sniffs_PHP_ForbiddenNamesAsInvokedFunctionsSniff
because there are some tokens we allow to be used as functions, like clone() -->
<exclude name="PHPCompatibility.PHP.ForbiddenNamesAsInvokedFunctions"/>
Expand Down

0 comments on commit 1c6cecd

Please sign in to comment.