Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd05023b

Browse files
committed
feature#16400 [3.0] [Templating] remove deprecated method (TomasVotruba)
This PR was merged into the 3.0-dev branch.Discussion----------[3.0] [Templating] remove deprecated method| Q | A| ------------- | ---| Bug fix? | no| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | -Commits-------5d4b5b4 PhpEngine: remove deprecated method
2 parentsa42a872 +5d4b5b4 commitd05023b

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

‎src/Symfony/Component/Templating/PhpEngine.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -478,24 +478,6 @@ function ($value) {
478478
self::$escaperCache =array();
479479
}
480480

481-
/**
482-
* Convert a string from one encoding to another.
483-
*
484-
* @param string $string The string to convert
485-
* @param string $to The input encoding
486-
* @param string $from The output encoding
487-
*
488-
* @return string The string with the new encoding
489-
*
490-
* @deprecated since 2.8, to be removed in 3.0. Use iconv() instead.
491-
*/
492-
publicfunctionconvertEncoding($string,$to,$from)
493-
{
494-
@trigger_error('The'.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0. Use iconv() instead.',E_USER_DEPRECATED);
495-
496-
returniconv($from,$to,$string);
497-
}
498-
499481
/**
500482
* Gets the loader associated with this engine.
501483
*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp