You need to update your PHP version.
Budgegeria\IntlSort\Comparator\ValueObject
Budgegeria\IntlSort\ComparatorFactory\ValueObject
Budgegeria\IntlSort\ComparatorFactory\SimpleCollator
Budgegeria\IntlSort\Comparator\CollatorConstructor
Either use the standard comparator
$builder = new Builder('en_US', new Standard());
or the already existing static method
$builder = Builder::create('en_US');
- The methods
Builder::keepKeys()
andBuilder::omitKeys()
were added. - New sorter class
Omit
added.
Budgegeria\IntlSort\Comparator\ValueObject
(useBudgegeria\IntlSort\Comparator\CallableAccess
)Budgegeria\IntlSort\ComparatorFactory\ValueObject
(useBudgegeria\IntlSort\ComparatorFactory\CallableAccess
)Budgegeria\IntlSort\ComparatorFactory\SimpleCollator
(useBudgegeria\IntlSort\ComparatorFactory\CallableAccess
)
Budgegeria\IntlSort\Comparator\CollatorConstructor
You need to update your PHP version.
Budgegeria\IntlSort\Collator
, which was extending the intl Collator class got replaced with
Budgegeria\IntlSort\Collator\Collator
. Please adapt your code for this change.
A lot of new type hints and return types were added with the switch to PHP 8. Please adapt your code.
CallableAccess allows to use callables for accessing values to sort:
Budgegeria\IntlSort\Comparator\CallableAccess
Budgegeria\IntlSort\ComparatorFactory\CallableAccess