Skip to content

Commit 6beb4b9

Browse files
committed
fix: resolve CI failures from PHPStan 2 upgrade
- GcsExportAdapter: use "\n" instead of '' for empty compression option to preserve trailing newline in EXPORT DATA SQL - DevBranchHandlerTest: add assertIsArray before accessing reset() result - BigqueryTableReflectionTest: move @phpstan-ignore to own line (120 char limit)
1 parent 104cf5a commit 6beb4b9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/Functional/Bigquery/Table/BigqueryTableReflectionTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ public function testColumnDefinition(
8383
->dataset(self::TEST_SCHEMA)
8484
->table(self::TABLE_GENERIC)
8585
->info();
86-
$fieldInfo = $tableInfo['schema']['fields'][1]; // @phpstan-ignore offsetAccess.nonOffsetAccessible, offsetAccess.nonOffsetAccessible
86+
// @phpstan-ignore offsetAccess.nonOffsetAccessible, offsetAccess.nonOffsetAccessible
87+
$fieldInfo = $tableInfo['schema']['fields'][1];
8788
self::assertEquals(
8889
RESTtoSQLDatatypeConverter::convertColumnToSQLFormat($fieldInfo), // @phpstan-ignore argument.type
8990
RESTtoSQLDatatypeConverter::convertColumnToSQLFormat(

0 commit comments

Comments
 (0)