diff --git a/.idea/runConfigurations/coverage_linux.xml b/.idea/runConfigurations/coverage_linux.xml new file mode 100644 index 0000000..cf75899 --- /dev/null +++ b/.idea/runConfigurations/coverage_linux.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/composer.json b/composer.json index 3da251d..31083f2 100644 --- a/composer.json +++ b/composer.json @@ -22,27 +22,27 @@ }], "scripts": { "docs": "phpDocumentor.phar", - "test": "vendor/bin/phpunit --bootstrap vendor/autoload.php --configuration phpunit.xml --testsuite main", - "coverage_linux": "export XDEBUG_MODE=coverage && vendor/bin/phpunit --bootstrap vendor/autoload.php --configuration coverage.xml --testsuite main", - "coverage_windows": "setlocal xdebug.mode=coverage && %cd%/vendor/bin/phpunit --bootstrap vendor/autoload.php --configuration coverage.xml --testsuite main" + "coverage_linux": "export XDEBUG_MODE=coverage && vendor/bin/phpunit --bootstrap vendor/autoload.php --configuration phpunit.xml --testsuite main", + "coverage_windows": "setlocal xdebug.mode=coverage && %cd%/vendor/bin/phpunit --bootstrap vendor/autoload.php --configuration phpunit.xml --testsuite main", + "test": "vendor/bin/phpunit --bootstrap vendor/autoload.php --configuration phpunit.xml --testsuite main" }, "scripts-descriptions": { - "docs": "Generate docs", - "test": "Run PHPUnit tests", + "docs": "Generate code documentation with phpDocumentor", "coverage_linux": "Run PHPUnit tests with code coverage on Linux", - "coverage_windows": "Run PHPUnit tests with code coverage on Windows" + "coverage_windows": "Run PHPUnit tests with code coverage on Windows", + "test": "Run PHPUnit tests" }, "require": { "php": ">=8.0", "ext-json": "*", "ext-curl": "*", - "phpseclib/phpseclib": "^3.0.20", + "phpseclib/phpseclib": "^3.0.21", "guzzlehttp/guzzle": "^7.7.0", "guzzlehttp/psr7": "^2.5.0", "psr/http-message": "^2.0" }, "require-dev": { - "phpunit/phpunit": "^9.6.9", + "phpunit/phpunit": "^9.6.10", "phpunit/php-code-coverage": "^9.2.26", "jetbrains/phpstorm-attributes": "^1.0", "monolog/monolog": "^1.27.1" diff --git a/coverage.xml b/coverage.xml deleted file mode 100644 index 6148f5b..0000000 --- a/coverage.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - src - - - - - - - - - - tests - - - - - - - - diff --git a/phpunit.xml b/phpunit.xml index ad730ea..354600c 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -20,6 +20,18 @@ - + + + ./src + + + + + + + + + +