Skip to content

Commit 49113fe

Browse files
committed
MySource IncludeSystemSniff no longer throws errors for the Util package
git-svn-id: http://svn.php.net/repository/pear/packages/PHP_CodeSniffer/trunk@248398 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent 784c96a commit 49113fe

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

CodeSniffer/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class MySource_Sniffs_Channels_IncludeSystemSniff extends PHP_CodeSniffer_Standa
4444
'dal',
4545
'init',
4646
'pdo',
47+
'util',
4748
);
4849

4950

CodeSniffer/Standards/MySource/Tests/Channels/IncludeSystemUnitTest.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,5 @@ UserAssetType::create();
6060
FolderAssetType::create();
6161
$query->fetch(PDO::FETCH_NUM)
6262
BaseSystem::getDataDir();
63+
Util::getArrayIndex(array(), '');
6364
?>

package.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
4141
- Squiz ClassDeclarationSniff now ensures there is one blank line after a class closing brace
4242
- Squiz ClassDeclarationSniff now throws errors for a missing end PHP tag after the end class tag
4343
- Squiz IncrementDecrementUsageSniff no longer throws errors when -= and += are being used with vars
44+
- MySource IncludeSystemSniff no longer throws errors for the Util package
4445
- Fixed bug #12621 : "space after AS" check is wrong
4546
-- Thanks to Satoshi Oikawa for the patch
4647
- Fixed bug #12645 : error message is wrong

0 commit comments

Comments
 (0)