Jonathan Lelievre
bf87aee3f0
Add PHP 8.4 support to Smarty ( #1084 )
...
* Add nullable types
* Removing deprecated E_STRICT constant from test suite.
* Added PHP 8.4 RC1 as test image
* PHP version bump in the README.md.
* Added PHP 8.4 to CI
* Add running tests for PHP 8.4
2024-11-21 23:04:22 +01: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
Uwe Tews
dd9c076dfa
- correction of PHPDoc blocks
...
- minor code cleanup
2017-10-26 10:25:41 +02:00
Uwe Tews
f86d251e5b
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR
2017-10-26 05:27:25 +02:00
Uwe Tews
41621ca35e
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205)
2017-10-26 04:37:31 +02:00
Uwe Tews
a675aaf68e
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3)
2017-10-26 04:37:17 +02:00
Uwe Tews
f3950a45a7
- bugfix Smarty version was not filled in header comment of compiled and cached files
...
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit 1e787d08f1 )
2017-10-26 04:37:05 +02:00
Uwe Tews
8e9108544a
- bugfix Smarty version was not filled in header comment of compiled and cached files
...
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit 1e787d08f1 ) (reverted from commit 42a292d56a )
2017-10-26 04:36:41 +02:00
Uwe Tews
4cbc436599
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3) (reverted from commit 86f36196e2)
2017-10-26 04:36:17 +02:00
Uwe Tews
eaac933770
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3) (reverted from commit 86f36196e2) (reverted from commit 36c6a72015)
2017-10-26 04:36:08 +02:00
Uwe Tews
36c6a72015
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3) (reverted from commit 86f36196e2)
2017-10-26 04:35:56 +02:00
Uwe Tews
86f36196e2
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205) (reverted from commit beaa293eb3)
2017-10-26 04:19:23 +02:00
Uwe Tews
42a292d56a
- bugfix Smarty version was not filled in header comment of compiled and cached files
...
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit 1e787d08f1 )
2017-10-26 04:18:28 +02:00
Uwe Tews
1e787d08f1
- bugfix Smarty version was not filled in header comment of compiled and cached files
...
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR
2017-10-26 03:38:27 +02:00
Uwe Tews
beaa293eb3
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR (reverted from commit f7a5316205)
2017-10-26 03:37:40 +02:00
Uwe Tews
f7a5316205
- optimization replace internal Smarty::$ds property by DIRECTORY_SEPARATOR
2017-10-22 03:38:10 +02:00
uwetews
0a8e47ecb2
- improvement move often used code snippets into methods
2016-09-11 04:35:52 +02:00
uwetews
2003020df9
- bugfix remove constant DS as shortcut for DIRECTORY_SEPARATOR as the user may have defined it to something else https://github.com/smarty-php/smarty/issues/277
2016-08-23 08:03:39 +02:00
uwetews
f39e61762c
- bugfix multiple {include} with relative filepath within {block}{/block} could fail https://github.com/smarty-php/smarty/issues/246
2016-07-19 03:37:01 +02:00
uwetews
6ef0d0eaa0
- optimization and cleanup of resource code
2016-05-15 11:13:31 +02:00
uwetews
1fbf16afed
- optimization of inheritance processing
2016-05-10 03:54:56 +02:00
uwetews
13a2127b50
- bugfix nested {include} with relative file path could fail when called in {block} ... {/block} https://github.com/smarty-php/smarty/issues/218
2016-04-24 11:04:36 +02:00
uwetews
b04486a091
- reformat all code for unique style
2016-02-09 01:27:15 +01:00
uwetews
f59b00c6dd
- bugfix {extends} with relative file path did not work https://github.com/smarty-php/smarty/issues/154
...
https://github.com/smarty-php/smarty/issues/158
2016-01-27 04:51:02 +01:00
uwetews
297f47a15a
- new feature Compiler does now observe the template_dir setting and will create separate compiled files if required
2015-12-24 02:29:21 +01:00
uwetews
888014b908
- new extension handler to load functions when called
2015-10-24 05:02:24 +02:00
uwetews
ca9ccfc919
- optimize filepath normalization
2015-10-18 04:40:45 +02:00
uwetews
bfcffb009a
- remove unneeded code and properties, minor fixes
2015-09-01 02:52:09 +02:00
uwetews
9eb87ef5a2
- relocate properties for size optimization
2015-08-23 13:24:24 +02:00
uwetews
3daf187fb1
- bugfix of unneeded instanceof conditions replacement
2015-08-23 05:33:04 +02:00
uwetews
a413a2a2e1
replace unneeded instanceof conditions
2015-08-23 01:50:05 +02:00
uwetews
dde6bc506b
remove unneeded method
2015-08-09 20:54:13 +02:00
Uwe Tews
21e07daf6d
optimization
2015-07-12 02:26:42 +02:00
Uwe Tews
40f0dda0e6
- new feature multiple indices on file: resource
2015-07-07 18:18:19 +02:00
Uwe Tews
1e4f28da54
update Smarty::_realpath()
2015-07-07 17:56:50 +02:00
Uwe Tews
b1fdc085e7
- optimization get rid of __get and __set in source object
2015-07-06 03:25:03 +02:00
Uwe Tews
a9f0b8ad1f
- optimize compile check handling
2015-07-01 03:27:06 +02:00
Uwe Tews
3052406cfc
- fix $smarty->use_include_path option and optimize file path code
2015-06-29 02:41:42 +02:00
Uwe Tews
99fe8120c8
- remove redundant code
2015-06-28 15:45:50 +02:00
Uwe Tews
cd132140f2
- optimize file path normalization
2015-06-28 12:54:47 +02:00
Uwe Tews
aee07f7bba
- optimize security isTrustedResourceDir()
2015-06-28 02:37:41 +02:00
Uwe Tews
aefec40962
- fix special cases of filepath normalization
2015-06-27 18:30:47 +02:00
Uwe Tews
c09b05cbe3
- optimization of directory handling / build realpath
2015-06-21 13:11:52 +02:00
Uwe Tews
31d94d05d3
- optimization of template/config file normalization
2015-06-21 12:52:49 +02:00
Uwe Tews
4e471b19e2
- optimization of template/config file normalization
2015-06-21 12:42:53 +02:00
Uwe Tews
34531edb4c
- bugfix another update on file path normalization failed on path containing something like "/.foo/" https://github.com/smarty-php/smarty/issues/56
2015-06-18 02:53:22 +02:00
Uwe Tews
7b469c1f4a
- bugfix file path normalization failed on path containing something like "/.foo/" https://github.com/smarty-php/smarty/issues/56
2015-06-18 01:46:35 +02:00
Uwe Tews
ecddc1f720
- bugfix a relative sub template path could fail if template_dir path did contain /../ https://github.com/smarty-php/smarty/issues/50
...
- optimization rework of path normalization
2015-06-14 03:30:31 +02:00
Uwe Tews
c5915a8c0c
- improvement use is_file() checks to avoid errors suppressed by @ which could still cause problems ( https://github.com/smarty-php/smarty/issues/24 )
2015-05-05 00:41:30 +02:00