1 | <?php |
||||
2 | /** |
||||
3 | * Created by PhpStorm. |
||||
4 | * User: [email protected] |
||||
5 | * Date: 9/13/2020 |
||||
6 | * Time: 12:57 PM |
||||
7 | */ |
||||
8 | |||||
9 | return [ |
||||
10 | |||||
11 | /* |
||||
12 | * |
||||
13 | */ |
||||
14 | "smartApi" => [ |
||||
15 | "methodsRepositoryClass" => \App\Classes\SmartApiMethodsRepo::class, |
||||
0 ignored issues
–
show
|
|||||
16 | ], |
||||
17 | |||||
18 | /* |
||||
19 | * |
||||
20 | */ |
||||
21 | "simotelApi" => [ |
||||
22 | "apiUrl" => env("SIMOTEL_API_SERVER", "127.0.0.1"), |
||||
0 ignored issues
–
show
The function
env 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
![]() |
|||||
23 | "user" => env("SIMOTEL_API_USER", "user"), |
||||
24 | "pass" => env("SIMOTEL_API_PASS", "pass"), |
||||
25 | ], |
||||
26 | |||||
27 | /* |
||||
28 | * |
||||
29 | */ |
||||
30 | "simotelEventApi" => [ |
||||
31 | "events" => [ |
||||
32 | "Cdr" => \Hsy\SimotelConnect\Events\SimotelEventCdr::class, |
||||
33 | "NewState" => \Hsy\SimotelConnect\Events\SimotelEventNewState::class, |
||||
34 | "ExtenAdded" => \Hsy\SimotelConnect\Events\SimotelEventExtenAdded::class, |
||||
35 | "ExtenRemoved" => \Hsy\SimotelConnect\Events\SimotelEventExtenRemoved::class, |
||||
36 | "IncomingCall" => \Hsy\SimotelConnect\Events\SimotelEventIncomingCall::class, |
||||
37 | "OutGoingCall" => \Hsy\SimotelConnect\Events\SimotelEventOutgoingCall::class, |
||||
38 | "Transfer" => \Hsy\SimotelConnect\Events\SimotelEventTransfer::class, |
||||
39 | ] |
||||
40 | ] |
||||
41 | ]; |
||||
42 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths