pgb_liv\php_ms\Core\Modification::setLocation
Sets the location for this modification
Signature
public function setLocation(int
$location )
Parameters
$location
—
int
The location to set this modification at
Errors/Exceptions
-
InvalidArgumentException
- If argument 1 is not of type int
Test Coverage
Information
- Coverage: 5/5 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\ModificationTest::testObjectCanGetSetValidLocation
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\ModificationTest::testObjectCanSetInvalidLocation
Violations
Checkstyle
Line |
Column |
Severity |
Message |
73 |
1 |
error
|
Multi-line function call not indented correctly; expected 12 spaces but found 16 |
73 |
98 |
error
|
Closing parenthesis of a multi-line function call must be on a line by itself |