Simon Wisselink
39b69f0142
Feature/php8 support ( #629 )
...
Adds support for PHP8.0, dropping support for PHP7.0 and below.
Backwards incompatible changes:
- Dropped support for php asp tags in templates (removed from php since php7.0)
- Dropped deprecated API calls that where only accessible through SmartyBC
- Dropped support for {php} and {include_php} tags and embedded PHP in templates. Embedded PHP will now be passed through as is.
- Removed all PHP_VERSION_ID and compare_version checks and conditional code blocks that are now no longer required
- Dropped deprecated SMARTY_RESOURCE_CHAR_SET and SMARTY_RESOURCE_DATE_FORMAT constants
- Dropped deprecated Smarty::muteExpectedErrors and Smarty::unmuteExpectedErrors API methods
- Dropped deprecated $smarty->getVariable() method. Use $smarty->getTemplateVars() instead.
- $smarty->registerResource() no longer accepts an array of callback functions
See the changelog for more details.
Switched CI from Travis to Github CI.
2021-10-13 12:15:17 +02:00
uwetews
3626e37c53
- bugfix autoloader exit shortcut https://github.com/smarty-php/smarty/issues/467
2018-10-14 04:18:45 +02:00
uwetews
4f7cd8f1b3
- reformating for PSR-2 coding standards https://github.com/smarty-php/smarty/pull/483
2018-08-31 16:45:09 +02:00
Sławomir Kaleta
2404095783
Update PSR-2
2018-06-12 09:58:15 +02:00
uwetews
a6f3a518e1
- improvement replace phpversion() by PHP_VERSION constant.
...
https://github.com/smarty-php/smarty/pull/363
2017-05-27 14:37:35 +02:00
uwetews
428a7ad883
- add bootstrap file to load and register Smarty_Autoloader. Change composer.json to make it known to composer
2016-11-08 17:48:25 +01:00
uwetews
e066488f8b
- bugfix correct Autoloader update of 2.3.2014 https://github.com/smarty-php/smarty/issues/199
2016-03-09 01:44:10 +01:00
uwetews
4f5aeeb2b6
- revert autoloader optimizations because of unexplainable warning when using plugins https://github.com/smarty-php/smarty/issues/199
2016-03-02 18:17:22 +01:00
uwetews
b04486a091
- reformat all code for unique style
2016-02-09 01:27:15 +01:00
uwetews
4ea4d1ff41
- improve autoloader speed
2015-10-24 05:20:09 +02:00
uwetews
56a884a428
- optimize autoloader
2015-09-14 23:02:59 +02:00
Uwe Tews
ca969fe663
fix autoloader optimization
2015-08-06 00:59:06 +02:00
Uwe Tews
8d30442450
- bugfix PATH_SEPARATOR was replaced by mistake in autoloader
2015-06-28 15:12:00 +02:00
Uwe Tews
c1ae1a52af
- optimize autoloader
2015-06-28 08:33:18 +02:00
Uwe Tews
ce0c1dcfae
- move $smarty->append() and $smarty->appendByRef() into extension
2015-06-28 05:22:19 +02:00
Uwe Tews
afe9af11b7
- move $smarty->getTemplateVars() into extension
2015-06-28 04:44:16 +02:00
Uwe Tews
85eb95d960
- move auto load filter methods into extension
2015-06-28 04:05:07 +02:00
Uwe Tews
15d8e545cd
- rework of $smarty->clearCompiledTemplate() and move it to its own extension
2015-06-27 23:59:12 +02:00
Uwe Tews
291c06dbea
- move $smarty->loadPlugin() into extension
2015-06-27 20:56:27 +02:00
Uwe Tews
6b875397a5
update autoloader
2015-06-21 13:56:10 +02:00
Uwe Tews
b4792df08a
- bugfix missig entry for smarty-temmplate-config in autoloader
2015-05-12 03:07:24 +02:00
Uwe Tews
740a583c7c
Use require_once
2015-01-07 16:46:03 +01:00
Uwe Tews
111a10bb17
Move some classes into its own files
2015-01-04 05:51:52 +01:00
Uwe Tews
c8712b8b7e
update autoloader
2015-01-02 09:12:27 +01:00
Uwe Tews
48f66c81c7
rework class Smarty_Template_Cached
...
- move class Smarty_Template_Cached in its own file
- implement all code for chached template handling in class
2015-01-01 23:53:59 +01:00
Uwe Tews
c3aa9994c8
rework source resource handling
...
- move class Smarty_Template_Source into its own file
- impelement all source processing into the classes it better belongs to
2015-01-01 23:34:29 +01:00
Uwe Tews
2687f36849
update autoloader with for special class names
2014-12-31 14:32:47 +01:00
Uwe Tews
0b6af0add7
move autoload code into Autoloader.php.
...
Use Composer autoloader when possible
2014-11-13 19:42:01 +01:00