Skip to content

Commit c506b7e

Browse files
authored
Merge pull request #67 from j0k3r/fix/psr-log-void
Fix deprecated message
2 parents 8ce1663 + d0af218 commit c506b7e

File tree

6 files changed

+59
-90
lines changed

6 files changed

+59
-90
lines changed

.github/workflows/coding-standards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
jobs:
1515
coding-standards:
1616
name: "CS Fixer & PHPStan"
17-
runs-on: "ubuntu-18.04"
17+
runs-on: "ubuntu-20.04"
1818

1919
strategy:
2020
matrix:

.github/workflows/continuous-integration.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
jobs:
1515
phpunit:
1616
name: "PHPUnit (PHP ${{ matrix.php }})"
17-
runs-on: "ubuntu-18.04"
17+
runs-on: "ubuntu-20.04"
1818

1919
strategy:
2020
matrix:
@@ -25,6 +25,7 @@ jobs:
2525
- "7.2"
2626
- "7.3"
2727
- "7.4"
28+
- "8.0"
2829

2930
steps:
3031
- name: "Checkout"
@@ -65,7 +66,7 @@ jobs:
6566

6667
phpunit-coverage:
6768
name: "PHPUnit coverage (PHP ${{ matrix.php }})"
68-
runs-on: "ubuntu-18.04"
69+
runs-on: "ubuntu-20.04"
6970

7071
strategy:
7172
matrix:
@@ -118,7 +119,7 @@ jobs:
118119

119120
phpunit-lowest:
120121
name: "PHPUnit lowest deps (PHP ${{ matrix.php }})"
121-
runs-on: "ubuntu-18.04"
122+
runs-on: "ubuntu-20.04"
122123

123124
strategy:
124125
matrix:
@@ -161,7 +162,7 @@ jobs:
161162

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

166167
strategy:
167168
matrix:

.travis.yml

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

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Readability
22

33
![CI](https://github.com/j0k3r/php-readability/workflows/CI/badge.svg)
4-
[![Build Status](https://travis-ci.org/j0k3r/php-readability.svg?branch=master)](https://travis-ci.org/j0k3r/php-readability)
54
[![Coverage Status](https://coveralls.io/repos/j0k3r/php-readability/badge.svg?branch=master&service=github)](https://coveralls.io/github/j0k3r/php-readability/?branch=master)
65
[![Total Downloads](https://poser.pugx.org/j0k3r/php-readability/downloads)](https://packagist.org/packages/j0k3r/php-readability)
76
[![License](https://poser.pugx.org/j0k3r/php-readability/license)](https://packagist.org/packages/j0k3r/php-readability)

src/Readability.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ public function __construct($html, $url = null, $parser = 'libxml', $use_tidy =
187187
$this->loadHtml();
188188
}
189189

190+
/**
191+
* @return void
192+
*/
190193
public function setLogger(LoggerInterface $logger)
191194
{
192195
$this->logger = $logger;

0 commit comments

Comments
 (0)