Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -1482,12 +1482,6 @@ parameters:
count: 1
path: public/cached.php

-
message: '#^Constant cal not found\.$#'
identifier: constant.notFound
count: 1
path: public/cal.php

-
message: '#^Function date_for_recur\(\) has no return type specified\.$#'
identifier: missingType.return
Expand Down Expand Up @@ -1560,12 +1554,6 @@ parameters:
count: 1
path: public/cal.php

-
message: '#^Function phpdate not found\.$#'
identifier: function.notFound
count: 1
path: public/cal.php

-
message: '#^Function read_event\(\) has no return type specified\.$#'
identifier: missingType.return
Expand Down Expand Up @@ -1599,7 +1587,7 @@ parameters:
-
message: '#^Parameter \#2 \$timestamp of function date expects int\|null, int\|false given\.$#'
identifier: argument.type
count: 14
count: 15
path: public/cal.php

-
Expand Down
2 changes: 1 addition & 1 deletion public/cal.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
// Print out day number and all events for the day
echo '<td><a class="day" href="/cal.php', "?cm=$cm&amp;cd=$i&amp;cy=$cy",
'">',$i,'</a>';
display_events_for_day(cal . phpdate("Y-m-", $bom) . sprintf("%02d", $i), $events);
display_events_for_day(date("Y-m-", $bom) . sprintf("%02d", $i), $events);
echo '</td>';

// Break HTML table row if at end of week
Expand Down
Loading