Skip to content

Commit

Permalink
Merge pull request #132 from jtgoltz/6469-ignore-jsonSerialize-method…
Browse files Browse the repository at this point in the history
…-name

Add jsonSerialize as valid method name
  • Loading branch information
stronk7 authored Feb 5, 2021
2 parents 3d07a61 + b81641b commit 66f7ac5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions moodle/Sniffs/NamingConventions/ValidFunctionNameSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class ValidFunctionNameSniff extends AbstractScopeSniff {
'offsetSet',
'offsetUnset', // Defined by the PHP ArrayAccess interface.
'tearDownAfterClass',
'jsonSerialize',
);

/**
Expand Down

0 comments on commit 66f7ac5

Please sign in to comment.