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

Appearance settings

Commit d05023b

Browse filesBrowse 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 parents a42a872 + 5d4b5b4 commit d05023b
Copy full SHA for d05023b

File tree

Expand file treeCollapse file tree

1 file changed

+0
-18
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-18
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Templating/PhpEngine.php
-18Lines 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-
public function convertEncoding($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-
return iconv($from, $to, $string);
497-
}
498-
499481
/**
500482
* Gets the loader associated with this engine.
501483
*

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.