Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
PHP 8 introduced several changes to how type-loose comparison operators behave. These changes can lead to inconsistencies and unpredictable behavior when running PHP 7 code on PHP 8.
This toolbox helps maintainers of PHP codebases migrate their applications smoothly by identifying usages of type-unsafe operators that would otherwise have changed the behavior of their application.


## Table of Contents

- [Key Features](#key-features)
- [Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Setting up the Project](#setting-up-the-project)
- [Refactoring](#refactoring)
- [Example Replacement](#example-replacement)
- [Testing Your Code](#testing-your-code)
- [Rolling back](#rolling-back)
- [Contributing](#contributing)
- [Steps to Contribute](#steps-to-contribute)
- [License](#license)
- [Support & Feedback](#support--feedback)

## Key Features

- **Automatic Replacement of Comparison Operators:** Replace type-loose comparison operators (e.g., `==`, `!=`) with new custom replacement functions (like `c_eq` for `==`, `c_ne` for `!=`).
Expand Down Expand Up @@ -205,4 +222,4 @@ This project is licensed under the [MIT License](LICENSE).

If you encounter any issues or have questions, feel free to open an issue on the repository or contact us directly.

Happy migrating! 🚀
Happy migrating! 🚀