Skip to content

Releases: php-deal/framework

First major

27 Jan 09:47
Compare
Choose a tag to compare

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
  • 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

22 Jan 21:57
Compare
Choose a tag to compare

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

18 Jan 05:56
078ca37
Compare
Choose a tag to compare

Add new annotation: Inherit
Allows to inherit all parent contracts.

Version 0.4.1 of Php-Deal Framework

03 Apr 18:02
Compare
Choose a tag to compare

This release allows to verify contract inheritance, see #9, #10. Thanks to @pdaw.

Version 0.3.0 of Php-Deal Framework

20 Mar 19:38
Compare
Choose a tag to compare

Minor release with new functionality: integration with beberlei/assert assertion library #3

Version 0.2.0 of Php-Deal Framework

20 Mar 18:42
Compare
Choose a tag to compare

New version with updated dependency, PHP7 support and tests!