Skip to content

Commit

Permalink
Renamed FilePermissions to ExecutableFile as the old name was a bit t…
Browse files Browse the repository at this point in the history
…oo generic (ref #2582)
  • Loading branch information
gsherwood committed Nov 12, 2019
1 parent e1b6ccd commit cf71b8b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<documentation title="File Permissions">
<documentation title="Executable Files">
<standard>
<![CDATA[
Files should not be executable.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;

class FilePermissionsSniff implements Sniff
class ExecutableFileSniff implements Sniff
{


Expand Down
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
Expand All @@ -11,7 +11,7 @@

use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;

class FilePermissionsUnitTest extends AbstractSniffUnitTest
class ExecutableFileUnitTest extends AbstractSniffUnitTest
{


Expand All @@ -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 [];
Expand Down

0 comments on commit cf71b8b

Please sign in to comment.