mirror of
https://github.com/smarty-php/smarty.git
synced 2026-08-06 05:24:07 +02:00
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 04c247e0d1 | |||
| eadec6a3d7 | |||
| c304af8636 | |||
| 2e03a1caff | |||
| 7d40a092ac | |||
| 59bbac53bd | |||
| c3de6dc4c8 | |||
| 29fbed40d2 | |||
| 6b748d24ba | |||
| d0d1698963 |
@@ -6,12 +6,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [4.5.1] - 2024-03-18
|
||||
|
||||
|
||||
## [4.5.0] - 2024-03-18
|
||||
|
||||
|
||||
### Changed
|
||||
- Using unregistered static class methods in expressions now also triggers a deprecation notice because we will drop support for this in the next major release [#813](https://github.com/smarty-php/smarty/issues/813)
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ class Smarty extends Smarty_Internal_TemplateBase
|
||||
/**
|
||||
* smarty version
|
||||
*/
|
||||
const SMARTY_VERSION = '4.5.1';
|
||||
const SMARTY_VERSION = '4.4.1';
|
||||
/**
|
||||
* define variable scopes
|
||||
*/
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ php utilities/update-smarty-version-number.php $1
|
||||
git add changelog CHANGELOG.md libs/Smarty.class.php
|
||||
git commit -m "version bump"
|
||||
|
||||
git checkout support/4
|
||||
git checkout support/4.3
|
||||
git pull
|
||||
git merge --no-ff "release/$1"
|
||||
git branch -d "release/$1"
|
||||
|
||||
@@ -299,12 +299,4 @@ class ScopeTest extends PHPUnit_Smarty
|
||||
$this->smarty->assign('scope', 'none');
|
||||
$r = $this->smarty->fetch('test_function_scope.tpl');
|
||||
}
|
||||
|
||||
public function testFunctionScopeIsLocalByDefault()
|
||||
{
|
||||
$r = $this->smarty->fetch('string:{function name=test}{$var="b"}{/function}{$var="a"}{test}{$var}');
|
||||
$this->assertEquals('a', $r);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user