Skip to content

Commit 36a38f4

Browse files
authored
Merge pull request #85 from Yoast/feature/changelog-1.0.4
Changelog for release 1.0.4
2 parents bc94bdd + 696d195 commit 36a38f4

File tree

3 files changed

+27
-4
lines changed

3 files changed

+27
-4
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@ This projects adheres to [Keep a CHANGELOG](http://keepachangelog.com/) and uses
99

1010
_Nothing yet._
1111

12+
## [1.0.4] - 2022-11-16
13+
14+
This is a maintenance release.
15+
16+
### Changed
17+
* The `Yoast\PHPUnitPolyfills\Autoload` class is now `final`. PR [#77].
18+
* README: clear up minor language confusion. Props [Phil E. Taylor] and [fredericgboutin-yapla] for pointing it out.
19+
* README: fix links which were broken due to an upstream branch rename. PR [#80].
20+
* Verified PHP 8.2 compatibility.
21+
* General housekeeping.
22+
23+
[#77]: https://github.com/Yoast/PHPUnit-Polyfills/pull/77
24+
[#80]: https://github.com/Yoast/PHPUnit-Polyfills/pull/80
25+
26+
1227
## [1.0.3] - 2021-11-23
1328

1429
### Changed
@@ -111,6 +126,7 @@ Initial release.
111126

112127

113128
[Unreleased]: https://github.com/Yoast/PHPUnit-Polyfills/compare/main...HEAD
129+
[1.0.4]: https://github.com/Yoast/PHPUnit-Polyfills/compare/1.0.3...1.0.4
114130
[1.0.3]: https://github.com/Yoast/PHPUnit-Polyfills/compare/1.0.2...1.0.3
115131
[1.0.2]: https://github.com/Yoast/PHPUnit-Polyfills/compare/1.0.1...1.0.2
116132
[1.0.1]: https://github.com/Yoast/PHPUnit-Polyfills/compare/1.0.0...1.0.1
@@ -119,8 +135,10 @@ Initial release.
119135
[0.1.0]: https://github.com/Yoast/PHPUnit-Polyfills/compare/e8f8b7a73737aa9a5974bd9c73d2bd8d09f69873...0.1.0
120136

121137
[Alain Schlesser]: https://github.com/schlessera
138+
[fredericgboutin-yapla]: https://github.com/fredericgboutin-yapla
122139
[Gary Jones]: https://github.com/GaryJones
123140
[Marc Siegrist]: https://github.com/mergeMarc
124141
[Mark Baker]: https://github.com/MarkBaker
125142
[Pascal Birchler]: https://github.com/swissspidy
143+
[Phil E. Taylor]: https://github.com/PhilETaylor
126144
[Pierre Gordon]: https://github.com/pierlon

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ PHPUnit Polyfills
66
[![Lint Build Status](https://github.com/Yoast/PHPUnit-Polyfills/actions/workflows/lint.yml/badge.svg)](https://github.com/Yoast/PHPUnit-Polyfills/actions/workflows/lint.yml)
77
[![Test Build Status](https://github.com/Yoast/PHPUnit-Polyfills/actions/workflows/test.yml/badge.svg)](https://github.com/Yoast/PHPUnit-Polyfills/actions/workflows/test.yml)
88
[![Minimum PHP Version](https://img.shields.io/packagist/php-v/yoast/phpunit-polyfills.svg?maxAge=3600)](https://packagist.org/packages/yoast/phpunit-polyfills)
9-
[![License: BSD3](https://poser.pugx.org/yoast/phpunit-polyfills/license)](https://github.com/Yoast/PHPUnit-Polyfills/blob/master/LICENSE)
9+
[![License: BSD3](https://poser.pugx.org/yoast/phpunit-polyfills/license)](https://github.com/Yoast/PHPUnit-Polyfills/blob/main/LICENSE)
1010

1111

1212
Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests.
1313

1414
* [Requirements](#requirements)
15+
- [Autoloading](#autoloading)
1516
* [Installation](#installation)
1617
* [Why use the PHPUnit Polyfills?](#why-use-the-phpunit-polyfills)
1718
* [Using this library](#using-this-library)
@@ -47,7 +48,11 @@ To update this package, run:
4748
composer update --dev yoast/phpunit-polyfills --with-dependencies
4849
```
4950

50-
Make sure to either use the Composer `vendor/autoload.php` file _as_ your test bootstrap file; òr require the `vendor/yoast/phpunit-polyfills/phpunitpolyfills-autoload.php` file _in_ your test bootstrap.
51+
### Autoloading
52+
53+
Make sure to:
54+
* Either use the Composer `vendor/autoload.php` file _as_ your test bootstrap file;
55+
* Or require the `vendor/yoast/phpunit-polyfills/phpunitpolyfills-autoload.php` file _in_ your test bootstrap.
5156

5257

5358
Why use the PHPUnit Polyfills?
@@ -321,7 +326,7 @@ Polyfills the following methods:
321326
| `TestCase::`[`expectNotice()`] | [`expectNoticeMessage()`] | [`expectNoticeMessageMatches()`] |
322327
| `TestCase::`[`expectDeprecation()`] | [`expectDeprecationMessage()`] | [`expectDeprecationMessageMatches()`] |
323328

324-
These method were introduced in PHPUnit 8.4.0 as alternatives to using `TestCase::expectException()` et al for expecting PHP native errors, warnings and notices.
329+
These methods were introduced in PHPUnit 8.4.0 as alternatives to using `TestCase::expectException()` et al for expecting PHP native errors, warnings and notices.
325330
Using `TestCase::expectException*()` for testing PHP native notices was soft deprecated in PHPUnit 8.4.0, hard deprecated (warning) in PHPUnit 9.0.0 and (will be) removed in PHPUnit 10.0.0.
326331

327332
[`expectError()`]: https://phpunit.readthedocs.io/en/main/writing-tests-for-phpunit.html#testing-php-errors-warnings-and-notices

phpunitpolyfills-autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ final class Autoload {
1717
*
1818
* @var string
1919
*/
20-
const VERSION = '1.0.3';
20+
const VERSION = '1.0.4';
2121

2222
/**
2323
* Loads a class.

0 commit comments

Comments
 (0)