Skip to content

Commit c72f163

Browse files
committed
update amphp/postgres version & enable testing
1 parent 43f0299 commit c72f163

File tree

4 files changed

+3
-9
lines changed

4 files changed

+3
-9
lines changed

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"boesing/psalm-plugin-stringf": "v1.1.*"
6060
},
6161
"prefer-stable": true,
62-
"minimum-stability": "dev",
62+
"minimum-stability": "stable",
6363
"scripts": {
6464
"psalm": "rm -rf ~/.cache/psalm/ && ./vendor/bin/psalm --config=psalm.xml",
6565
"phpstan": "./vendor/bin/phpstan analyse src --level 9",

Diff for: phpstan.neon

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ parameters:
33
checkGenericClassInNonGenericObjectType: false
44
ignoreErrors:
55
- '#Cannot cast mixed to int#'
6-
- '#Access to undefined constant ServiceBus\\Storage\\Sql\\Migration\\MigrationType(.*)#'
7-
- '#Access to an undefined property ServiceBus\\Storage\\Sql\\Migration\\MigrationType(.*)#'
6+
- '#Access to .* ServiceBus\\Storage\\Sql\\Migration\\MigrationType(.*)#'

Diff for: phpunit.xml

-5
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,4 @@
3939
<directory>./tests/</directory>
4040
</testsuite>
4141
</testsuites>
42-
<groups>
43-
<exclude>
44-
<group>amphp</group>
45-
</exclude>
46-
</groups>
4742
</phpunit>

Diff for: tests/Sql/AmpPostgreSQL/AmpPostgreSQLTransactionTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public static function tearDownAfterClass(): void
5050
$adapter = self::getAdapter();
5151

5252
wait(
53-
$adapter->execute('DROP TABLE test_result_set')
53+
$adapter->execute('DROP TABLE IF EXISTS test_result_set')
5454
);
5555
}
5656

0 commit comments

Comments
 (0)