Tags · lstrojny/functional-php · GitHub
Skip to content

Tags: lstrojny/functional-php

Tags

1.18.0

Toggle 1.18.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
PHP 8.4 migration (#257)

* Explicitly mark all nullable parameters

This removes the deprecations introduced in PHP 8.4

* Make iterator return types match Iterator

PHP 8.4 makes not doing so a deprecation.

* Skip tesetErrorIsThrownAsException for PHP >= 8.4

PHP 8.4 deprecates the use of E_USER_ERROR. This can mangle the exception thrown. So, skip the test
in PHP 8.4. It may be possible to fix up what's being thrown, but I haven't found anything.

Since using trigger_error for user errors is now deprecated, error_to_exception() should probably be
deprecated as well. But that's a greater decision than making sure tests work correctly.

* Fix message matching in RepeatTest::testNegativeRepeatedtimes

PHP 8.4 has changed the format of __FUNCTION__ for closures, at least.

* Force doubles to ints in group()

PHP 8.4 deprecates the implicit conversion from doubles to ints when doing so would lose precision.
However, disallowing doubles as array keys in Functional would be a BC break.

* update CI matrix and actions

* use E_USER_DEPRECATED instead of E_USER_ERROR in test

* cs fixes

* update workflows

* add test for float keys

* update test workflow

* use the right method for phpunit < 9

* cs-fixer ignore env

* use the right method for phpunit < 9

* run pcov step only for php version 7.1 which uses older version of phpunit

---------

Co-authored-by: Michael D Johnson <mjohnson@pitsco.com>

1.17.0

Toggle 1.17.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Adding FUNDING file

1.16.0

Toggle 1.16.0's commit message

Unverified

The email in this signature doesn’t match the committer email.
Goodbye Travis and thank you @phanan

1.15.0

Toggle 1.15.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #235 from phanan-forks/fix-typo

fix: typo in match() deprecation message

1.14.1

Toggle 1.14.1's commit message

Unverified

The email in this signature doesn’t match the committer email.
Avoid double declaration of Functional\match (e.g. for preloading)

1.14.0

Toggle 1.14.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Prevent hash collisions for object hashing (#225)

1.12.0

Toggle 1.12.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update build matrix (#219)

* Update build matrix

* Fix CS

1.11.0

Toggle 1.11.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Update `invoke_first` & `invoke_last` documentation. (#207)

* Update `invoke_first` & `invoke_last` documentation.

Closes #156.

* Fix coding style errors so build succeeds.

1.10.0

Toggle 1.10.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Add repeat() (#193)

1.9.0

Toggle 1.9.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Fix return type annotation on identical() (#179)