Skip to content

Commit 106d4f9

Browse files
committed
TBF
1 parent 545c7de commit 106d4f9

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-24.04
1010
strategy:
1111
matrix:
12-
php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
12+
php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
1313
name: PHP ${{ matrix.php }}
1414
steps:
1515
- uses: actions/checkout@v6
@@ -32,7 +32,7 @@ jobs:
3232
fetch-depth: 5
3333
- uses: shivammathur/setup-php@v2
3434
with:
35-
php-version: '7.1'
35+
php-version: '7.2'
3636
tools: composer:2
3737
coverage: none
3838
- run: composer update --no-progress --prefer-lowest

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@
2222
}
2323
],
2424
"require": {
25-
"php": "^7.1 || ^8.0",
25+
"php": "^7.2 || ^8.0",
2626
"ext-json": "*",
2727
"ext-pdo": "*"
2828
},
2929
"require-dev": {
3030
"friendsofphp/php-cs-fixer": "^3.0",
31-
"phpstan/phpstan": "^1.4",
31+
"phpstan/phpstan": "^1.12",
3232
"phpstan/phpstan-phpunit": "^1.0",
3333
"phpstan/phpstan-strict-rules": "^1.0",
34-
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
34+
"phpunit/phpunit": "^8.0 || ^9.0"
3535
},
3636
"config": {
3737
"sort-packages": true

lib/MC/Google/Visualization.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,6 @@ 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);
10111010
foreach ($rows as $row) {
10121011
// Create a version of all function-ed fields for each unique combination of pivot values
10131012
foreach ($funcFields as $field) {

phpstan.neon

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ includes:
33
- vendor/phpstan/phpstan-phpunit/rules.neon
44
- vendor/phpstan/phpstan-strict-rules/rules.neon
55
parameters:
6-
checkMissingIterableValueType: false
76
reportUnmatchedIgnoredErrors: true
8-
treatPhpDocTypesAsCertain: false
7+
treatPhpDocTypesAsCertain: false
8+
ignoreErrors:
9+
-
10+
identifier: missingType.iterableValue

0 commit comments

Comments
 (0)