Skip to content

Commit

Permalink
Fixes #118
Browse files Browse the repository at this point in the history
  • Loading branch information
wimg committed Jul 1, 2016
1 parent cc622c3 commit f8cf243
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion Sniffs/PHP/ForbiddenNamesAsInvokedFunctionsSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ class PHPCompatibility_Sniffs_PHP_ForbiddenNamesAsInvokedFunctionsSniff extends
T_PRIVATE => '5.0',
T_PROTECTED => '5.0',
T_PUBLIC => '5.0',
T_THROW => '5.0',
T_TRAIT => '5.4',
T_TRY => '5.0',
T_NULL => '7.0',
Expand Down
10 changes: 0 additions & 10 deletions Tests/Sniffs/PHP/ForbiddenNamesAsInvokedFunctionsSniffTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,16 +186,6 @@ public function testPublic()
$this->assertError($this->_sniffFile, 20, "'public' is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function");
}

/**
* testThrow
*
* @return void
*/
public function testThrow()
{
$this->assertError($this->_sniffFile, 21, "'throw' is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function");
}

/**
* testTrait
*
Expand Down

0 comments on commit f8cf243

Please sign in to comment.