From 2e8a041cd6de0175b2bee16780cc432df7dc6185 Mon Sep 17 00:00:00 2001
From: Paul Water
Date: Wed, 25 Jan 2023 11:53:53 +0100
Subject: [PATCH] Upgrade to PHP 8.1 and higher.
---
.gitignore | 2 ++
composer.json | 14 ++++++++++----
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index c65c3ed..93d6345 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,6 @@
/bin/phing
/build/
/composer.lock
+/custom.task.properties
+/custom.type.properties
/vendor/
diff --git a/composer.json b/composer.json
index 0b9e577..fd990ee 100644
--- a/composer.json
+++ b/composer.json
@@ -6,11 +6,14 @@
],
"license": "MIT",
"require": {
- "php": ">=7.4",
- "symfony/console": "^5.4.16 || ^6.2.2"
+ "php": ">=8.1",
+ "symfony/console": "^6.2.5"
},
+ "minimum-stability": "dev",
+ "prefer-stable": true,
"require-dev": {
- "phing/phing": "^2.17.4"
+ "phing/phing": "^3.0.0-RC3",
+ "phpstan/phpstan": "^1.9.14"
},
"autoload": {
"psr-4": {
@@ -19,6 +22,9 @@
},
"config": {
"bin-dir": "bin/",
- "sort-packages": true
+ "sort-packages": true,
+ "allow-plugins": {
+ "phing/phing-composer-configurator": true
+ }
}
}