diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index a01f3c4..1778b3f 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -155,43 +155,3 @@ jobs: - name: "Run PHPUnit" run: "php vendor/bin/simple-phpunit -v" - - phpunit-composerv2: - name: "PHPUnit with Composer v1 (PHP ${{ matrix.php }})" - runs-on: "ubuntu-latest" - - strategy: - matrix: - php: - - "7.4" - - steps: - - name: "Checkout" - uses: "actions/checkout@v2" - with: - fetch-depth: 2 - - - name: "Install PHP" - uses: "shivammathur/setup-php@v2" - with: - php-version: "${{ matrix.php }}" - coverage: "none" - tools: composer:v1 - extensions: tidy - ini-values: "date.timezone=Europe/Paris" - env: - COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: "Remove useless deps" - run: "composer remove friendsofphp/php-cs-fixer --dev --no-progress --no-update" - - - name: "Install dependencies with Composer" - uses: "ramsey/composer-install@v1" - with: - composer-options: "--optimize-autoloader --prefer-dist" - - - name: "Setup logs" - run: "mkdir -p build/logs" - - - name: "Run PHPUnit" - run: "php vendor/bin/simple-phpunit -v" diff --git a/src/Readability.php b/src/Readability.php index 7450f4d..bb9e9f6 100644 --- a/src/Readability.php +++ b/src/Readability.php @@ -183,9 +183,6 @@ class Readability implements LoggerAwareInterface $this->loadHtml(); } - /** - * @return void - */ public function setLogger(LoggerInterface $logger): void { $this->logger = $logger;