Compare commits

..

29 Commits

Author SHA1 Message Date
Simon Wisselink 0cb91c2379 Merge branch 'master' into feature/php8-support 2021-10-13 12:05:54 +02:00
Simon Wisselink 492c05b6eb Updated info PHP version support in README, dropped installation instructions for Smarty2 as these are no longer useful. 2021-10-13 12:01:50 +02:00
Simon Wisselink 867154c6a5 Rename setPHP7CompatMode/getPHP7CompatMode for clarity 2021-08-18 23:08:24 +02:00
T. Nishino c5cc763802 Fix comments and indentation (#637)
* Fix indentation

* Replace url of smarty.net from http to https

* Fix breaking links

Replace from http://smarty.php.net to https://www.smarty.net

* Replace link from http to https

* Fix CHANGELOG.md
2021-08-18 22:41:34 +02:00
Simon Wisselink 1a052b6a77 Added a ->setPHP7CompatMode() that will fix undefined array keys etc from triggering E_WARNINGS. 2021-01-15 17:39:52 +01:00
Simon Wisselink 992ba3d828 Removed compatibility code for older PHPUnit versions 2021-01-15 17:38:52 +01:00
Simon Wisselink 5983f97dc9 Fixed unit tests for removed deprecated code in previous commit 2021-01-15 15:24:52 +01:00
Simon Wisselink 1430f61295 Fixed unit tests for removed deprecated code in previous commit 2021-01-15 13:32:30 +01:00
Simon Wisselink 170db9b898 Dropped deprecated constants, an API method and an API argument type 2021-01-15 12:26:24 +01:00
Simon Wisselink 834959c745 Changelog 2021-01-10 00:25:37 +01:00
Simon Wisselink 0911e5f00e removed unused variable from CacheResourceTestCommon 2021-01-10 00:13:52 +01:00
Simon Wisselink 0f858fb4b5 Removed BC code. WIP 2021-01-09 01:14:43 +01:00
Simon Wisselink bdf7122097 Fixed composer.json at PHP<9, removed IRC channel and added one author (me). 2021-01-08 22:55:49 +01:00
Simon Wisselink f50a573b25 differ composer cache for php version to support php7.1 testing 2021-01-08 18:16:41 +01:00
Simon Wisselink 34bb308555 differ composer cache for php version to support php7.1 testing 2021-01-08 18:14:15 +01:00
Simon Wisselink 0be482d1f8 Allow PHPUnit 7.5 for PHP7.1 2021-01-08 18:11:22 +01:00
Simon Wisselink fc4437e8b3 Merge branch 'feature/php8-support' of github.com:smarty-php/smarty into feature/php8-support 2021-01-08 17:44:50 +01:00
Simon Wisselink 09bbab8fd9 Somehow I managed to miss testing on php7.1 in CI 2021-01-08 17:43:06 +01:00
Simon Wisselink 886c57df7c Merge branch 'master' into feature/php8-support 2021-01-08 17:37:53 +01:00
Simon Wisselink 9e394a5b8a Removed all PHP_VERSION_ID and compare_version checks and conditional code blocks that are now no longer required 2021-01-08 17:31:52 +01:00
Simon Wisselink 8444ff7d61 Improved php7-style default modifier that does not trigger custom error handlers. Fixes #617 2021-01-08 17:20:56 +01:00
Simon Wisselink c665217ae1 Fix phpunit.sh to use phpunit.xml 2021-01-08 14:40:28 +01:00
Simon Wisselink 24dbbef340 Remove all references to travis 2021-01-08 14:39:02 +01:00
Simon Wisselink 7050ff710a Unit test improvements:
- do not try to test on PHP8.1 in Github CI workflow
- Updated unit test to avoid risky and skipped tests
- Changelog update
- Removed .phpunit.result.cache from CVS and ignore it
2021-01-08 14:36:12 +01:00
Simon Wisselink 0bca092b1a switch to default composer 2021-01-08 12:17:11 +01:00
Simon Wisselink 7e0d639d36 Test Github CI 2021-01-08 12:10:01 +01:00
Simon Wisselink d01f9cd5e3 Added unit test to confirm #605 was actually fixed 2021-01-08 11:57:32 +01:00
Simon Wisselink e71481a2ce Dropped suppport for php<7.2 to enable unit testing for php8, using phpunit8. Updated unit tests for compatability with phpunit8. 2021-01-07 00:19:13 +01:00
Simon Wisselink 277a11a212 See if we can get travis to run unit tests on actual php8 2021-01-05 23:56:52 +01:00
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -6,8 +6,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [4.0.0-rc.0] - 2021-10-13
### Added
- You can now use `$smarty->muteUndefinedOrNullWarnings()` to activate convert warnings about undefined or null template vars to notices when running PHP8
+1 -1
View File
@@ -98,7 +98,7 @@ class Smarty extends Smarty_Internal_TemplateBase
/**
* smarty version
*/
const SMARTY_VERSION = '4.0.0-rc.0';
const SMARTY_VERSION = '3.1.40';
/**
* define variable scopes
*/