From 1562c0ea59ac04fd725bd0bd6f3a541338aa989a Mon Sep 17 00:00:00 2001 From: Marco van 't Wout Date: Mon, 25 Nov 2024 17:15:29 +0100 Subject: [PATCH 1/2] Update README.md for PHP 8 --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 91581c4..8fb88ac 100644 --- a/README.md +++ b/README.md @@ -148,17 +148,21 @@ No PECL extensions is required. The [Go! AOP](http://go.aopphp.com/) library doe ## Requirements -* `PHP 7.4`. -* `Go! AOP 3.0` +* `PHP 8` +* `Go! AOP 4.x` ## Installation ### 1. Add aspect-mock to your composer.json. +(lines with goaop @dev are needed depending on the `minimum-stability` in your composer settings) + ``` { "require-dev": { - "codeception/aspect-mock": "*" + "codeception/aspect-mock": "*", + "goaop/framework": "@dev", + "goaop/parser-reflection": "@dev" } } ``` From e010b6e7c2b986ec6668a94f0479dd8b834d64db Mon Sep 17 00:00:00 2001 From: Marco van 't Wout Date: Tue, 26 Nov 2024 13:51:01 +0100 Subject: [PATCH 2/2] Specify exact minimum PHP version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8fb88ac..168a819 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ No PECL extensions is required. The [Go! AOP](http://go.aopphp.com/) library doe ## Requirements -* `PHP 8` +* `PHP 8.2+` * `Go! AOP 4.x` ## Installation