Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 2.5: (23 commits) [HttpKernel] fixed some unit tests for 2.4 (signature now uses SHA256 instead of MD5) [HttpKernel] simplified code [HttpKernel] fixed internal fragment handling fixing yaml indentation Unexpexted ));" [WebProfiler] replaced the import/export feature from the web interface to a CLI tool Forced all fragment uris to be signed, even for ESI Add tests and more assertions [FrameworkBundle][Translator] Validate locales. [HttpFoundation] added some missing tests [HttpFoundation] Improve string values in test codes [Security] Add more tests for StringUtils::equals fix comment: not fourth but sixth argument fixing typo in a comment [FrameworkBundle] fixed CS [FrameworkBundle] PhpExtractor bugfix and improvements [Finder] Fix findertest readability [Filesystem] Add FTP stream wrapper context option to enable overwrite (override) fix parsing of Authorization header Test examples from Drupal SA-CORE-2014-003 ... Conflicts: src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/admin.html.twig src/Symfony/Component/Filesystem/Filesystem.php src/Symfony/Component/HttpKernel/Fragment/EsiFragmentRenderer.php
- Loading branch information
Showing
34 changed files
with
900 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Resources/views/translation.html.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,33 @@ | ||
This template is used for translation message extraction tests | ||
<?php echo $view['translator']->trans('single-quoted key') ?> | ||
<?php echo $view['translator']->trans("double-quoted key") ?> | ||
<?php echo $view['translator']->trans(<<<EOF | ||
heredoc key | ||
EOF | ||
) ?> | ||
<?php echo $view['translator']->trans(<<<'EOF' | ||
nowdoc key | ||
EOF | ||
) ?> | ||
<?php echo $view['translator']->trans( | ||
"double-quoted key with whitespace and escaped \$\n\" sequences" | ||
) ?> | ||
<?php echo $view['translator']->trans( | ||
'single-quoted key with whitespace and nonescaped \$\n\' sequences' | ||
) ?> | ||
<?php echo $view['translator']->trans( <<<EOF | ||
heredoc key with whitespace and escaped \$\n sequences | ||
EOF | ||
) ?> | ||
<?php echo $view['translator']->trans( <<<'EOF' | ||
nowdoc key with whitespace and nonescaped \$\n sequences | ||
EOF | ||
) ?> | ||
|
||
<?php echo $view['translator']->trans('single-quoted key with "quote mark at the end"') ?> | ||
|
||
<?php echo $view['translator']->transChoice( | ||
'{0} There is no apples|{1} There is one apple|]1,Inf[ There are %count% apples', | ||
10, | ||
array('%count%' => 10) | ||
) ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.