Skip to content

Update to the new base library (5.0 and PHP 8.x) / Fix Break Compatibility #12

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

Merged
merged 15 commits into from
Mar 19, 2025

Conversation

byjg
Copy link
Owner

@byjg byjg commented Sep 16, 2024

Description by Korbit AI

What change is being made?

Upgrade the codebase to be compatible with the new library versions (v5.0) and PHP 8.x, while ensuring backwards compatibility with older configurations.

Why are these changes being made?

The application needs to utilize the latest features and security improvements from library and PHP version upgrades to 5.0 and 8.x respectively. This involves major dependency updates, syntax alignment, and enhancements in code structure, especially with migration to stricter type safety where applicable. Other updates are the result of deprecations and improvements in the language and libraries which improve performance and maintainability.

Is this description stale? Ask me to generate a new description by commenting /korbit-generate-pr-description

byjg added 15 commits September 16, 2024 15:37
Simplified service container calls across the codebase by introducing and using the new `Psr11::get` method. This change improves readability and reduces verbosity in service retrieval logic.
The 'docker-compose-image.yml' file is no longer required and has been removed from the list of configuration files. This simplifies the script and avoids managing unnecessary files.
Added a "composer update" command to the post-create script to ensure dependencies are updated after project setup. Also updated the documentation to replace the deprecated `docker-compose` command with the new `docker compose` syntax.
Add commands to initialize a Git repository, set the default branch to "main," and make the initial commit. This ensures version control is activated immediately after project creation.
Updated file references to `tests/Rest/ExampleCrudTest.php` for accuracy. Added formatting to emphasize expected test failure, improving clarity for users following the steps.
@byjg byjg merged commit 0f1cc95 into master Mar 19, 2025
1 check 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