Skip to content

Commit 3ce8bf1

Browse files
committed
TBF
1 parent 1426d22 commit 3ce8bf1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"require-dev": {
3030
"friendsofphp/php-cs-fixer": "^3.0",
31-
"phpstan/phpstan": "^1.0",
31+
"phpstan/phpstan": "^1.4",
3232
"phpstan/phpstan-phpunit": "^1.0",
3333
"phpstan/phpstan-strict-rules": "^1.0",
3434
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"

lib/MC/Google/Visualization.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ public function getRowValues(array $row, array $meta): string
576576
$time = strtotime($year.'0104 +'.$week.' weeks');
577577
assert(false !== $time);
578578
$monday = strtotime('-'.((int) date('w', $time) - 1).' days', $time);
579-
assert(false !== $monday); // @phpstan-ignore-line ; PHP < 8.0
579+
assert(false !== $monday);
580580
[$year, $month, $day] = explode('-', date('Y-m-d', $monday));
581581
$formatted = date($format, $monday);
582582
} else {
@@ -1007,7 +1007,7 @@ protected function generateSQL(array &$meta): string
10071007
$stmt = $this->db->query($pivotSql);
10081008
assert(false !== $stmt);
10091009
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
1010-
assert(false !== $rows); // @phpstan-ignore-line ; PHP < 8.0
1010+
assert(false !== $rows);
10111011
foreach ($rows as $row) {
10121012
// Create a version of all function-ed fields for each unique combination of pivot values
10131013
foreach ($funcFields as $field) {

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ includes:
44
- vendor/phpstan/phpstan-strict-rules/rules.neon
55
parameters:
66
checkMissingIterableValueType: false
7-
reportUnmatchedIgnoredErrors: false
7+
reportUnmatchedIgnoredErrors: true
88
treatPhpDocTypesAsCertain: false

0 commit comments

Comments
 (0)