File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Joomla/Sniffs/NamingConventions Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 19
19
*/
20
20
class Joomla_Sniffs_NamingConventions_ValidFunctionNameSniff extends PEAR_Sniffs_NamingConventions_ValidFunctionNameSniff
21
21
{
22
+ /**
23
+ * A list of all PHP magic methods.
24
+ *
25
+ * @var array
26
+ */
27
+ protected $ magicMethods = array (
28
+ 'construct ' => true ,
29
+ 'destruct ' => true ,
30
+ 'call ' => true ,
31
+ 'callstatic ' => true ,
32
+ 'get ' => true ,
33
+ 'set ' => true ,
34
+ 'isset ' => true ,
35
+ 'unset ' => true ,
36
+ 'sleep ' => true ,
37
+ 'wakeup ' => true ,
38
+ 'serialize ' => true ,
39
+ 'unserialize ' => true ,
40
+ 'tostring ' => true ,
41
+ 'invoke ' => true ,
42
+ 'set_state ' => true ,
43
+ 'clone ' => true ,
44
+ 'debuginfo ' => true ,
45
+ );
46
+
22
47
/**
23
48
* Processes the tokens within the scope.
24
49
*
You can’t perform that action at this time.
0 commit comments