diff options
| author | Asko Nõmm <asko@nth.ee> | 2024-11-10 22:47:21 +0200 |
|---|---|---|
| committer | Asko Nõmm <asko@nth.ee> | 2024-11-10 22:47:21 +0200 |
| commit | 882741f201426fa1ae39b461b7ba5bd8db6a77dc (patch) | |
| tree | 6be778702d602c7f2090cd5b1390b3869486b8ad | |
| parent | f662aa25495f2b1a8d5c9f368b99bd437f12002f (diff) | |
Add phpunit.xml
| -rw-r--r-- | .github/workflows/coverage.yml | 2 | ||||
| -rw-r--r-- | composer.json | 5 | ||||
| -rw-r--r-- | phpunit.xml | 2 |
3 files changed, 3 insertions, 6 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a9633a8..f9ea7ec 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -19,7 +19,7 @@ jobs: uses: php-actions/composer@v6 - name: Run tests and collect coverage - run: ./vendor/bin/phpunit tests --coverage-clover coverage.xml . + run: ./vendor/bin/phpunit ./tests --coverage-clover coverage.xml . - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 diff --git a/composer.json b/composer.json index 4ee9199..c5172f0 100644 --- a/composer.json +++ b/composer.json @@ -6,10 +6,7 @@ "autoload": { "psr-4": { "Asko\\Loggr\\": "src/" - }, - "classmap": [ - "src/" - ] + } }, "autoload-dev": { "psr-4": { diff --git a/phpunit.xml b/phpunit.xml index e68d9d8..297f478 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd" bootstrap="vendor/autoload.php" cacheDirectory=".phpunit.cache" executionOrder="depends,defects" |
