Skip to content

Commit

Permalink
🐛 min required php version 7.4 (not 8.0)
Browse files Browse the repository at this point in the history
closes #71

Signed-off-by: bnomei <b@bnomei.com>
  • Loading branch information
bnomei committed Apr 14, 2022
1 parent 5df91d6 commit 12a9132
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 22 deletions.
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bnomei/kirby3-janitor",
"type": "kirby-plugin",
"version": "2.15.1",
"version": "2.16.0",
"license": "MIT",
"description": "Kirby 3 Plugin for running jobs like cleaning the cache from within the Panel, PHP code or a cronjob",
"authors": [
Expand Down Expand Up @@ -35,9 +35,10 @@
}
},
"require": {
"php": ">=7.3.0",
"php": ">=7.4.0",
"getkirby/composer-installer": "^1.2",
"league/climate": "^3.7",
"symfony/deprecation-contracts": "2.5",
"symfony/finder": "^5.4"
},
"require-dev": {
Expand Down
20 changes: 10 additions & 10 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php return array(
'root' => array(
'pretty_version' => '2.15.1',
'version' => '2.15.1.0',
'pretty_version' => '2.16.0',
'version' => '2.16.0.0',
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -11,8 +11,8 @@
),
'versions' => array(
'bnomei/kirby3-janitor' => array(
'pretty_version' => '2.15.1',
'version' => '2.15.1.0',
'pretty_version' => '2.16.0',
'version' => '2.16.0.0',
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down Expand Up @@ -56,12 +56,12 @@
'dev_requirement' => false,
),
'symfony/deprecation-contracts' => array(
'pretty_version' => 'v3.0.1',
'version' => '3.0.1.0',
'pretty_version' => 'v2.5.0',
'version' => '2.5.0.0',
'type' => 'library',
'install_path' => __DIR__ . '/../symfony/deprecation-contracts',
'aliases' => array(),
'reference' => '26954b3d62a6c5fd0ea8a2a00c0353a14978d05c',
'reference' => '6f981ee24cf69ee7ce9736146d1c57c2780598a8',
'dev_requirement' => false,
),
'symfony/finder' => array(
Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/platform_check.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

$issues = array();

if (!(PHP_VERSION_ID >= 80002)) {
$issues[] = 'Your Composer dependencies require a PHP version ">= 8.0.2". You are running ' . PHP_VERSION . '.';
if (!(PHP_VERSION_ID >= 70400)) {
$issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.';
}

if ($issues) {
Expand Down
2 changes: 1 addition & 1 deletion vendor/symfony/deprecation-contracts/function.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
* @author Nicolas Grekas <p@tchwork.com>
*/
function trigger_deprecation(string $package, string $version, string $message, mixed ...$args): void
function trigger_deprecation(string $package, string $version, string $message, ...$args): void
{
@trigger_error(($package || $version ? "Since $package $version: " : '').($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
}
Expand Down

0 comments on commit 12a9132

Please sign in to comment.