Skip to content

Commit

Permalink
Debug because I don't have PGSQL locally
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofandel committed Jan 26, 2024
1 parent 86baabb commit ebda552
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Functional/Platform/RenameColumnTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public function testColumnPositionRetainedAfterExplicitRenaming(string $columnNa
$diff = $sm->createComparator()
->compareTables($sm->introspectTable('test_rename'), $table);

var_dump($this->connection->getDatabasePlatform()->getAlterTableSQL($diff));

Check failure on line 57 in tests/Functional/Platform/RenameColumnTest.php

View workflow job for this annotation

GitHub Actions / Static Analysis with Psalm (8.2)

ForbiddenCode

tests/Functional/Platform/RenameColumnTest.php:57:9: ForbiddenCode: Unsafe var_dump (see https://psalm.dev/002)

Check failure on line 57 in tests/Functional/Platform/RenameColumnTest.php

View workflow job for this annotation

GitHub Actions / Coding Standards / Coding Standards (8.2)

Function var_dump() should not be referenced via a fallback global name, but via a use statement.
$sm->alterTable($diff);

$table = $sm->introspectTable('test_rename');
Expand Down

0 comments on commit ebda552

Please sign in to comment.