All notable changes are documented in this file using the Keep a CHANGELOG principles.
4.0.1 - 2024-07-03
- This project now uses PHPStan instead of Psalm for static analysis
4.0.0 - 2024-02-02
- This component now requires PHP-Parser 5
- This component is no longer supported on PHP 8.1
3.2.0 - 2023-12-21
ComplexityCollection::sortByDescendingCyclomaticComplexity()
- Support for
match
arms
- This component is now compatible with
nikic/php-parser
5.0
3.1.0 - 2023-09-28
Complexity::isFunction()
andComplexity::isMethod()
ComplexityCollection::isFunction()
andComplexityCollection::isMethod()
ComplexityCollection::mergeWith()
- Anonymous classes are not processed correctly
3.0.1 - 2023-08-31
- #7:
ComplexityCalculatingVisitor
tries to process interface methods
3.0.0 - 2023-02-03
- This component is no longer supported on PHP 7.3, PHP 7.4 and PHP 8.0
2.0.2 - 2020-10-26
SebastianBergmann\Complexity\Exception
now correctly extends\Throwable
2.0.1 - 2020-09-28
- Changed PHP version constraint in
composer.json
from^7.3 || ^8.0
to>=7.3
2.0.0 - 2020-07-25
- The
ParentConnectingVisitor
has been removed (it should have been marked as@internal
)
1.0.0 - 2020-07-22
- Initial release