Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP8.4 Support Added #312

Open
wants to merge 4 commits into
base: 2.21.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .laminas-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@
"pgsql",
"sqlite3",
"sqlsrv"
]
],
"ignore_php_platform_requirements": {
"8.4": true
}
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}
},
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"laminas/laminas-stdlib": "^3.7.1"
},
"require-dev": {
Expand Down
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/book/adapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@ The above example will go through the following steps:
- execute the `Statement` object, producing a `Result` object.
- check the `Result` object to check if the supplied SQL was a result set
producing statement:
- if the query produced a result set, clone the `ResultSet` prototype,
- if the query produced a result set, clone the `ResultSet` prototype,
inject the `Result` as its datasource, and return the new `ResultSet`
instance.
- otherwise, return the `Result`.
- otherwise, return the `Result`.

## Query Execution

Expand Down
26 changes: 13 additions & 13 deletions docs/book/table-gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,26 +227,26 @@ listed.
- `preInitialize` (no parameters)
- `postInitialize` (no parameters)
- `preSelect`, with the following parameters:
- `select`, with type `Laminas\Db\Sql\Select`
- `select`, with type `Laminas\Db\Sql\Select`
- `postSelect`, with the following parameters:
- `statement`, with type `Laminas\Db\Adapter\Driver\StatementInterface`
- `result`, with type `Laminas\Db\Adapter\Driver\ResultInterface`
- `resultSet`, with type `Laminas\Db\ResultSet\ResultSetInterface`
- `statement`, with type `Laminas\Db\Adapter\Driver\StatementInterface`
- `result`, with type `Laminas\Db\Adapter\Driver\ResultInterface`
- `resultSet`, with type `Laminas\Db\ResultSet\ResultSetInterface`
- `preInsert`, with the following parameters:
- `insert`, with type `Laminas\Db\Sql\Insert`
- `insert`, with type `Laminas\Db\Sql\Insert`
- `postInsert`, with the following parameters:
- `statement` with type `Laminas\Db\Adapter\Driver\StatementInterface`
- `result` with type `Laminas\Db\Adapter\Driver\ResultInterface`
- `statement` with type `Laminas\Db\Adapter\Driver\StatementInterface`
- `result` with type `Laminas\Db\Adapter\Driver\ResultInterface`
- `preUpdate`, with the following parameters:
- `update`, with type `Laminas\Db\Sql\Update`
- `update`, with type `Laminas\Db\Sql\Update`
- `postUpdate`, with the following parameters:
- `statement`, with type `Laminas\Db\Adapter\Driver\StatementInterface`
- `result`, with type `Laminas\Db\Adapter\Driver\ResultInterface`
- `statement`, with type `Laminas\Db\Adapter\Driver\StatementInterface`
- `result`, with type `Laminas\Db\Adapter\Driver\ResultInterface`
- `preDelete`, with the following parameters:
- `delete`, with type `Laminas\Db\Sql\Delete`
- `delete`, with type `Laminas\Db\Sql\Delete`
- `postDelete`, with the following parameters:
- `statement`, with type `Laminas\Db\Adapter\Driver\StatementInterface`
- `result`, with type `Laminas\Db\Adapter\Driver\ResultInterface`
- `statement`, with type `Laminas\Db\Adapter\Driver\StatementInterface`
- `result`, with type `Laminas\Db\Adapter\Driver\ResultInterface`

Listeners receive a `Laminas\Db\TableGateway\Feature\EventFeature\TableGatewayEvent`
instance as an argument. Within the listener, you can retrieve a parameter by
Expand Down