Project

General

Profile

Actions

Task #38335

closed

Useless method overriding in EXT:form

Added by Andy Grunwald almost 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Code Cleanup
Target version:
Start date:
2012-06-23
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

In sysext "form" many methods are implemented twice.
Many methods just call his parents without any modification.

One example is tx_form_System_Validate_Digit::__construct():

/**
 * Constructor
 *
 * @param array $arguments Typoscript configuration
 * @return void
 */
public function __construct($arguments) {
    parent::__construct($arguments);
}

This is quite useless, because due OOP, the parent method is called, if the local class does not provide a local / override method.

Actions #1

Updated by Gerrit Code Review almost 12 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12314

Actions #2

Updated by Gerrit Code Review almost 12 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12314

Actions #3

Updated by Andy Grunwald almost 12 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF