Skip to content

Commit

Permalink
- fix PSR-2 coding standards and PHPDoc blocks #452
Browse files Browse the repository at this point in the history
    #475
    #473
  - bugfix PHP5.2 compatibility #472
  • Loading branch information
uwetews committed Aug 19, 2018
1 parent b5e5085 commit 799b5cb
Show file tree
Hide file tree
Showing 51 changed files with 2,794 additions and 3,343 deletions.
9 changes: 8 additions & 1 deletion change_log.txt
@@ -1,4 +1,11 @@
===== 3.1.33-dev-4 =====
===== 3.1.33-dev-6 =====
19.08.2018
- fix PSR-2 coding standards and PHPDoc blocks https://github.com/smarty-php/smarty/pull/452
https://github.com/smarty-php/smarty/pull/475
https://github.com/smarty-php/smarty/pull/473
- bugfix PHP5.2 compatibility https://github.com/smarty-php/smarty/pull/472

===== 3.1.33-dev-4 =====
17.05.2018
- bugfix strip-block produces different output in Smarty v3.1.32 https://github.com/smarty-php/smarty/issues/436
- bugfix Smarty::compileAllTemplates ignores `$extension` parameter https://github.com/smarty-php/smarty/issues/437
Expand Down
2 changes: 1 addition & 1 deletion lexer/smarty_internal_configfilelexer.plex
Expand Up @@ -124,7 +124,7 @@ class Smarty_Internal_Configfilelexer
* @param string $data template source
* @param Smarty_Internal_Config_File_Compiler $compiler
*/
function __construct($data, Smarty_Internal_Config_File_Compiler $compiler)
public function __construct($data, Smarty_Internal_Config_File_Compiler $compiler)
{
$this->data = $data . "\n"; //now all lines are \n-terminated
$this->dataLength = strlen($data);
Expand Down
2 changes: 1 addition & 1 deletion lexer/smarty_internal_configfileparser.y
Expand Up @@ -89,7 +89,7 @@ class Smarty_Internal_Configfileparser
* @param Smarty_Internal_Configfilelexer $lex
* @param Smarty_Internal_Config_File_Compiler $compiler
*/
function __construct(Smarty_Internal_Configfilelexer $lex, Smarty_Internal_Config_File_Compiler $compiler)
public function __construct(Smarty_Internal_Configfilelexer $lex, Smarty_Internal_Config_File_Compiler $compiler)
{
$this->lex = $lex;
$this->smarty = $compiler->smarty;
Expand Down
2 changes: 1 addition & 1 deletion lexer/smarty_internal_templatelexer.plex
Expand Up @@ -215,7 +215,7 @@ class Smarty_Internal_Templatelexer
* @param string $source template source
* @param Smarty_Internal_TemplateCompilerBase $compiler
*/
function __construct($source, Smarty_Internal_TemplateCompilerBase $compiler)
public function __construct($source, Smarty_Internal_TemplateCompilerBase $compiler)
{
$this->data = $source;
$this->dataLength = strlen($this->data);
Expand Down
2 changes: 1 addition & 1 deletion lexer/smarty_internal_templateparser.y
Expand Up @@ -147,7 +147,7 @@ class Smarty_Internal_Templateparser
* @param Smarty_Internal_Templatelexer $lex
* @param Smarty_Internal_TemplateCompilerBase $compiler
*/
function __construct(Smarty_Internal_Templatelexer $lex, Smarty_Internal_TemplateCompilerBase $compiler)
public function __construct(Smarty_Internal_Templatelexer $lex, Smarty_Internal_TemplateCompilerBase $compiler)
{
$this->lex = $lex;
$this->compiler = $compiler;
Expand Down

0 comments on commit 799b5cb

Please sign in to comment.