[TASK] Remove empty constructors in EXT:form
authorAndy Grunwald <andygrunwald@gmail.com>
Sat, 23 Jun 2012 19:54:59 +0000 (21:54 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 23 Jun 2012 20:35:55 +0000 (22:35 +0200)
An empty constructor just calling parent is not needed, because parent
constructors are always called automatically.

Change-Id: I89384aa584048108fab444e3ee0d50e661c7d014
Fixes: #38335
Releases: 6.0
Reviewed-on: http://review.typo3.org/12314
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
17 files changed:
typo3/sysext/form/Classes/System/Validate/Digit.php
typo3/sysext/form/Classes/System/Validate/Email.php
typo3/sysext/form/Classes/System/Validate/Float.php
typo3/sysext/form/Classes/System/Validate/Integer.php
typo3/sysext/form/Classes/System/Validate/Ip.php
typo3/sysext/form/Classes/System/Validate/Required.php
typo3/sysext/form/Classes/System/Validate/Uri.php
typo3/sysext/form/Classes/View/Confirmation/Additional/Label.php
typo3/sysext/form/Classes/View/Confirmation/Additional/Legend.php
typo3/sysext/form/Classes/View/Confirmation/Element/Container.php
typo3/sysext/form/Classes/View/Form/Additional/Error.php
typo3/sysext/form/Classes/View/Form/Additional/Label.php
typo3/sysext/form/Classes/View/Form/Additional/Legend.php
typo3/sysext/form/Classes/View/Form/Additional/Mandatory.php
typo3/sysext/form/Classes/View/Mail/Html/Additional/Label.php
typo3/sysext/form/Classes/View/Mail/Html/Additional/Legend.php
typo3/sysext/form/Classes/View/Mail/Html/Element/Container.php

index 806843a..82e132b 100644 (file)
 class tx_form_System_Validate_Digit extends tx_form_System_Validate_Abstract {
 
        /**
-        * Constructor
-        *
-        * @param array $arguments Typoscript configuration
-        * @return void
-        */
-       public function __construct($arguments) {
-               parent::__construct($arguments);
-       }
-
-       /**
         * Returns TRUE if submitted value validates according to rule
         *
         * @return boolean
index c4e6f5e..31dcdfd 100644 (file)
 class tx_form_System_Validate_Email extends tx_form_System_Validate_Abstract {
 
        /**
-        * Constructor
-        *
-        * @param array $arguments Typoscript configuration
-        * @return void
-        */
-       public function __construct($arguments) {
-               parent::__construct($arguments);
-       }
-
-       /**
         * Returns TRUE if submitted value validates according to rule
         *
         * @return boolean
index 77135da..4cc757d 100644 (file)
 class tx_form_System_Validate_Float extends tx_form_System_Validate_Abstract {
 
        /**
-        * Constructor
-        *
-        * @param array $arguments Typoscript configuration
-        * @return void
-        */
-       public function __construct($arguments) {
-               parent::__construct($arguments);
-       }
-
-       /**
         * Returns TRUE if submitted value validates according to rule
         *
         * @return boolean
index 0a43742..a8e035c 100644 (file)
 class tx_form_System_Validate_Integer extends tx_form_System_Validate_Abstract {
 
        /**
-        * Constructor
-        *
-        * @param array $arguments Typoscript configuration
-        * @return void
-        */
-       public function __construct($arguments) {
-               parent::__construct($arguments);
-       }
-
-       /**
         * Returns TRUE if submitted value validates according to rule
         *
         * @return boolean
index 23c6634..de9f57a 100644 (file)
 class tx_form_System_Validate_Ip extends tx_form_System_Validate_Abstract {
 
        /**
-        * Constructor
-        *
-        * @param array $arguments Typoscript configuration
-        * @return void
-        */
-       public function __construct($arguments) {
-               parent::__construct($arguments);
-       }
-
-       /**
         * Returns TRUE if submitted value validates according to rule
         *
         * @return boolean
index a726db6..c044326 100644 (file)
 class tx_form_System_Validate_Required extends tx_form_System_Validate_Abstract {
 
        /**
-        * Constructor
-        *
-        * @param array $arguments Typoscript configuration
-        * @return void
-        */
-       public function __construct($arguments) {
-               parent::__construct($arguments);
-       }
-
-       /**
         * Returns TRUE if submitted value validates according to rule
         *
         * @return boolean
index 1c8b315..ea532b7 100644 (file)
 class tx_form_System_Validate_Uri extends tx_form_System_Validate_Abstract {
 
        /**
-        * Constructor
-        *
-        * @param array $arguments Typoscript configuration
-        * @return void
-        */
-       public function __construct($arguments) {
-               parent::__construct($arguments);
-       }
-
-       /**
         * Returns TRUE if submitted value validates according to rule
         *
         * @return boolean
index be69c35..fbad688 100644 (file)
@@ -41,15 +41,5 @@ class tx_form_View_Confirmation_Additional_Label extends tx_form_View_Confirmati
                        <labelvalue />
                </label>
        ';
-
-       /**
-        * Constructor
-        *
-        * @param object $model The parent model
-        * @return void
-        */
-       public function __construct($model) {
-               parent::__construct($model);
-       }
 }
 ?>
\ No newline at end of file
index 3f08436..a254993 100644 (file)
@@ -41,15 +41,5 @@ class tx_form_View_Confirmation_Additional_Legend extends tx_form_View_Confirmat
                        <legendvalue />
                </legend>
        ';
-
-       /**
-        * Constructor
-        *
-        * @param object $model The parent model
-        * @return void
-        */
-       public function __construct($model) {
-               parent::__construct($model);
-       }
 }
 ?>
