Simon Wisselink
22ce23b47b
Made variable scoping more sensible
2023-01-11 11:22:24 +01:00
Simon Wisselink
fd64cc688a
Removed PHP functions and checks for the already removed php modifiers. Re-implemented functions as regular functions. Probably should compile these directly.
2023-01-07 23:06:47 +01:00
Simon Wisselink
608a400e66
Fix scoping / global state problems in tests by using DI in Default Extension. Also removing a bunch of old fashioned phpdoc annotations that are superseded by namespaces.
2023-01-05 23:07:45 +01:00
Simon Wisselink
576bd4cc01
Removed support for PHP include path, and removed the ::loadPlugin method.
2023-01-05 21:58:29 +01:00
Simon Wisselink
9766aba66e
filter tests passing
2023-01-03 14:12:36 +01:00
Simon Wisselink
60a56969dd
WIP moving Smarty to PSR-4.
2023-01-02 00:49:38 +01:00
Simon Wisselink
ab5705a90d
Rewrote all default modifiers and functions from the plugins folder to PSR-4 classes
2022-12-24 23:38:13 +01:00
Simon Wisselink
4d66910e7f
Entire src dir now PSR-4 compatible
2022-12-22 22:38:37 +01:00
Simon Wisselink
f1e7b2d46f
src/sysplugins/* to PSR-4
2022-12-22 21:50:01 +01:00
Simon Wisselink
0fc2b3726b
src/Template/* to PSR-4
2022-12-22 21:23:22 +01:00
Simon Wisselink
d0319bdc87
Replace Smarty:: with symfony/polyfill-mbstring
2022-12-01 21:56:12 +01:00
Simon Wisselink
e54a53332f
Removed autoload filters
2022-11-30 10:06:09 +01:00
Simon Wisselink
8b5540f4f3
More PSR4 rewriting
2022-11-30 00:25:27 +01:00
Simon Wisselink
91b6fdeb4e
WIP converting code to PSR-4
2022-11-28 12:30:07 +01:00
Progi1984
c016895166
PHP8.2 compatibility ( #775 )
...
* PHP8.2 compatibility
* PHP8.2 compatibility : Fixed unit tests
* PHP8.2 compatibility : Replace ENT_COMPAT by ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401
* PHP8.2 compatibility : Remove deprecated utf8_decode
* PHP8.2 compatibility : Remove HTML-ENTITIES parameter
* Removed some unused code for clarity, updated the changelog.
* More concise escape implementation and unit test to cover both modifierplugin and modifiercompiler.
* Fix htmlall unescape of quotes without mbstring too
Co-authored-by: Simon Wisselink <s.wisselink@iwink.nl >
2022-11-22 21:22:57 +01:00
Andrew Dawes
f81720941c
Fixed several typos and grammar errors ( #821 )
2022-10-22 22:08:38 +02:00
Simon Wisselink
254b5cabee
Dropped remaining references to removed PHP-support in Smarty 4 from docs, lexer and security class.
2022-09-27 12:21:01 +02:00
Simon Wisselink
f8e1ba76f7
Replaced outdated references to SMARTY_RESOURCE_CHAR_SET in docs with Smarty::$_CHARSET.
2022-06-15 22:12:38 +02:00
Thomas
0f098802c6
Create getting-started.md
2022-01-21 17:55:23 +01:00
Marc Laporte
56aadc697f
Fix a typo in docs ( #690 )
2021-12-22 23:01:19 +01:00
Simon Wisselink
cb5efd04c3
Improve the documentation, bringing it up to date with PHP7/8 and Smarty 4 and providing
...
a more logical introduction and getting started experience.
2021-12-03 16:51:08 +01:00
Simon Wisselink
3a91df797e
added links to appndixes, removed unuseful old appendixes
2021-12-03 12:18:46 +01:00
Simon Wisselink
428a701b18
Feature/add docs ( #689 )
...
* Add converted docs repo
* Set theme jekyll-theme-minimal
* Removed BC docs, added TOC
* Added TOCs, rewrote most important links in documentation. Linked README to new Github Pages site
* some link fixes
2021-12-03 11:59:22 +01:00