Skip to content
Open
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
17 changes: 17 additions & 0 deletions 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