Skip to content

Commit

Permalink
Fix different error formats for arrayValues.list
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Dec 6, 2024
1 parent 823f364 commit 83c8738
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
6 changes: 3 additions & 3 deletions tests/system/Database/Live/MetadataTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function testListTablesUnconstrainedByPrefixReturnsAllTables(): void
$expectedTables[] = 'tmp_widgets';

sort($tables);
$this->assertSame($expectedTables, array_values($tables));
$this->assertSame($expectedTables, $tables);
} finally {
$this->dropExtraneousTable();
}
Expand All @@ -117,7 +117,7 @@ public function testListTablesConstrainedByPrefixReturnsOnlyTablesWithMatchingPr
$this->assertNotSame([], $tables);

sort($tables);
$this->assertSame($this->expectedTables, array_values($tables));
$this->assertSame($this->expectedTables, $tables);
} finally {
$this->dropExtraneousTable();
}
Expand All @@ -138,7 +138,7 @@ public function testListTablesConstrainedByExtraneousPrefixReturnsOnlyTheExtrane
$this->assertNotSame([], $tables);

sort($tables);
$this->assertSame(['tmp_widgets'], array_values($tables));
$this->assertSame(['tmp_widgets'], $tables);
} finally {
$this->db->setPrefix($oldPrefix);
$this->dropExtraneousTable();
Expand Down
8 changes: 0 additions & 8 deletions utils/phpstan-baseline/arrayValues.list.neon

This file was deleted.

1 change: 0 additions & 1 deletion utils/phpstan-baseline/loader.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
includes:
- argument.type.neon
- arrayValues.list.neon
- assign.propertyType.neon
- booleanAnd.leftNotBoolean.neon
- booleanAnd.rightAlwaysTrue.neon
Expand Down

0 comments on commit 83c8738

Please sign in to comment.