Summary: This PR adds support for PHP 8.0 to doctrine/doctrine-laminas-hydrator.
Changes:
The require-dev section contained the two packages laminas/laminas-filter and laminas/laminas-servicemanager. However, no code from these packages is used in the unit tests, hence, these packages have been removed from require-dev. This was necessary, since those two packages are not yet PHP 8.0 compatible. Still, code that is not needed should not be required anyways.
Generally, most projects follow the approach of not comitting composer.lock to git for libraries. Neither for doctrine/doctrine-module nor for doctrine/doctrine-orm-module the lock file is commited to git. For sake of consistency, I have removed that file.
The development dependency laminas/laminas-coding-standard has been updated from ^1.0 to ^2.0 to allow for compatibility with PHP 8.0. In consequence, several coding style issues have been raised which have all been fixed. As a side effect, the unit tests have been updated to make use of typed parameters where possible.
Finally, support for PHP 8.0 has been added to composer.json and continues integration for PHP 8.0 has been added to .travis.yml.
BC Breaks: None
Note: Currently, you won't be able to use PHP 8.0 mostly for the reason that DoctrineModule and DoctrineORMModule are not 8.0-compatible yet. However, going step by step I think it is reasonable to add 8.0 support to this package, as this can easily be done first. Since there are no BC breaks I think this could be released as a minor version, i.e. 2.1.1.
Summary: This PR adds support for PHP 8.0 to
doctrine/doctrine-laminas-hydrator
.Changes:
require-dev
section contained the two packageslaminas/laminas-filter
andlaminas/laminas-servicemanager
. However, no code from these packages is used in the unit tests, hence, these packages have been removed fromrequire-dev
. This was necessary, since those two packages are not yet PHP 8.0 compatible. Still, code that is not needed should not be required anyways.composer.lock
to git for libraries. Neither fordoctrine/doctrine-module
nor fordoctrine/doctrine-orm-module
the lock file is commited to git. For sake of consistency, I have removed that file.laminas/laminas-coding-standard
has been updated from^1.0
to^2.0
to allow for compatibility with PHP 8.0. In consequence, several coding style issues have been raised which have all been fixed. As a side effect, the unit tests have been updated to make use of typed parameters where possible.composer.json
and continues integration for PHP 8.0 has been added to.travis.yml
.BC Breaks: None
Note: Currently, you won't be able to use PHP 8.0 mostly for the reason that DoctrineModule and DoctrineORMModule are not 8.0-compatible yet. However, going step by step I think it is reasonable to add 8.0 support to this package, as this can easily be done first. Since there are no BC breaks I think this could be released as a minor version, i.e.
2.1.1
.