From 7fca6245ada86121d92484cccf1bfff3656ba3be Mon Sep 17 00:00:00 2001 From: Glomberg Date: Sun, 21 Dec 2025 16:15:21 +0300 Subject: [PATCH 1/5] Fix. Code. Composer config fixed (package type romoved). --- composer.json | 1 - 1 file changed, 1 deletion(-) diff --git a/composer.json b/composer.json index 5ea5bf9..9229c7b 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,6 @@ { "name": "cleantalk/antispam", "description": "CleanTalk APBCT Antispam classes", - "type": "cleantalk-apbct-lib", "authors": [ { "name": "CleanTalk Team", From a32f1945efcc832ebf16790ae243ec64aaf49adf Mon Sep 17 00:00:00 2001 From: Glomberg Date: Sun, 21 Dec 2025 17:04:19 +0300 Subject: [PATCH 2/5] Fix. Code. Composer config fixed (autoload parameter added). --- composer.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/composer.json b/composer.json index 9229c7b..f720d38 100644 --- a/composer.json +++ b/composer.json @@ -35,5 +35,10 @@ "vendor/bin/psalm --no-cache --config=tests/psalm.xml", "vendor/bin/psalm --no-cache --config=tests/psalm.xml --taint-analysis" ] + }, + "autoload": { + "psr-4": { + "Cleantalk\\Common\\Antispam\\": "/" + } } } From 952165f701c9d4dd364649a9b50baa04776a73de Mon Sep 17 00:00:00 2001 From: Glomberg Date: Thu, 19 Mar 2026 16:48:03 +0300 Subject: [PATCH 3/5] Fix. Code. Composer config fixed (package type romoved). --- composer.json | 5 ++--- tests/bootstrap.php | 26 -------------------------- tests/phpunit.xml | 1 - tests/psalm.xml | 3 +-- 4 files changed, 3 insertions(+), 32 deletions(-) delete mode 100644 tests/bootstrap.php diff --git a/composer.json b/composer.json index f720d38..e97aae9 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,6 @@ ], "license": "GPL-3.0-or-later", "require": { - "cleantalk/apbct-installer": "*", "cleantalk/http": "*", "cleantalk/helper": "*", "cleantalk/mloader": "*", @@ -23,8 +22,8 @@ }, "config": { "allow-plugins": { - "cleantalk/apbct-installer": true, - "dealerdirect/phpcodesniffer-composer-installer": true + "dealerdirect/phpcodesniffer-composer-installer": true, + "cleantalk/apbct-installer": false } }, "scripts": { diff --git a/tests/bootstrap.php b/tests/bootstrap.php deleted file mode 100644 index 39ee1b3..0000000 --- a/tests/bootstrap.php +++ /dev/null @@ -1,26 +0,0 @@ - - \ No newline at end of file + From b8c2dbe2d2c9b01392fb5c319264f63361d3e91c Mon Sep 17 00:00:00 2001 From: Glomberg Date: Thu, 19 Mar 2026 20:47:33 +0300 Subject: [PATCH 4/5] Fix. Code. Composer config updated. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e97aae9..9c07b53 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ }, "require-dev": { "vimeo/psalm": "^4.8", - "phpunit/phpunit": "^7.5", + "phpunit/phpunit": "^8.5.52", "squizlabs/php_codesniffer": "3.*", "phpcompatibility/php-compatibility": "^9.3" }, From 67bdae29d0ee962653f3645af2f712fffbfd82a7 Mon Sep 17 00:00:00 2001 From: Glomberg Date: Fri, 20 Mar 2026 12:21:21 +0300 Subject: [PATCH 5/5] Fix. Code. Composer config fixed. --- composer.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 9c07b53..34ef366 100644 --- a/composer.json +++ b/composer.json @@ -22,8 +22,7 @@ }, "config": { "allow-plugins": { - "dealerdirect/phpcodesniffer-composer-installer": true, - "cleantalk/apbct-installer": false + "dealerdirect/phpcodesniffer-composer-installer": true } }, "scripts": {