Skip to content

Releases: memio/model

v3.0.1: PHP 8 and phpspec 7 support

13 Aug 05:56
Compare
Choose a tag to compare
  • added PHP 8 support
  • added phpspec 7 support

PHP 7.2 requirement

25 Feb 13:45
Compare
Choose a tag to compare

Dropped support for PHP <7.2

Other upgrades:

  • upgraded PHP CS Fixer (from 2.10 to 2.16)
  • upgraded phpspec (from 4.3 to 6.1)

BC Breaks - removed deprecated api:

  • removed all make static constructors

Normalized float to double

13 Jun 10:37
Compare
Choose a tag to compare

Normalization from float to double, thanks to @ItsKelsBoys

Updated test suite

13 Jun 10:13
Compare
Choose a tag to compare
2.0.3

Updated test suite

PHP 7.2 support

02 Jan 09:30
5f38746
Compare
Choose a tag to compare

Added support for PHP 7.2, thanks to @roukmoute

BC break: Object has be renamed to Objekt, has it is a reserved keyword.

Released v2.0.0

25 Aug 08:41
Compare
Choose a tag to compare
Released v2.0.0-alpha3

Return type hints

25 Aug 08:41
Compare
Choose a tag to compare
Return type hints Pre-release
Pre-release
  • added return type hints

Fixes

29 Sep 17:09
Compare
Choose a tag to compare
Fixes Pre-release
Pre-release
  • fixed PHPdoc return type hints

PHP 7

21 Sep 08:58
Compare
Choose a tag to compare
PHP 7 Pre-release
Pre-release

Dropped support for PHP < 7.

This means we now can use:

  • scalar type hints
  • return type hints
  • callable type hint, without having to check PHP version

All make static constructor were created for PHP < 5.6, they're
now deprecated. Here's an example of what to use instead:

(new Method('sayHello'))
    ->addArgument(new Argument('string', 'name')))
;

Cancelled FQCN change

01 Dec 17:22
Compare
Choose a tag to compare
  • reverted the FQCN change