Skip to content

Commit

Permalink
Add PHP 8.4 support. Remove PHP 7.* support.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivopetkov committed Jan 4, 2025
1 parent 61248ff commit 2ccca80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'IvoPetkov\HTMLServerComponentsCompiler' => __DIR__ . '/src/HTMLServerComponentsCompiler.php'
);

spl_autoload_register(function ($class) use ($classes) {
spl_autoload_register(function ($class) use ($classes): void {
if (isset($classes[$class])) {
require $classes[$class];
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
],
"require": {
"php": "7.0.*|7.1.*|7.2.*|7.3.*|7.4.*|8.0.*|8.1.*|8.2.*|8.3.*",
"php": "8.0.*|8.1.*|8.2.*|8.3.*|8.4.*",
"ivopetkov/html5-dom-document-php": "^2.5"
},
"require-dev": {
Expand Down

0 comments on commit 2ccca80

Please sign in to comment.