Skip to content

PHP8.2+ support#32

Open
redcuillin wants to merge 7 commits intoscriptotek:mainfrom
redcuillin:main
Open

PHP8.2+ support#32
redcuillin wants to merge 7 commits intoscriptotek:mainfrom
redcuillin:main

Conversation

@redcuillin
Copy link
Copy Markdown

@redcuillin redcuillin commented Apr 21, 2026

In case it is useful, changes here provide basic PHP8.2 support.

Also added a method to support fields by tag inside a record.

…roved PHP 8.4 compatibility. Update .gitignore to include .phpunit.result.cache.
…values. Implemented `sorter` method to order records by a specified control field tag, defaulting to '001'. Added tests to verify sorting behavior and handle cases with missing control fields. Included sample XML data for testing.
…and adding sortFieldsByTag method. The new method in Record class sorts fields by tag, ensuring LDR fields are prioritized. Updated tests to validate new sorting functionality and removed obsolete test cases related to the sorter method.
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant