Commit 48792c87 authored by Christian Kuhn's avatar Christian Kuhn Committed by Wouter Wolters
Browse files

[TASK] CGL fix core after php-cs-fixer 2.9.0 raise

The "self_accessor" fixer is more strict with younger
php-cs-fixer releases and changes method argument type
hints to self if a class object of the same class is
expected. It also changes return type hints to self
in this case.
This fixer now may collide with the "xclass" system
of the core and is thus deactivated. We shoud decide
manually if self or class name is used.

Change-Id: I3a8c20bea1d79ac2c7bc1e9ecbc2d435c4047843
Resolves: #83360
Related: #83331
Releases: master, 8.7

Reviewed-by: Nicole Cordes's avatarNicole Cordes <>
Tested-by: Nicole Cordes's avatarNicole Cordes <>
Tested-by: default avatarTYPO3com <>
Reviewed-by: Stephan Großberndt's avatarStephan Großberndt <>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <>
Tested-by: Wouter Wolters's avatarWouter Wolters <>
parent 957082fc
......@@ -75,7 +75,6 @@ return PhpCsFixer\Config::create()
'lowercase_cast' => true,
'no_leading_namespace_whitespace' => true,
'native_function_casing' => true,
'self_accessor' => true,
'no_short_bool_cast' => true,
'no_unneeded_control_parentheses' => true,
'phpdoc_no_empty_return' => true,
......@@ -137,7 +137,6 @@ class PageLayoutController
public $pageinfo;
* "Pseudo" Description -table name
* @var string
......@@ -60,7 +60,6 @@ class Query implements QueryInterface
* @var \TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface
protected $persistenceManager;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment