---
title: "lint/php-7.1"
pagination: false
---

{/* Generated by scripts/gen-rule-docs.py. Edit mapping.toml, not this file. */}

Upgrade to PHP 7.1: code a newer PHP removes, deprecates or does better.

**[no-append-to-string](/docs/rules/lint/php-7-1/no-append-to-string)**

String cannot be turned into array by assignment anymore

In the `lint-strict` preset. In Rector's `rector/php71` set. Unsafe fix: it can change behavior. Runs only when `[php] version` is 7.1 or later.

**[no-non-numeric-string-operand](/docs/rules/lint/php-7-1/no-non-numeric-string-operand)**

Change binary operation between some number + string to PHP 7.1 compatible version

In the `lint-strict` preset. In Rector's `rector/php71` set. Unsafe fix: it can change behavior. Runs only when `[php] version` is 7.1 or later.

**[prefer-is-iterable](/docs/rules/lint/php-7-1/prefer-is-iterable)**

Changes is_array + Traversable check to is_iterable

In the `lint-recommended` preset and every stricter one. In Rector's `rector/php71` set. Safe fix. Runs only when `[php] version` is 7.1 or later.

**[prefer-multi-catch](/docs/rules/lint/php-7-1/prefer-multi-catch)**

Change multiple catch statements of the same exception to a single one `|` separated

In the `lint-recommended` preset and every stricter one. In Rector's `rector/php71` set. Safe fix. Runs only when `[php] version` is 7.1 or later.
