From 18d1e5b19bec2466ac4a7aff791c2a384fad60e1 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Mon, 24 Jan 2022 12:37:16 +0100 Subject: [PATCH] Allow to install PHP coding standards on PHP 8 (#169) * Allow to install PHP coding standards on PHP 8 * Update CHANGELOG.md --- CHANGELOG.md | 1 + composer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 199f3d8..5a1e9b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed * PHP: Update slevomat/coding-standard from 7.0.12 to [7.0.18](https://github.com/slevomat/coding-standard/releases/tag/7.0.18). * PHP: Update phpcompatibility/phpcompatibility-wp from 2.1.1 to [2.1.3](https://github.com/PHPCompatibility/PHPCompatibilityWP/releases/tag/2.1.3). +* PHP: Allow to install on PHP 8. ## [2.2.0] - 2021-07-15 diff --git a/composer.json b/composer.json index e9f9670..cbc1a4e 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ "minimum-stability": "dev", "prefer-stable": true, "require": { - "php": "^7.1", + "php": "^7.1 || ^8.0", "phpcompatibility/phpcompatibility-wp": "2.1.3", "sirbrillig/phpcs-variable-analysis": "2.11.2", "slevomat/coding-standard": "7.0.18",