Skip to content

Commit

Permalink
Feature: updated requirements to PHP8
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrankruijter committed Apr 3, 2021
1 parent fad26fe commit a8548d7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"prefer-stable": true,
"minimum-stability": "stable",
"require": {
"php": "^7.3",
"ulrack/cli-application": "^1.0",
"ulrack/web-application": "^2.1"
"php": "^8.0",
"ulrack/cli-application": "^2.0",
"ulrack/web-application": "^2.2"
},
"config": {
"sort-packages": true
Expand All @@ -40,7 +40,7 @@
]
},
"require-dev": {
"phpunit/phpunit": "^9.3",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.5"
}
}
6 changes: 4 additions & 2 deletions configuration/services/endpoints.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"default.endpoint": {
"class": "\\MyVendor\\MyProject\\Component\\Endpoint\\DefaultEndpoint"
"services": {
"default.endpoint": {
"class": "\\MyVendor\\MyProject\\Component\\Endpoint\\DefaultEndpoint"
}
}
}
12 changes: 10 additions & 2 deletions configuration/services/routers.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
{
"default.router": {
"class": "\\MyVendor\\MyProject\\Component\\Router\\DefaultRouter"
"services": {
"default.router": {
"class": "\\MyVendor\\MyProject\\Component\\Router\\DefaultRouter"
}
},
"tags": {
"register.default.router": {
"trigger": "triggers.web.main.routers",
"service": "services.default.router"
}
}
}
6 changes: 0 additions & 6 deletions configuration/tags/routers.tags.json

This file was deleted.

0 comments on commit a8548d7

Please sign in to comment.