Class: PhpCop::Cop::CCPM::Methods
- Inherits:
-
PhpCop::Cop::Cop
- Object
- PhpCop::Cop::Cop
- PhpCop::Cop::CCPM::Methods
- Defined in:
- lib/phpcop/cop/ccpm/methods.rb
Overview
Test method in php class
Constant Summary collapse
- MSG_ALERT_DESCRIB =
'Name method is not in camelCase().'
Constants inherited from PhpCop::Cop::Cop
PhpCop::Cop::Cop::MSG_ALERT_FILE
Instance Attribute Summary
Attributes inherited from PhpCop::Cop::Cop
Instance Method Summary collapse
-
#initialize(file, line, line_number) ⇒ Methods
constructor
A new instance of Methods.
Constructor Details
#initialize(file, line, line_number) ⇒ Methods
Returns a new instance of Methods.
14 15 16 17 |
# File 'lib/phpcop/cop/ccpm/methods.rb', line 14 def initialize(file, line, line_number) super(file, line.to_s, line_number) test_line end |