Issues (31)

include.php (2 issues)

Labels
Severity
1
<?php
2
defined('B_PROLOG_INCLUDED') and (B_PROLOG_INCLUDED === true) or die();
0 ignored issues
show
The constant B_PROLOG_INCLUDED was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
3
4
if (file_exists(__DIR__ . '/reinstalljs')) {
5
    CopyDirFiles(
0 ignored issues
show
The function CopyDirFiles was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

5
    /** @scrutinizer ignore-call */ 
6
    CopyDirFiles(
Loading history...
6
        $_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/telegram.send/install/js/',
7
        $_SERVER['DOCUMENT_ROOT'] . '/bitrix/js/',
8
        true,
9
        true
10
    );
11
12
    unlink(__DIR__ . '/reinstalljs');
13
}
14