Skip to content

Commit

Permalink
PHP 8.4 support added (#63)
Browse files Browse the repository at this point in the history
Add support for PHP 8.4 and fix minor documentation linting issues

Signed-off-by: Atul-glo35265 <[email protected]>
  • Loading branch information
Atul-glo35265 authored Oct 11, 2024
1 parent 5485757 commit bd81695
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .laminas-ci.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"ignore_php_platform_requirements": {
"8.3": false
"8.3": false,
"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-http": "^2.15",
"laminas/laminas-servicemanager": "^3.14.0",
"laminas/laminas-stdlib": "^3.10.1"
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.

8 changes: 4 additions & 4 deletions docs/book/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ The `Hostname` route attempts to match the hostname registered in the request
against specific criteria. Typically, this will be in one of the following
forms:

* `subdomain.domain.tld`
* `:subdomain.domain.tld`
- `subdomain.domain.tld`
- `:subdomain.domain.tld`

In the above, the second route would return a "subdomain" key as part of the
route match.
Expand Down Expand Up @@ -356,7 +356,7 @@ You may use any route type as a child route of a `Part` route.
- **Since 3.2.0**
A `Placeholder` route is provided for use by reusable modules. The idea is that a
A `Placeholder` route is provided for use by reusable modules. The idea is that a
module can provide a set of routes anchored by a placeholder route type. The end
consumer can replace this placeholder route with a different route type of their
choosing to customise how the module's routes act within the application as a
Expand Down Expand Up @@ -408,7 +408,7 @@ auth module sit at the route of their domain. If they wish to change the
resource location, they can provide an alternative route type to replace the
`Placeholder` route as part of their own router configuration. As an example:

```php
```php
return [
'auth' => [
'type' => \Laminas\Mvc\Router\Http\Literal::class,
Expand Down

0 comments on commit bd81695

Please sign in to comment.