Skip to content

Commit 606669c

Browse files
Removes the QueueLockRepository and Consumer declaration (#17)
* Removes the QueueLockRepository and Consumer.php declaration rewrite * Removes the PHPUnit code coverage pipeline step
1 parent 9a3ac6d commit 606669c

File tree

7 files changed

+1
-117
lines changed

7 files changed

+1
-117
lines changed

.github/workflows/test_extension.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,3 @@ jobs:
8080

8181
- name: PHP Unit
8282
run: composer test
83-
84-
- name: phpunit-coverage-badge
85-
uses: timkrase/phpunit-coverage-badge@v1.2.1
86-
with:
87-
report: reports/test-reports/clover.xml
88-
coverage_badge_path: output/coverage.svg
89-
push_badge: true
90-
commit_message: "Update coverage badge"
91-
repo_token: ${{ secrets.GITHUB_TOKEN }}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@
6363
"sniffer": "vendor/bin/phpcs --colors -p ./src --standard=phpcs-ruleset.xml",
6464
"fix-style": "vendor/bin/phpcbf --colors -p ./src --standard=phpcs-ruleset.xml",
6565
"sniffer:php8.1": "vendor/bin/phpcs -p ./src --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.1",
66-
"mess-detector": "vendor/bin/phpmd src html phpmd-ruleset.xml --exclude \"Test,src/Queue/Consumer.php\" --strict --reportfile reports/phpmd/phpmd.html"
66+
"mess-detector": "vendor/bin/phpmd src html phpmd-ruleset.xml --exclude \"Test\" --strict --reportfile reports/phpmd/phpmd.html"
6767
}
6868
}

phpstan.neon.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ parameters:
55
excludePaths:
66
analyseAndScan:
77
- src/Test
8-
- src/Queue/Consumer.php
98
ignoreErrors:
109
- '#Method .*construct\(\) has parameter \$data with no value type specified in iterable type array#'
1110

src/Repository/Command/DeleteQueueLockByIdCommand.php

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/Repository/QueueLockRepository.php

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/Test/Unit/Repository/Command/DeleteQueueLockByIdCommandTest.php

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/Test/Unit/Repository/QueueLockRepositoryTest.php

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)