This patch provides support for PHP 8.1, via the following changes:
Adds ~8.1.0 to the list of allowed PHP versions
Changes how the package replaces zend-http
Renames the "replace" section in the packager to "conflict"
Changes the zend-http constraint to "*"
Removes the dependency on laminas-zendframework-bridge
Removes dev requirement on laminas-config; testing can be done with vanilla Traversable classes.
Bumps PHPUnit to 9.5 series
Bumps laminas-stdlib, laminas-uri, laminas-loader, and laminas-validator dependencies to versions known to work with PHP 8.1
Bumps laminas-coding-standard to 2.2 series, and applies the updated rulest
Adds the ReturnTypeWillChange attribute to Headers methods implementing internal interfaces
Provides a variety of small functionality fixes to work with PHP 8.1, primarily by using null coalesce to transform null return values to the appropriate type for str*, preg_*, and other internal methods.
This patch provides support for PHP 8.1, via the following changes:
~8.1.0
to the list of allowed PHP versionsTraversable
classes.ReturnTypeWillChange
attribute toHeaders
methods implementing internal interfacesstr*
,preg_*
, and other internal methods.