Releases: php-deal/framework
Releases · php-deal/framework
First major
This is the first major release for php-deal/framework. We made some adjustments so that this package could now be used in production.
Changed:
- Dropped support of php < 7.1
- Validation of Contracts:
- An invalid validated contract will no longer raise a
DomainException
- You will now receive a better exception message with which contract was violated with what parameters
- An invalid validated contract will no longer raise a
- Minor performance improvement on how annotations where merged from inheritance
- Added
.gitattributes
to avoid littering your space with useless files
Internal changes:
- Introduces
strict_types
throughout the project - Changed coding style to PSR-12
- Added phpstan for more code quality
- Added type hinting and return types throughout the project
- This made it possible to idenfity some minor issues with unclear return types
- Removed tests which tried to call methods with wrong argument types
Drop php 5.6
With this release, php less than 7.0
will be no longer supported.
Also the previous required package beberlei/assert
is no longer a requirement. It was moved in to dev requirements as well as a suggested package to install.
Feature: Inherit contracts
Add new annotation: Inherit
Allows to inherit all parent contracts.
Version 0.4.1 of Php-Deal Framework
Version 0.3.0 of Php-Deal Framework
Minor release with new functionality: integration with beberlei/assert assertion library #3
Version 0.2.0 of Php-Deal Framework
New version with updated dependency, PHP7 support and tests!