Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | function toDateTime($timesTamp) { |
||
25 | |||
26 | $tzName = Session::get('tzName'); |
||
27 | if($tzName!='Asia/Kolkata'){ |
||
28 | $tz = new DateTimeZone(trim($tzName)); |
||
29 | |||
30 | $date = new DateTime($timesTamp); |
||
31 | $date->setTimezone($tz); |
||
32 | $dateTime=$date->format('F jS, Y h:m:s A'); |
||
33 | return $dateTime; |
||
34 | } |
||
35 | else{ |
||
36 | $date = new DateTime($timesTamp); |
||
37 | $dateTime= $date->format('F jS, Y h:m:s A'); |
||
38 | return $dateTime; |
||
39 | } |
||
55 | } |
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