\ No newline at end of file
index 9973d8e..e6f453f 100644 (file)
@@ -43,16 +43,6 @@ class tx_form_View_Confirmation_Element_Container extends tx_form_View_Confirmat
        ';
 
        /**
-        * Constructor
-        *
-        * @param object $model Model for this element
-        * @return void
-        */
-       public function __construct($model) {
-               parent::__construct($model);
-       }
-
-       /**
         * Get the child objects
         * and render them as document fragment
         *
index 67e057e..91850a5 100644 (file)
@@ -41,15 +41,5 @@ class tx_form_View_Form_Additional_Error extends tx_form_View_Form_Additional {
                        <errorvalue />
                </strong>
        ';
-
-       /**
-        * Constructor
-        *
-        * @param object $model The parent model
-        * @return void
-        */
-       public function __construct($model) {
-               parent::__construct($model);
-       }
 }
 ?>
\ No newline at end of file
index 99b94e9..6f77bbb 100644 (file)
@@ -43,15 +43,5 @@ class tx_form_View_Form_Additional_Label extends tx_form_View_Form_Additional {
                        <error />
                </label>
        ';
-
-       /**
-        * Constructor
-        *
-        * @param object $model The parent model
-        * @return void
-        */
-       public function __construct($model) {
-               parent::__construct($model);
-       }
 }
 ?>
\ No newline at end of file
index db78ba7..aead8a6 100644 (file)
@@ -43,15 +43,5 @@ class tx_form_View_Form_Additional_Legend extends tx_form_View_Form_Additional {
                        <error />
                </legend>
        ';
-
-       /**
-        * Constructor
-        *
-        * @param object $model The parent model
-        * @return void
-        */
-       public function __construct($model) {
-               parent::__construct($model);
-       }
 }
 ?>
\ No newline at end of file
index cc0a773..85040ac 100644 (file)
@@ -41,15 +41,5 @@ class tx_form_View_Form_Additional_Mandatory extends tx_form_View_Form_Additiona
                        <mandatoryvalue />
                </em>
        ';
-
-       /**
-        * Constructor
-        *
-        * @param object $model The parent model
-        * @return void
-        */
-       public function __construct($model) {
-               parent::__construct($model);
-       }
 }
 ?>
\ No newline at end of file
index 06e9193..745bb47 100644 (file)
@@ -41,15 +41,5 @@ class tx_form_View_Mail_Html_Additional_Label extends tx_form_View_Mail_Html_Add
                        <labelvalue />
                </em>
        ';
-
-       /**
-        * Constructor
-        *
-        * @param object $model The parent model
-        * @return void
-        */
-       public function __construct($model) {
-               parent::__construct($model);
-       }
 }
 ?>
\ No newline at end of file
index 49d42e1..59dfc47 100644 (file)
@@ -45,15 +45,5 @@ class tx_form_View_Mail_Html_Additional_Legend extends tx_form_View_Mail_Html_Ad
                        </tr>
                </thead>
        ';
-
-       /**
-        * Constructor
-        *
-        * @param object $model The parent model
-        * @return void
-        */
-       public function __construct($model) {
-               parent::__construct($model);
-       }
 }
 ?>
\ No newline at end of file
index e5e8f51..df56293 100644 (file)
@@ -43,16 +43,6 @@ class tx_form_View_Mail_Html_Element_Container extends tx_form_View_Mail_Html_El
        ';
 
        /**
-        * Constructor
-        *
-        * @param object $model Model for this element
-        * @return void
-        */
-       public function __construct($model) {
-               parent::__construct($model);
-       }
-
-       /**
         * Get the child objects
         * and render them as document fragment
         *