This repository has been archived by the owner on Mar 5, 2023. It is now read-only.
Releases: 8fold/php-foldable
Releases · 8fold/php-foldable
Update PHP dependency
Apply::classNameForFilter, PerformantEqualsTestFilter tests memory usage
- Apply now calls
classNameForFilter
to allow more flexibility when extending Apply. This should not be a breaking change; however, it is recommended that you useclassNameForFilter
and stop usingrootNameSpaceForFilters
. - Beyond speed we have put a first round implementation to test memory usage as well. The default maximum in kilobytes is 10 per
AssertEquals
test.
Improve Apply extensibility
You can now use inheritance to more easily create Filters in extensions through extending Apply.
class MyApply extends Apply
{
static public function rootNameSpaceForFilters()
{
if (parent::filterClassExists($myExtensionFilter) {
return "MyExtension\\NameSpace";
}
return parent::rootNameSpaceForFilters();
}
}
Typo
Ability to retrieve `main` using `main()`
Merge pull request #20 from 8fold/working Working
Initial major release
Using Foldable as the base for multiple projects. Has not required much in the way of changes or added functionality.
TestEqualsPerformance - use first actual result for determining target type
Merge pull request #15 from 8fold/working Use actual when determining target type
Class name of performance tester
Merge pull request #14 from 8fold/working Update TestEqualsPerformance.php
Fix namespace of test class
Merge pull request #13 from 8fold/working Update TestEqualsPerformance.php
Add performance skeleton test case
Merge pull request #12 from 8fold/working Working