Skip to content

Commit 6ff7f49

Browse files
authored
Merge pull request #393 from dotkernel/issue-298
Issue #298: Bump to PHP 8.4
2 parents 7eb0108 + c2cfddf commit 6ff7f49

File tree

6 files changed

+12
-10
lines changed

6 files changed

+12
-10
lines changed

.github/workflows/codecov.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ jobs:
1717
php:
1818
- "8.2"
1919
- "8.3"
20+
- "8.4"
2021

2122
steps:
2223
- name: Checkout
23-
uses: actions/checkout@v4
24+
uses: actions/checkout@v5
2425

2526
- name: Install PHP
2627
uses: shivammathur/setup-php@v2

.github/workflows/qodana_code_quality.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
checks: write
1717
strategy:
1818
matrix:
19-
php-versions: [ '8.2', '8.3' ]
19+
php-versions: [ '8.2', '8.3', '8.4' ]
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v5
2222
with:
2323
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
2424
fetch-depth: 0 # a full history is required for pull request analysis

.github/workflows/static-analysis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ jobs:
1717
php:
1818
- "8.2"
1919
- "8.3"
20+
- "8.4"
2021

2122
steps:
2223
- name: Checkout
23-
uses: actions/checkout@v4
24+
uses: actions/checkout@v5
2425

2526
- name: Install PHP
2627
uses: shivammathur/setup-php@v2

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@
2828
"process-timeout": 0
2929
},
3030
"require": {
31-
"php": "~8.2.0 || ~8.3.0",
31+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
3232
"dotkernel/dot-cache": "^4.3.0",
3333
"dotkernel/dot-cli": "^3.9.0",
3434
"dotkernel/dot-data-fixtures": "^1.4.0",
3535
"dotkernel/dot-dependency-injection": "^1.2.0",
3636
"dotkernel/dot-errorhandler": "^4.0.0",
3737
"dotkernel/dot-flashmessenger": "^3.6.1",
38-
"dotkernel/dot-geoip": "^3.9.0",
38+
"dotkernel/dot-geoip": "^3.10.1",
3939
"dotkernel/dot-helpers": "^3.8.0",
4040
"dotkernel/dot-mail": "^5.1.5",
4141
"dotkernel/dot-navigation": "^3.5.1",
@@ -53,7 +53,7 @@
5353
"mezzio/mezzio-fastroute": "^3.13.0",
5454
"ramsey/uuid": "^4.5.0",
5555
"ramsey/uuid-doctrine": "^2.1.0",
56-
"roave/psr-container-doctrine": "^5.2.2"
56+
"roave/psr-container-doctrine": "^5.2.2 || ^6.0.0"
5757
},
5858
"require-dev": {
5959
"dotkernel/dot-maker": "^1.0.2",

config/autoload/cli.global.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
'version' => '1.0.0',
1515
'name' => 'Dotkernel CLI',
1616
'commands' => [
17-
RouteListCommand::getDefaultName() => RouteListCommand::class,
18-
GeoIpCommand::getDefaultName() => GeoIpCommand::class,
17+
GeoIpCommand::$defaultName => GeoIpCommand::class,
18+
RouteListCommand::$defaultName => RouteListCommand::class,
1919
],
2020
],
2121
FileLockerInterface::class => [

src/Core/src/App/src/Command/RouteListCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
class RouteListCommand extends Command
3232
{
3333
/** @var string $defaultName */
34-
protected static $defaultName = 'route:list';
34+
public static $defaultName = 'route:list';
3535

3636
#[Inject(
3737
Application::class,

0 commit comments

Comments
 (0)