Task #26505
closedUsing the PHP5 constructors
0%
Description
Using the new PHP5 constructors (__construct) instead of PHP4 variants.
Files
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change Iab19b1be570cde143dacbbe244aedaf2dd8ce1a6 has been pushed to the review server.
It is available at http://review.typo3.org/1797
Updated by Stefano Kowalke over 13 years ago
In bugday chat someone mentioned, that this change could beak backward compatibility for some extensions. For version 4.6 this is ok, but we should take care of constructor calls within the core.
I attached a little bash script which search all files (*.php and *.inc) for PHP4 constructor calls. I found nothing.
Usage: findPHP4ConstructorsT3.sh <path>
<path> The path your files are in
Updated by Mr. Hudson over 13 years ago
Patch set 2 of change Iab19b1be570cde143dacbbe244aedaf2dd8ce1a6 has been pushed to the review server.
It is available at http://review.typo3.org/1797
Updated by Xavier Perseguers over 13 years ago
- Status changed from New to Resolved
Updated by Georg Ringer over 13 years ago
- Status changed from Resolved to On Hold
- Priority changed from Should have to Must have
Hey,
sorry but this change broke something: Create a content element "text w images" and try to add an image using the element browser:
Fatal error: Call to undefined method TBE_FolderTree::t3lib_folderTree() in C:\xampp\htdocs\currenttrunk\typo3\class.browse_links.php on line 460
this is because you removed the function from t3lib_foldertree! I don't know if this is allowed, as the function is not declared private it needs to be deprecated first, IMO
Updated by Stefano Kowalke over 13 years ago
Updated by Steffen Gebert about 13 years ago
- Status changed from On Hold to Resolved
This is already resolved with #27001
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed