-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renamed FilePermissions to ExecutableFile as the old name was a bit t…
…oo generic (ref #2582)
- Loading branch information
Showing
5 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...ic/Docs/Files/FilePermissionsStandard.xml → ...ric/Docs/Files/ExecutableFileStandard.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* Unit test class for the FilePermissions sniff. | ||
* Unit test class for the ExecutableFile sniff. | ||
* | ||
* @author Matthew Peveler <[email protected]> | ||
* @copyright 2019 Matthew Peveler | ||
|
@@ -11,7 +11,7 @@ | |
|
||
use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest; | ||
|
||
class FilePermissionsUnitTest extends AbstractSniffUnitTest | ||
class ExecutableFileUnitTest extends AbstractSniffUnitTest | ||
{ | ||
|
||
|
||
|
@@ -28,7 +28,7 @@ class FilePermissionsUnitTest extends AbstractSniffUnitTest | |
public function getErrorList($testFile='') | ||
{ | ||
switch ($testFile) { | ||
case 'FilePermissionsUnitTest.2.inc': | ||
case 'ExecutableFileUnitTest.2.inc': | ||
return [1 => 1]; | ||
default: | ||
return []; | ||
|