Class: PhpCop::Cop::CCPM::Constants
- Inherits:
-
PhpCop::Cop::Cop
- Object
- PhpCop::Cop::Cop
- PhpCop::Cop::CCPM::Constants
- Defined in:
- lib/phpcop/cop/ccpm/constants.rb
Overview
Test constant in php class
Constant Summary collapse
- MSG_ALERT_DESCRIB =
'Class constants MUST be declared in all upper '\ 'case with underscore separators.'
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, path, line, line_number) ⇒ Constants
constructor
A new instance of Constants.
Constructor Details
#initialize(file, path, line, line_number) ⇒ Constants
Returns a new instance of Constants.
13 14 15 16 |
# File 'lib/phpcop/cop/ccpm/constants.rb', line 13 def initialize(file, path, line, line_number) super(file, path, line, line_number) test_line end |