diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 4d73c14e..87764e11 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -70,11 +70,15 @@ jobs: run: composer check-code - name: Run test suite - if: ${{ matrix.php != '8.1'}} - run: composer test-cov + run: composer test - - name: Run test suite (with coverage) - if: ${{ matrix.php == '8.1'}} - run: | - composer test-cov - composer test-cov-upload +# - name: Run test suite +# if: ${{ matrix.php != '8.1'}} +# run: composer test-cov + +# - name: Run test suite (with coverage) +# if: ${{ matrix.php == '8.1'}} +# run: | +# wget https://scrutinizer-ci.com/ocular.phar +# composer test-cov +# composer test-cov-upload diff --git a/composer.json b/composer.json index da478ad1..1c421ec9 100644 --- a/composer.json +++ b/composer.json @@ -64,7 +64,7 @@ "XDEBUG_MODE=coverage \"vendor/bin/phpunit\" --coverage-clover clover.xml" ], "test-cov-upload": [ - "wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover clover.xml" + "@php ocular.phar code-coverage:upload --format=php-clover clover.xml" ] }, "config": { diff --git a/src/Entities/ReactionType/Factory.php b/src/Entities/ReactionType/Factory.php index d7cb8cab..f61cf368 100644 --- a/src/Entities/ReactionType/Factory.php +++ b/src/Entities/ReactionType/Factory.php @@ -2,7 +2,6 @@ namespace Longman\TelegramBot\Entities\ReactionType; -use Longman\TelegramBot\Entities\ChatMember\ReactionTypeNotImplemented; use Longman\TelegramBot\Entities\Entity; class Factory extends \Longman\TelegramBot\Entities\Factory diff --git a/src/Entities/ReactionType/ReactionTypeNotImplemented.php b/src/Entities/ReactionType/ReactionTypeNotImplemented.php index 8b5e4abc..26fab61e 100644 --- a/src/Entities/ReactionType/ReactionTypeNotImplemented.php +++ b/src/Entities/ReactionType/ReactionTypeNotImplemented.php @@ -1,9 +1,8 @@