Upgrading yoast/phpunit-polyfills 3 to 4
Breaking3.1.2 → 4.0.0Breaking3Platform1Changed4Other1
BreakingUpgrade verdict
1 breaking change and a platform requirement change.
In plain terms
- Removes the Yoast\PHPUnitPolyfills\Polyfills\AssertIsType trait, no longer needed now PHPUnit < 7.5 support is dropped.
- The package now requires PHP 7.1 or newer.
Must act 2 items need code or config changes
PHP requirement changed in 4.0.0: >=7.0 → >=7.1.
What you must change
Breaking1
Removes the Yoast\PHPUnitPolyfills\Polyfills\AssertIsType trait, no longer needed now PHPUnit < 7.5 support is dropped.
Yoast\PHPUnitPolyfills\Polyfills\AssertIsTypeYoast\PHPUnitPolyfills\Polyfills\AssertStringContainsYoast\PHPUnitPolyfills\Polyfills\AssertEqualsSpecializationsPlatform1
Removes support for PHP versions below 7.1.
API changes
Generated by DepDelta from published PHP source. Not mixed with prose notes.
- removed:
static method Autoload.loadAssertEqualsSpecializations() - removed:
static method Autoload.loadAssertIsType() - removed:
static method Autoload.loadAssertStringContains() - changed:
static method Autoload.getPHPUnitVersion() → static method Autoload.getPHPUnitVersion(): string - changed:
static method Autoload.load($className) → static method Autoload.load(string $className): bool - changed:
static method Autoload.loadAssertArrayWithListKeys() → static method Autoload.loadAssertArrayWithListKeys(): void - changed:
static method Autoload.loadAssertClosedResource() → static method Autoload.loadAssertClosedResource(): void - changed:
static method Autoload.loadAssertContainsOnly() → static method Autoload.loadAssertContainsOnly(): void - changed:
static method Autoload.loadAssertFileEqualsSpecializations() → static method Autoload.loadAssertFileEqualsSpecializations(): void - changed:
static method Autoload.loadAssertIgnoringLineEndings() → static method Autoload.loadAssertIgnoringLineEndings(): void - changed:
static method Autoload.loadAssertIsList() → static method Autoload.loadAssertIsList(): void - changed:
static method Autoload.loadAssertObjectEquals() → static method Autoload.loadAssertObjectEquals(): void - changed:
static method Autoload.loadAssertObjectNotEquals() → static method Autoload.loadAssertObjectNotEquals(): void - changed:
static method Autoload.loadAssertObjectProperty() → static method Autoload.loadAssertObjectProperty(): void - changed:
static method Autoload.loadAssertionRenames() → static method Autoload.loadAssertionRenames(): void - changed:
static method Autoload.loadEqualToSpecializations() → static method Autoload.loadEqualToSpecializations(): void - changed:
static method Autoload.loadExpectExceptionMessageMatches() → static method Autoload.loadExpectExceptionMessageMatches(): void - changed:
static method Autoload.loadExpectUserDeprecation() → static method Autoload.loadExpectUserDeprecation(): void - changed:
static method Autoload.loadTestCase() → static method Autoload.loadTestCase(): void - changed:
static method Autoload.loadTestListenerDefaultImplementation() → static method Autoload.loadTestListenerDefaultImplementation(): void