Skip to content

Commit 41d26d9

Browse files
authored
Merge pull request #2 from tyrsson/fix-phpunit
Fix phpunit
2 parents 92565b6 + 9952437 commit 41d26d9

49 files changed

Lines changed: 1561 additions & 979 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
; This file is for unifying the coding style for different editors and IDEs.
2+
; More information at http://editorconfig.org
3+
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
indent_size = 4
9+
indent_style = space
10+
end_of_line = lf
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
13+
14+
[Makefile]
15+
indent_style = tab

composer.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,18 @@
3030
}
3131
},
3232
"require": {
33-
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
34-
"php-db/phpdb": "^0.2.1"
33+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
34+
"php-db/phpdb": "^0.4.1"
3535
},
3636
"require-dev": {
37+
"ext-pdo_pgsql": "*",
38+
"ext-pgsql": "*",
3739
"laminas/laminas-coding-standard": "^3.0.1",
3840
"phpstan/phpstan": "^2.1",
3941
"phpstan/phpstan-phpunit": "^2.0",
40-
"phpunit/phpunit": "^11.5.15"
42+
"phpunit/phpunit": "^11.5.42"
4143
},
4244
"suggest": {
43-
"ext-pdo": "*",
4445
"ext-pdo_pgsql": "*",
4546
"ext-pgsql": "*",
4647
"laminas/laminas-servicemanager": "Laminas\\ServiceManager component"
@@ -53,13 +54,14 @@
5354
"autoload-dev": {
5455
"psr-4": {
5556
"PhpDbTest\\Adapter\\Pgsql\\": "test/unit/",
57+
"PhpDbTestAsset\\Pgsql\\": "test/asset/",
5658
"PhpDbIntegrationTest\\Adapter\\Pgsql\\": "test/integration/"
5759
}
5860
},
5961
"scripts": {
6062
"check": [
6163
"@cs-check",
62-
"@static-analysis",
64+
"@sa",
6365
"@test",
6466
"@test-integration"
6567
],
@@ -68,8 +70,9 @@
6870
"test": "phpunit --colors=always --testsuite \"unit test\"",
6971
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
7072
"test-integration": "phpunit --colors=always --testsuite \"integration test\"",
71-
"static-analysis": "vendor/bin/phpstan analyse --memory-limit=256M",
73+
"sa": "vendor/bin/phpstan analyse --memory-limit=256M",
7274
"sa-generate-baseline": "vendor/bin/phpstan analyse --memory-limit=256M --generate-baseline",
75+
"sa-verbose": "vendor/bin/phpstan analyse --memory-limit=256M -vv",
7376
"upload-coverage": "coveralls -v"
7477
}
7578
}

0 commit comments

Comments
 (0)