Sniffs/PHP/DeprecatedIniDirectivesSniff.php 1 location
|
@@ 293-295 (lines=3) @@
|
| 290 |
|
$errorInfo = parent::getErrorInfo($itemArray, $itemInfo); |
| 291 |
|
|
| 292 |
|
// Lower error level to warning if the function used was ini_get. |
| 293 |
|
if ($errorInfo['error'] === true && $itemInfo['functionLc'] === 'ini_get') { |
| 294 |
|
$errorInfo['error'] = false; |
| 295 |
|
} |
| 296 |
|
|
| 297 |
|
return $errorInfo; |
| 298 |
|
} |
Sniffs/PHP/NewIniDirectivesSniff.php 1 location
|
@@ 566-568 (lines=3) @@
|
| 563 |
|
} |
| 564 |
|
|
| 565 |
|
// Lower error level to warning if the function used was ini_get. |
| 566 |
|
if ($errorInfo['error'] === true && $itemInfo['functionLc'] === 'ini_get') { |
| 567 |
|
$errorInfo['error'] = false; |
| 568 |
|
} |
| 569 |
|
|
| 570 |
|
return $errorInfo; |
| 571 |
|
} |