Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "cleantalk/antispam",
"description": "CleanTalk APBCT Antispam classes",
"type": "cleantalk-apbct-lib",
"authors": [
{
"name": "CleanTalk Team",
Expand All @@ -10,21 +9,19 @@
],
"license": "GPL-3.0-or-later",
"require": {
"cleantalk/apbct-installer": "*",
"cleantalk/http": "*",
"cleantalk/helper": "*",
"cleantalk/mloader": "*",
"cleantalk/cleaner": "*"
},
"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
}
},
Expand All @@ -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\\": "/"
}
}
}
26 changes: 0 additions & 26 deletions tests/bootstrap.php

This file was deleted.

1 change: 0 additions & 1 deletion tests/phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<phpunit
bootstrap="bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
Expand Down
3 changes: 1 addition & 2 deletions tests/psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
name="Psalm for Cleantalk AntiSpam Protection"
autoloader="./bootstrap.php"
errorLevel="3"
throwExceptionOnError="0"
findUnusedCode="true"
Expand All @@ -27,4 +26,4 @@
<directory name="../src" />
</ignoreFiles>
</projectFiles>
</psalm>
</psalm>
Loading