Skip to content

Commit c616f15

Browse files
committed
v2.0.0
1 parent 1f83f2e commit c616f15

File tree

3 files changed

+21
-8
lines changed

3 files changed

+21
-8
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "afbora/kirby-minify-html",
33
"description": "Enable minify HTML output for Kirby 3.",
4-
"version": "1.7.1",
4+
"version": "2.0.0",
55
"keywords": [
66
"kirby",
77
"kirby-3",
@@ -22,7 +22,7 @@
2222
"email": "[email protected]"
2323
},
2424
"require": {
25-
"php": "^7.4|^8.0",
25+
"php": "^8.0",
2626
"getkirby/composer-installer": "^1.2",
2727
"voku/html-min": "^4.5"
2828
},

vendor/autoload.php

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,21 @@
33
// autoload.php @generated by Composer
44

55
if (PHP_VERSION_ID < 50600) {
6-
echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
7-
exit(1);
6+
if (!headers_sent()) {
7+
header('HTTP/1.1 500 Internal Server Error');
8+
}
9+
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
10+
if (!ini_get('display_errors')) {
11+
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
12+
fwrite(STDERR, $err);
13+
} elseif (!headers_sent()) {
14+
echo $err;
15+
}
16+
}
17+
trigger_error(
18+
$err,
19+
E_USER_ERROR
20+
);
821
}
922

1023
require_once __DIR__ . '/composer/autoload_real.php';

vendor/composer/installed.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php return array(
22
'root' => array(
33
'name' => 'afbora/kirby-minify-html',
4-
'pretty_version' => '1.7.1',
5-
'version' => '1.7.1.0',
4+
'pretty_version' => '2.0.0',
5+
'version' => '2.0.0.0',
66
'reference' => NULL,
77
'type' => 'kirby-plugin',
88
'install_path' => __DIR__ . '/../../',
@@ -11,8 +11,8 @@
1111
),
1212
'versions' => array(
1313
'afbora/kirby-minify-html' => array(
14-
'pretty_version' => '1.7.1',
15-
'version' => '1.7.1.0',
14+
'pretty_version' => '2.0.0',
15+
'version' => '2.0.0.0',
1616
'reference' => NULL,
1717
'type' => 'kirby-plugin',
1818
'install_path' => __DIR__ . '/../../',

0 commit comments

Comments
 (0)