Skip to content

Releases: BapCat/Facade

5.0

28 May 19:57
Compare
Choose a tag to compare

Fix global namespace imports

28 Mar 20:08
Compare
Choose a tag to compare

Detecting global namespace imports relied on not finding a backslash, but this no longer works in newer version of PHP. With this patch, they are now detected with a regex.

Fix PHP Version Constraint

19 Oct 15:52
d61540d
Compare
Choose a tag to compare

Allows PHP ^7.4|^8.0

PHP 7.4/8+ Support

19 Feb 23:09
5952e84
Compare
Choose a tag to compare

This release officially supports PHP 7.4 and PHP 8.0+. Support for older versions is officially dropped.

PHP 7.4 Support

05 Aug 17:38
c97e60c
Compare
Choose a tag to compare

This is simply a patch to address a warning when running on PHP 7.4

Fix generation with "self" return types

04 Dec 14:53
d3b3c58
Compare
Choose a tag to compare
Merge pull request #11 from BapCat/master.#10.resolve-return-self

[#10] Resolve self return types

Improved Facade Generation

03 Dec 12:18
db15c1f
Compare
Choose a tag to compare

The facade generator will now attempt to restructure parameters and return types, and resolve @inheritdoc annotations upwards. Rather than simply using variadic arrays and unpacking them when passing to the wrapped method, it will build facade methods with matching signatures.

Update to PHP 7.1+

04 Jan 15:29
97edb7c
Compare
Choose a tag to compare

This release adds official support for PHP 7.1+ and drops support for all previous versions.

[Fix] Don't pull in magic methods

11 Jun 13:12
f336b51
Compare
Choose a tag to compare

We were getting fatal errors if a facade wrapped a class that had a magic method (eg. __set). This update ignores all methods that begin with __.

Don't restrict bindings to class names

07 May 15:43
Compare
Choose a tag to compare

Bindings can be anything that the IoC container can instantiate