Project

General

Profile

Actions

Task #79103

closed

Use correct code fixer rule

Added by Georg Ringer almost 8 years ago. Updated almost 8 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
Category:
Code Cleanup
Target version:
-
Start date:
2016-12-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The rule "short_bool_cast" does not exist, "short_scalar_cast" must be used


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #79361: Upgrade php-cs-fixer and it's configuration to v2ClosedAnja Leichsenring2017-01-18

Actions
Actions #1

Updated by Anja Leichsenring almost 8 years ago

  • Status changed from Accepted to Rejected

Hi Georg,

in version 1.13 this rule exists and does something entirely else than the suggested one from you.
For version 2.0 you are correct, the rule is renamed to no_short_bool_cast. See https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v2.0.0/UPGRADE.md

The update to version 2.0 is requested, but not done yet.

Actions

Also available in: Atom PDF