Commit Graph

  • 5983f97dc9 Fixed unit tests for removed deprecated code in previous commit Simon Wisselink 2021-01-15 15:24:52 +01:00
  • 1430f61295 Fixed unit tests for removed deprecated code in previous commit Simon Wisselink 2021-01-15 13:32:30 +01:00
  • 170db9b898 Dropped deprecated constants, an API method and an API argument type Simon Wisselink 2021-01-15 12:26:24 +01:00
  • 834959c745 Changelog Simon Wisselink 2021-01-10 00:25:37 +01:00
  • 0911e5f00e removed unused variable from CacheResourceTestCommon Simon Wisselink 2021-01-10 00:13:52 +01:00
  • 0f858fb4b5 Removed BC code. WIP Simon Wisselink 2021-01-09 01:14:43 +01:00
  • bdf7122097 Fixed composer.json at PHP<9, removed IRC channel and added one author (me). Simon Wisselink 2021-01-08 22:55:49 +01:00
  • f50a573b25 differ composer cache for php version to support php7.1 testing Simon Wisselink 2021-01-08 18:16:41 +01:00
  • 34bb308555 differ composer cache for php version to support php7.1 testing Simon Wisselink 2021-01-08 18:14:15 +01:00
  • 0be482d1f8 Allow PHPUnit 7.5 for PHP7.1 Simon Wisselink 2021-01-08 18:11:22 +01:00
  • fc4437e8b3 Merge branch 'feature/php8-support' of github.com:smarty-php/smarty into feature/php8-support Simon Wisselink 2021-01-08 17:44:50 +01:00
  • 09bbab8fd9 Somehow I managed to miss testing on php7.1 in CI Simon Wisselink 2021-01-08 17:43:06 +01:00
  • 886c57df7c Merge branch 'master' into feature/php8-support Simon Wisselink 2021-01-08 17:37:53 +01:00
  • 9e394a5b8a Removed all PHP_VERSION_ID and compare_version checks and conditional code blocks that are now no longer required Simon Wisselink 2021-01-08 17:31:52 +01:00
  • 3af2df20a4 Fix typo in StreamVariableTest.php (#616) Ikko Ashimine 2021-01-09 01:28:33 +09:00
  • 8444ff7d61 Improved php7-style default modifier that does not trigger custom error handlers. Fixes #617 Simon Wisselink 2021-01-08 17:20:56 +01:00
  • 63b3c0aed0 Merge branch 'release/3.1.38' v3.1.38 Simon Wisselink 2021-01-08 15:05:42 +01:00
  • 2af2a07906 version bump Simon Wisselink 2021-01-08 15:05:40 +01:00
  • cb4254355e Removed unused error_reporting.ini file, updated version number in Smarty::SMARTY_VERSION, fixed inline phpdoc that caused an IDE error Simon Wisselink 2021-01-08 15:05:10 +01:00
  • c665217ae1 Fix phpunit.sh to use phpunit.xml Simon Wisselink 2021-01-08 14:40:28 +01:00
  • 24dbbef340 Remove all references to travis Simon Wisselink 2021-01-08 14:39:02 +01:00
  • 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 Simon Wisselink 2021-01-08 14:36:12 +01:00
  • 0bca092b1a switch to default composer Simon Wisselink 2021-01-08 12:17:11 +01:00
  • 7e0d639d36 Test Github CI Simon Wisselink 2021-01-08 12:10:01 +01:00
  • d01f9cd5e3 Added unit test to confirm #605 was actually fixed Simon Wisselink 2021-01-08 11:57:32 +01:00
  • f65e7ddd22 fixed changelog v3.1.37.1 Simon Wisselink 2021-01-07 00:34:08 +01:00
  • 92e05d4f8d Brought lexer source functionally up-to-date with compiled version (#625) v3.1.37 Simon Wisselink 2021-01-07 00:26:28 +01:00
  • e71481a2ce Dropped suppport for php<7.2 to enable unit testing for php8, using phpunit8. Updated unit tests for compatability with phpunit8. Simon Wisselink 2021-01-07 00:19:13 +01:00
  • 277a11a212 See if we can get travis to run unit tests on actual php8 Simon Wisselink 2021-01-05 23:56:52 +01:00
  • 8b8247e17e Brought lexer source functionally up-to-date with compiled version Fixes #621 bugfix/fix-lexer-sources Simon Wisselink 2021-01-05 23:31:24 +01:00
  • e2b28167f8 Clarify correct LGPL version. Fixes #612 feature/php8-supporrt Simon Wisselink 2021-01-05 22:23:13 +01:00
  • 820782cd80 const fix for usage with comparison operators (#618) Libor M 2021-01-05 22:07:44 +01:00
  • c295786e43 Fixes for php8.0.0beta3 (#608) Simon Wisselink 2020-09-12 21:37:31 +02:00
  • f25dd94f9f Incorporated AnrDaemons suggestions, making composer figure out the required phpunit version instead of specifying it explicitly and removing a unneeded error supression (@). xorti-fix-error-handler-function Simon Wisselink 2020-09-12 21:15:49 +02:00
  • d1dcee0d9e run travis in xenial where possible for latest php versions. Fix unit tests from freakingo over inconsistent error messages in php8-beta. Simon Wisselink 2020-09-11 13:56:51 +02:00
  • 859a09e1bb Bumped phpdoc @version tag to 3.1.36 (#598) ♚ PH⑦ de Soria™♛ 2020-09-11 21:04:15 +09:30
  • 8df47cf030 changelog Simon Wisselink 2020-09-11 13:30:41 +02:00
  • 6f41b9bfc9 Fixed a unit test that accidentally passed on phpunit < 7 because of sloppy string comparison. Simon Wisselink 2020-09-11 13:22:45 +02:00
  • a5934a755d Fixed a unit test that accidentally passed on phpunit < 7 because of sloppy string comparison. Simon Wisselink 2020-09-11 13:22:45 +02:00
  • 7d48d8692f Fix unit tests for php8, force composer to think we are still php7 to pick a supported phpunit and being less specific about an error msg because PHP8 is in active development and the exact wording is changing. Simon Wisselink 2020-09-11 12:55:43 +02:00
  • ca2be225d6 Attempt to fix travis runs for (almost) all php versions supported Simon Wisselink 2020-09-11 11:07:03 +02:00
  • 3b0b48ed3e Updated UndefinedTemplateVarTest for PHP8 (and disabled a check for PHP<5.6) and re-enabled php:nightly in travis config Simon Wisselink 2020-09-11 10:21:25 +02:00
  • 62dc42b0c5 php5 compat syntax Simon Wisselink 2020-09-11 00:39:17 +02:00
  • 818aa3c3da Getting ready for PHP8, handling changed error levels/handlers mostly Simon Wisselink 2020-09-11 00:36:56 +02:00
  • e12895359b Set $errcontext argument optional to support PHP 8 Jorge Sá Pereira 2020-07-29 23:24:53 +01:00
  • dff1955cd5 Update to HTML5-syntax in debug template Stoll, Jonathan 2020-06-19 21:20:46 +02:00
  • 5a72624380 Test travis config for PHP5 versions (#592) Simon Wisselink 2020-05-05 15:08:31 +02:00
  • 950bf16e21 Disabled nightly testing because phpunit doesn't support php8 yet. feauture/run_unit_tests_for_php_5 Simon Wisselink 2020-05-05 14:52:20 +02:00
  • b4e55cccfc Specify dist for 5.3 Simon Wisselink 2020-05-05 12:38:20 +02:00
  • 4de40774fe Test travis config for PHP5 versions Simon Wisselink 2020-05-05 09:56:44 +02:00
  • 1418c8c422 Merge branch 'AnrDaemon-fix-php5.3-compat' Simon Wisselink 2020-05-05 09:21:07 +02:00
  • f46c13b32a Updated changelog Simon Wisselink 2020-05-05 09:20:56 +02:00
  • eae19f23b9 PHP 5.3 compatibility fixes AnrDaemon 2020-05-05 01:37:36 +03:00
  • a3621b375e Update libs/sysplugins/smarty_internal_compile_private_special_variable.php Alec Smecher 2020-04-15 08:30:35 -07:00
  • 0124bc3aa0 #155 Adapt Smarty upper/lower functions to be codesafe (e.g. for Turkish locale) Alec Smecher 2020-04-14 15:03:31 -07:00
  • e1c050a32c Fix comment - Method can return string (#583) Sławomir Kaleta 2020-04-14 17:26:20 +02:00
  • fd148f7ade Merge branch 'release/3.1.36' v3.1.36 Simon Wisselink 2020-04-14 16:44:26 +02:00
  • 07772aac90 version bump Simon Wisselink 2020-04-14 16:44:24 +02:00
  • 08227651fc Fixed #584 Simon Wisselink 2020-04-14 16:44:09 +02:00
  • e0ea6899c8 fixed version of Smarty::SMARTY_VERSION and updates make-release script to do so automatically from now on Simon Wisselink 2020-04-14 16:40:44 +02:00
  • 97f700971f Merge branch 'release/3.1.35' v3.1.35 Simon Wisselink 2020-04-14 00:02:48 +02:00
  • a0abc47588 version bump Simon Wisselink 2020-04-14 00:02:39 +02:00
  • 728a584ad5 Moved changelog to a keepachangelog.com format and added a release script Simon Wisselink 2020-04-14 00:02:18 +02:00
  • 290f7cfc3d Moved the isset tests into the test suite Simon Wisselink 2020-04-13 23:44:39 +02:00
  • 48d24b7ad1 Fix repo layout for package maintainers (#571) Simon Wisselink 2020-04-13 22:32:23 +02:00
  • 19ef8342aa Strip now removes whitespaces after comment (#582) Simon Wisselink 2020-04-13 22:27:42 +02:00
  • 4f89f6d84f Throw SmartyException when setting caching attributes for cacheable plugin as compiling this would fail (#573) Simon Wisselink 2020-04-13 22:26:24 +02:00
  • a3e8c21add Merge branch 'master' into bugfix/caching_attributes_and_cacheable_plugin bugfix/caching_attributes_and_cacheable_plugin Simon Wisselink 2020-04-13 22:25:48 +02:00
  • 4396351d75 Switched to a more advanced regex to test wheter parameter is a variable (#567) Simon Wisselink 2020-04-13 22:24:29 +02:00
  • a699556bfc Changelog feaure/add_lexer_source_to_export_for_package_maintainers Simon Wisselink 2020-04-13 22:07:02 +02:00
  • 24e694f298 Remove unit tests etc from archive export Simon Wisselink 2020-04-13 22:05:54 +02:00
  • 7ffd82b2b9 Removed unit test from TODO.md as we have implemented it here bugfix/strip_doesnt_remove_whitespaces_after_comment_2 Simon Wisselink 2020-04-13 22:03:43 +02:00
  • 00a9b4da6e Merge branch 'master' into feaure/add_lexer_source_to_export_for_package_maintainers Simon Wisselink 2020-04-13 21:53:53 +02:00
  • 1d0ff652b3 Merge branch 'master' into bugfix/498_error_in_replacing_isset_with_null_check bugfix/498_error_in_replacing_isset_with_null_check Simon Wisselink 2020-04-13 21:52:29 +02:00
  • 31f6e513a0 Merge branch 'master' into bugfix/caching_attributes_and_cacheable_plugin Simon Wisselink 2020-04-13 21:46:22 +02:00
  • f5c37f09d7 add unit test and changelog bugfix/strip_doesnt_remove_whitespaces_after_comment Simon Wisselink 2020-04-13 21:37:33 +02:00
  • d43fc158ee Mark text sections as to be stripped, but do not strip them right away. Combine equivalent sections in chunks at the template level and strip combined chunks where possible. - simplified Smarty_Internal_TemplateCompilerBase::processText along the way Fixes !447 Simon Wisselink 2020-04-12 01:19:07 +02:00
  • 1961ba70dd Increased the maximum template name length to 255 characters when using a custom resource Scott Newton 2020-04-13 10:07:16 -04:00
  • 951c7a4d86 Corrected bug #578, where underscore characters were being stripped from template names when using a custom resource Scott Newton 2020-04-13 10:06:32 -04:00
  • 17d4d43624 Feature/merge smarty-phpunit into tests subfolder (#580) Simon Wisselink 2020-04-13 15:30:52 +02:00
  • a3b5e4eaf9 fix php7.4 deprecation and remove php7.4 from travis allow_failures since php7.4 is current stable feature/merge_smarty-phpunit_into_tests_subfolder Simon Wisselink 2020-04-13 00:47:34 +02:00
  • cf8b820f2c synced unit tests with master codebase, noted TODO's, fixed phpunit scripts and travis config Simon Wisselink 2020-04-13 00:38:03 +02:00
  • 5db1746129 Removed unneeded files and replace dummy.txt with .gitignore files Simon Wisselink 2020-04-13 00:03:57 +02:00
  • 57d797fa1d Merge branch 'master' of smarty-php/smarty-phpunit into feature/merge_smarty-phpunit_into_tests_subfolder Simon Wisselink 2020-04-12 23:15:47 +02:00
  • 61e7412807 Merge pull request #570 from vadimkuragkovskiy/master Simon Wisselink 2020-04-12 11:41:22 +02:00
  • 70aebc8dff Throw SmartyException when setting caching attributes for cacheable plugin as compiling this would fail. Fixes #457 Simon Wisselink 2020-02-20 23:38:53 +01:00
  • 1132af3d4d Do not ignore lexer subfolder for export as this contains source files and add smarty-lexer as a composer dev-dependency. Simon Wisselink 2020-02-16 11:47:55 +01:00
  • 38b5ac72fa fix minor typo Vadim Kuragkovskiy 2020-02-07 18:56:25 +02:00
  • 2142913e3b Add additional unit tests for several isset issues Simon Wisselink 2020-01-28 11:42:40 +01:00
  • 2bf62c0976 Switched to a more advanced regex to test wheter parameter is a variable Simon Wisselink 2020-01-28 11:04:51 +01:00
  • 34763ae316 This appears to fix #453, #498, #499 and possibly more issues. Will need further testing and unit tests. Simon Wisselink 2020-01-27 17:54:45 +01:00
  • 4b29dfce11 Merge pull request #566 from smarty-php/bugfix/506_foreachelse_on_arrayiterators Simon Wisselink 2020-01-27 16:08:35 +01:00
  • e0df3d47e2 Ignore templates_c dir Simon Wisselink 2020-01-27 16:04:04 +01:00
  • 62d772e734 Fixed broken nesting and null handling. Simon Wisselink 2020-01-27 16:02:02 +01:00
  • e1ebc2ac8e Added test for foreachelse on arrayiterators and such https://github.com/smarty-php/smarty/issues/506 Simon Wisselink 2020-01-27 16:01:22 +01:00
  • 388993e9ca Fix foreachelse on arrayiterators Keep track of main loop using a do_else variable. Fixed #506 Simon Wisselink 2020-01-27 15:24:45 +01:00
  • 97c27a0f2f Merge pull request #503 from SeahunOh/master Simon Wisselink 2020-01-26 23:49:57 +01:00
  • b2ecd98ae0 update changelog to reflect resent pull request merges Monte Ohrt 2020-01-13 18:56:03 -06:00
  • 4911f49b9c Merge pull request #535 from glensc/patch-1 mohrt 2020-01-13 18:51:34 -06:00
  • a62a7caf97 Merge pull request #540 from Hunman/master mohrt 2020-01-13 18:50:41 -06:00