From 4b45f8d55673cee3983c4fe24b82735f4f70282b Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Fri, 18 Oct 2024 09:20:53 +0900 Subject: [PATCH 1/3] Update and fix composer json file, phars file --- .phive/phars.xml | 2 +- composer.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.phive/phars.xml b/.phive/phars.xml index e1f29fd0..23d283b6 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -3,7 +3,7 @@ - + diff --git a/composer.json b/composer.json index cbf7ae31..b1d8fe0d 100644 --- a/composer.json +++ b/composer.json @@ -3,10 +3,9 @@ "version": "dev-master", "description": "CoreLibs: Development package", "type": "library", - "config": { - }, "require": { "php": ">=8.1" + }, "require-dev": { "phpstan/phpstan": "^1.10", "phan/phan": "^5.4", From 2e59e50df89b4a58517388858ef41d70ce9f4a70 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Fri, 18 Oct 2024 09:22:02 +0900 Subject: [PATCH 2/3] Set phpstan to max level for update testing --- phpstan.neon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpstan.neon b/phpstan.neon index 63ba4763..687d6cac 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -3,7 +3,7 @@ includes: - phpstan-conditional.php parameters: tmpDir: %currentWorkingDirectory%/tmp/phpstan-corelibs - level: 8 # max is now 9 + level: 9 # max is now 9 checkMissingCallableSignature: true treatPhpDocTypesAsCertain: false strictRules: From 5c461a6feaa5b65fe72c03c3d137fbbf5f79640b Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Fri, 18 Oct 2024 09:29:44 +0900 Subject: [PATCH 3/3] core composer settings update --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b1d8fe0d..3fd7b831 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,8 @@ "phpstan/phpstan": "^1.10", "phan/phan": "^5.4", "phpstan/extension-installer": "^1.2", - "phpstan/phpstan-strict-rules": "^1.5" + "phpstan/phpstan-strict-rules": "^1.6", + "phpunit/phpunit": "^9" }, "config": { "allow-plugins": {