Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.1 Implementation #15

Merged
merged 13 commits into from
Oct 27, 2024
Merged

PHP 8.1 Implementation #15

merged 13 commits into from
Oct 27, 2024

Conversation

byjg
Copy link
Owner

@byjg byjg commented Jan 10, 2024

This pull request includes several changes to update PHP version compatibility, introduce new configurations, and refactor the codebase for better type safety and modern PHP practices. The most important changes include updating the PHP versions in the PHPUnit workflow, adding new run configurations, and refactoring code to use stricter type declarations and enums.

PHP Version and Configuration Updates:

New Run Configurations:

Codebase Refactoring:

Other Improvements:

  • example.php: Updated method call to use and instead of addRelation.
  • src/Formatter/BaseFormatter.php, src/Formatter/FormatterInterface.php, src/Formatter/JsonFormatter.php: Updated method signatures to use strict types and added type hints. [1] [2] [3] [4]

These changes collectively improve the codebase by ensuring compatibility with newer PHP versions, adding helpful configurations for development, and enforcing stricter type safety throughout the code.

Copy link

@byjg byjg merged commit 0f0490d into master Oct 27, 2024
5 checks passed
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