From e93bdd507af651cb98da971e4cb5040398147637 Mon Sep 17 00:00:00 2001 From: Niels Theen Date: Sun, 6 Apr 2025 11:59:00 +0200 Subject: [PATCH 1/2] Adding table of contents to README --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 7d13489..1915a99 100644 --- a/README.md +++ b/README.md @@ -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 `!=`). From 28a2524a38106e81869ed82ee51b00baefebc813 Mon Sep 17 00:00:00 2001 From: Jakob Date: Mon, 16 Feb 2026 15:26:03 +0100 Subject: [PATCH 2/2] Fix indent of TOC --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1915a99..c613e74 100644 --- a/README.md +++ b/README.md @@ -8,15 +8,15 @@ This toolbox helps maintainers of PHP codebases migrate their applications smoot - [Key Features](#key-features) - [Getting Started](#getting-started) - - [Prerequisites](#prerequisites) - - [Installation](#installation) - - [Setting up the Project](#setting-up-the-project) -- [Refactoring](#refactoring) + - [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) + - [Testing Your Code](#testing-your-code) + - [Rolling back](#rolling-back) - [Contributing](#contributing) - - [Steps to Contribute](#steps-to-contribute) + - [Steps to Contribute](#steps-to-contribute) - [License](#license) - [Support & Feedback](#support--feedback) @@ -222,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! 🚀 \ No newline at end of file +Happy migrating! 🚀