diff --git a/composer.json b/composer.json index 5ea5bf9..34ef366 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", @@ -10,7 +9,6 @@ ], "license": "GPL-3.0-or-later", "require": { - "cleantalk/apbct-installer": "*", "cleantalk/http": "*", "cleantalk/helper": "*", "cleantalk/mloader": "*", @@ -18,13 +16,12 @@ }, "require-dev": { "vimeo/psalm": "^4.8", - "phpunit/phpunit": "^7.5", + "phpunit/phpunit": "^8.5.52", "squizlabs/php_codesniffer": "3.*", "phpcompatibility/php-compatibility": "^9.3" }, "config": { "allow-plugins": { - "cleantalk/apbct-installer": true, "dealerdirect/phpcodesniffer-composer-installer": true } }, @@ -36,5 +33,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\\": "/" + } } } 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 +