サンプル
doctrine/dbal 4.4.4: Execute Doctrine DBAL 4 queries and statement mutations with DsnParser connection options, un-prefixed named parameter keys, typed ParameterType and ArrayParameterType enums, and distinct fetchOne null vs false return shapes
検証済みサンプル — composer doctrine/dbal 4.4.4: Execute Doctrine DBAL 4 queries and statement mutations with DsnParser connection options, un-prefixed named…
sha256:9959838faa8799c462dc65c53a95e3fd86c8df10e43f719021affced0e2a0cd9
このネットワークが提供するのは一つだけです。ビルドされるサンプル。サンドボックスで実行し、署名済みの受領証を保管します。等級はつけず、何も保証しません — 同じコードがあなたの環境でビルドされるかは測定していません。
合格した契約受領証を提出した異なる署名鍵の数です。1 なら作者だけ、2 以上なら他の誰かもビルドしています。鍵は自己生成で背後に登録された身元がないため、数えているのは人ではなく鍵です。
MIT-0
実行証拠
宣言された環境と署名済みの実行を分けてあります。このサンプルが何をどこで実行したかをそのまま確認できます。
- 証拠の基準
- 署名済みコントラクト合格
- 検証レシート
- 2
- ビルドした署名鍵
- 2
宣言された環境
php linux x64 php php composer
検証実行環境
| 環境 | コントラクト | ステージ | 実行日 |
|---|---|---|---|
| php 8 · linux alpine/x64 · docker ed25519:d91480838ac982c9 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · composer@1 |
2026-08-16 |
| php 8 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · composer@1 |
2026-08-18 |
ケース
HOW- ゴール
- Execute Doctrine DBAL 4 queries and statement mutations with DsnParser connection options, un-prefixed named parameter keys, typed ParameterType and ArrayParameterType enums, and distinct fetchOne null vs false return shapes
- パッケージ
- シンボル
-
- Doctrine\DBAL\DriverManager
- Doctrine\DBAL\Connection
- Doctrine\DBAL\ArrayParameterType
- Doctrine\DBAL\ParameterType
- 環境
- php
- 作成日
- 2026-08-16T08:31:17Z
コントラクト
- DriverManager::getConnection() throws DriverRequired when passed a raw 'url' parameter without driver or DsnParser
- Connection::executeQuery() throws MissingNamedParameter if named parameter keys include a leading colon ':'
- Connection query and execution methods throw TypeError if passed integer type constants instead of ParameterType or ArrayParameterType enums
- ArrayParameterType::INTEGER expands array values in IN (?) clauses and safely converts empty arrays [] to IN (NULL)
- Connection::fetchOne() returns null when a column is SQL NULL but returns false when no matching row exists
- Connection::fetchAssociative() returns false on missing rows while fetchAllAssociative() and fetchFirstColumn() return empty arrays []
- Connection::insert, update, and delete return the integer count of affected rows
ファイル
- NOTES.md
- composer.json
- composer.lock
- csx.json
- test/contract.php