Bug #18482

PHP5ize class.t3lib_extBEfunc.php

Added by Kasper Ligaard almost 13 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-03-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Same reasons as given in issue #18480, that the documentation says the class is to never be instantiated, thus let us use the PHP5 capabilities to enforce this.

The patch does the following:
1) Sets class to 'final'.
2) Sets all functions to 'public static'
3) Replaces tabs between function signature and body with a space.

pending in core list
(issue imported from #M7906)


Files

public-static-t3lib_befunc.patch (100 KB) public-static-t3lib_befunc.patch Administrator Admin, 2008-03-19 14:04
public-static-t3lib_befunc-rev2.patch (138 KB) public-static-t3lib_befunc-rev2.patch Administrator Admin, 2008-03-19 19:36
public-static-t3lib_befunc-rev2-1.patch (138 KB) public-static-t3lib_befunc-rev2-1.patch Administrator Admin, 2008-03-19 20:32

Related issues

Related to TYPO3 Core - Bug #18480: PHP5ize class.t3lib_extMgm.phpClosedMartin Kutschker2008-03-19

Actions
#1

Updated by Kasper Ligaard almost 13 years ago

The 'documentation'-tag was set by a mistake (just me having butter-fingers). This issue is about bringing the code in line with the documentation, so no documentation changes needed.

#2

Updated by Kasper Ligaard almost 13 years ago

Revision 2 of the patch, improved along coding guidelines:
- Spaces around =
- Spaces after comma

#3

Updated by Kasper Ligaard almost 13 years ago

Issue #18483 is similar to this and to #18483.

#4

Updated by Kasper Ligaard almost 13 years ago

Fixed patch uploaded.

Also available in: Atom PDF