Open liuggio opened 11 years ago
Namespaces require a minimum PHP version of 5.3.x and the current minimum version requirement for PHPExcel is PHP 5.2.0. (I've been cursing this for a long time now)
Earlier this year, according to W3Techs statistics, take-up of PHP 5.3 finally exceeded PHP 5.2; while the trend shown by Pascal Martin's statistics earlier in the year bears this out. With the production release of PHP 5.5 planned for July, and changes to the PHP version support policy, we hope that the use of PHP 5.2 among ISPs will drop significantly allowing us to drop support for PHP 5.2 in the second half of the year.
In anticipation of that, we have already decided that PHPExcel 1.7.9 will be the last release on the 1.x branch, and that subsequent releases will require a minimum PHP version of 5.3.0, which will allow us to use namespaces, closures, and take full advantage of SPL, We will also be refactoring a lot of the code to conform with PSR-2 standards wherever possible.
thanks for the quick and full answer :)
come on, oldies, 5.2 is not supported anymore. It's very weird to see code without namespaces in 2015.
+1
Is already planned to add namespace and php-fig CS?
what do you think?
reference: http://www.php-fig.org/