Title: Raise minimum PHP to 8.3 and migrate to php-db/phpdb-qa-tools (Mago, Infection, Codecov) · Issue #10 · php-db/phpdb-pgsql · GitHub
Open Graph Title: Raise minimum PHP to 8.3 and migrate to php-db/phpdb-qa-tools (Mago, Infection, Codecov) · Issue #10 · php-db/phpdb-pgsql
X Title: Raise minimum PHP to 8.3 and migrate to php-db/phpdb-qa-tools (Mago, Infection, Codecov) · Issue #10 · php-db/phpdb-pgsql
Description: Summary Two pieces of housekeeping that both touch composer.json and CI, so they are best done together. The package still advertises ~8.2.0 while the rest of the org has moved to 8.3, and it still uses laminas/laminas-coding-standard an...
Open Graph Description: Summary Two pieces of housekeeping that both touch composer.json and CI, so they are best done together. The package still advertises ~8.2.0 while the rest of the org has moved to 8.3, and it still...
X Description: Summary Two pieces of housekeeping that both touch composer.json and CI, so they are best done together. The package still advertises ~8.2.0 while the rest of the org has moved to 8.3, and it still...
Opengraph URL: https://github.com/php-db/phpdb-pgsql/issues/10
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Raise minimum PHP to 8.3 and migrate to php-db/phpdb-qa-tools (Mago, Infection, Codecov)","articleBody":"## Summary\n\nTwo pieces of housekeeping that both touch `composer.json` and CI, so they are best done together.\n\nThe package still advertises `~8.2.0` while the rest of the org has moved to 8.3, and it still uses `laminas/laminas-coding-standard` and PHPStan rather than the shared `php-db/phpdb-qa-tools` toolchain. Infection and Codecov are not wired up at all.\n\n## Proposed change\n\n1. Minimum PHP 8.3: `require.php` → `~8.3.0 || ~8.4.0 || ~8.5.0`, `config.platform.php` → `8.3.99`, CI matrix `[\"8.3\", \"8.4\", \"8.5\"]`.\n2. Add `php-db/phpdb-qa-tools: 0.1.x-dev` and `infection/infection: ^0.34.1` to `require-dev`, allow-list `infection/extension-installer`, and adopt the standard scripts: `cs-check`/`cs-fix` (mago format + lint), `static-analysis` (mago analyze), `mutation-test` (infection).\n3. Add `mago.toml` extending `vendor/php-db/phpdb-qa-tools/mago.toml` and pinning `php-version = \"8.3.0\"`, `infection.json5.dist` with `staticAnalysisTool: \"mago\"`, and `codecov.yml`.\n4. Remove `phpcs.xml.dist`, `phpstan.neon.dist`, `phpstan-baseline.neon`, `stubs/` (PHPStan-only), `.laminas-ci.json` and `coveralls.yml`, along with the phpcs and phpstan dev dependencies.\n5. Replace the `laminas-ci-matrix-action` workflow with a call to `php-db/phpdb-qa-tools/.github/workflows/continuous-integration.yml@0.1.x`, passing the Postgres service inputs, `run-integration: true`, Codecov and Infection on, and `coverage-php-version: \"8.5\"`. `phpdb-mysql` is the reference caller for a DB-backed driver.\n\nSchema seeding stays with the `ListenerExtension` PHPUnit bootstrap. `test-env-json` can override `TESTS_PHPDB_PGSQL_HOSTNAME` to `127.0.0.1` for CI without disturbing the Compose default in `phpunit.xml.dist`.\n\n## Notes\n\nMago's analyzer is stricter than PHPStan level 5, so this will surface findings the baseline never reported. Those can be baselined on adoption, as `php-db/phpdb` does, rather than blocking the swap.\n\n`CODECOV_TOKEN` is org-wide and already present. `INFECTION_DASHBOARD_API_KEY` is per-repo and needs generating at dashboard.stryker-mutator.io.\n","author":{"url":"https://github.com/simon-mundy","@type":"Person","name":"simon-mundy"},"datePublished":"2026-08-24T05:08:32Z","url":"https://github.com/php-db/phpdb-pgsql/issues/10"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5126e557-6582-f850-cffa-9b6b34dd92ea |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9CE0:3B6F2C:B026B:F641D:6AFD6AF8 |
| html-safe-nonce | 9538b1f848b4200bda6d36a070c5424b2abb58f49bafa87956e5a87895866f17 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0UwOjNCNkYyQzpCMDI2QjpGNjQxRDo2QUZENkFGOCIsInZpc2l0b3JfaWQiOiIyNjI4NzI3MTU0Njk0NTE1NDQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e6aff53d5078edb5fac5b52fd91110157a722fc8324e3bf70cc16cfabc4402f6 |
| hovercard-subject-tag | issue:5231310460 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/php-db/phpdb-pgsql/10/issue_layout |
| twitter:image | https://opengraph.githubassets.com/310273e454af223c94699c4bc06796d593eb2d2f0b1efee92c339671ddfe5549/php-db/phpdb-pgsql/issues/10 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/310273e454af223c94699c4bc06796d593eb2d2f0b1efee92c339671ddfe5549/php-db/phpdb-pgsql/issues/10 |
| og:image:alt | Summary Two pieces of housekeeping that both touch composer.json and CI, so they are best done together. The package still advertises ~8.2.0 while the rest of the org has moved to 8.3, and it still... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | simon-mundy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9985ca2e21b59673104d4d830d4afeb946c67f248f273ab2e824c31c8db46e4a |
| turbo-cache-control | no-preview |
| go-import | github.com/php-db/phpdb-pgsql git https://github.com/php-db/phpdb-pgsql.git |
| octolytics-dimension-user_id | 219474457 |
| octolytics-dimension-user_login | php-db |
| octolytics-dimension-repository_id | 946781573 |
| octolytics-dimension-repository_nwo | php-db/phpdb-pgsql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 946781573 |
| octolytics-dimension-repository_network_root_nwo | php-db/phpdb-pgsql |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0db9e8d463c3f4540570e6ad3c501a06db9dc02a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width