Skip to content

Commit

Permalink
Merge pull request #67 from j0k3r/fix/psr-log-void
Browse files Browse the repository at this point in the history
Fix deprecated message
  • Loading branch information
j0k3r authored Nov 29, 2021
2 parents 8ce1663 + d0af218 commit c506b7e
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 90 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
jobs:
coding-standards:
name: "CS Fixer & PHPStan"
runs-on: "ubuntu-18.04"
runs-on: "ubuntu-20.04"

strategy:
matrix:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
jobs:
phpunit:
name: "PHPUnit (PHP ${{ matrix.php }})"
runs-on: "ubuntu-18.04"
runs-on: "ubuntu-20.04"

strategy:
matrix:
Expand All @@ -25,6 +25,7 @@ jobs:
- "7.2"
- "7.3"
- "7.4"
- "8.0"

steps:
- name: "Checkout"
Expand Down Expand Up @@ -65,7 +66,7 @@ jobs:

phpunit-coverage:
name: "PHPUnit coverage (PHP ${{ matrix.php }})"
runs-on: "ubuntu-18.04"
runs-on: "ubuntu-20.04"

strategy:
matrix:
Expand Down Expand Up @@ -118,7 +119,7 @@ jobs:

phpunit-lowest:
name: "PHPUnit lowest deps (PHP ${{ matrix.php }})"
runs-on: "ubuntu-18.04"
runs-on: "ubuntu-20.04"

strategy:
matrix:
Expand Down Expand Up @@ -161,7 +162,7 @@ jobs:

phpunit-composerv2:
name: "PHPUnit with Composer v2 (PHP ${{ matrix.php }})"
runs-on: "ubuntu-18.04"
runs-on: "ubuntu-20.04"

strategy:
matrix:
Expand Down
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Readability

![CI](https://github.com/j0k3r/php-readability/workflows/CI/badge.svg)
[![Build Status](https://travis-ci.org/j0k3r/php-readability.svg?branch=master)](https://travis-ci.org/j0k3r/php-readability)
[![Coverage Status](https://coveralls.io/repos/j0k3r/php-readability/badge.svg?branch=master&service=github)](https://coveralls.io/github/j0k3r/php-readability/?branch=master)
[![Total Downloads](https://poser.pugx.org/j0k3r/php-readability/downloads)](https://packagist.org/packages/j0k3r/php-readability)
[![License](https://poser.pugx.org/j0k3r/php-readability/license)](https://packagist.org/packages/j0k3r/php-readability)
Expand Down
3 changes: 3 additions & 0 deletions src/Readability.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ public function __construct($html, $url = null, $parser = 'libxml', $use_tidy =
$this->loadHtml();
}

/**
* @return void
*/
public function setLogger(LoggerInterface $logger)
{
$this->logger = $logger;
Expand Down
Loading

0 comments on commit c506b7e

Please sign in to comment.