mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Clean internal pahn warnings
This commit is contained in:
parent
970545b218
commit
ca297a751f
|
|
@ -685,6 +685,9 @@ if (count($output_phan_json) != 0) {
|
|||
foreach ($phan_notices as $notice) {
|
||||
if (!empty($notice['location'])) {
|
||||
$path = $notice['location']['path'];
|
||||
if ($path == 'internal') {
|
||||
continue;
|
||||
}
|
||||
$line_start = $notice['location']['lines']['begin'];
|
||||
$line_end = $notice['location']['lines']['end'];
|
||||
if ($line_start == $line_end) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user