From 4f5596dfd6b9203e6d12640380e28a509318368d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaros=C5=82aw=20K=C5=82opotek=20-=20INTERDUO?= Date: Fri, 23 Feb 2024 11:18:52 +0100 Subject: [PATCH] improvement: add phpcompatibility check for phpcodesniffer in -dev --- composer.json | 3 ++- phpcs3.xml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c61aace868..4bcc3f6756 100644 --- a/composer.json +++ b/composer.json @@ -158,7 +158,8 @@ }, "require-dev": { "phpunit/phpunit": "*", - "squizlabs/php_codesniffer": "*" + "squizlabs/php_codesniffer": "*", + "phpcompatibility/php-compatibility": "^9.3" }, "autoload": { "classmap": ["lib/", "plugins/"] diff --git a/phpcs3.xml b/phpcs3.xml index 0554400eb8..16b442b7fe 100644 --- a/phpcs3.xml +++ b/phpcs3.xml @@ -6,6 +6,8 @@ + + */vendor/* */templates_c/* @@ -18,4 +20,5 @@ +