Merge branch '2.3' into 2.7
* 2.3: [travis] timeout the sigchild tests at 60s CS: Single line comments should use double slashes (//) and not hash (#). Do not use HttpKernel Extension when not needed bumped Symfony version to 2.3.37 updated VERSION for 2.3.36 update CONTRIBUTORS for 2.3.36 updated CHANGELOG for 2.3.36 use nowdoc instead of heredoc Conflicts: src/Symfony/Bundle/FrameworkBundle/Command/ConfigDumpReferenceCommand.php src/Symfony/Bundle/FrameworkBundle/Command/RouterApacheDumperCommand.php src/Symfony/Bundle/FrameworkBundle/Command/RouterMatchCommand.php src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php src/Symfony/Bundle/TwigBundle/Command/LintCommand.php src/Symfony/Component/Config/Tests/Definition/Dumper/YamlReferenceDumperTest.php src/Symfony/Component/Debug/ExceptionHandler.php src/Symfony/Component/HttpKernel/Kernel.php src/Symfony/Component/Routing/Generator/Dumper/PhpGeneratorDumper.php
This commit is contained in:
commit
a63dd194ed
2
.php_cs
2
.php_cs
@ -24,5 +24,7 @@ return Symfony\CS\Config\Config::create()
|
|||||||
->notPath('src/Symfony/Component/Yaml/Tests/Fixtures/sfTests.yml')
|
->notPath('src/Symfony/Component/Yaml/Tests/Fixtures/sfTests.yml')
|
||||||
// test template
|
// test template
|
||||||
->notPath('src/Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Resources/Custom/_name_entry_label.html.php')
|
->notPath('src/Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Resources/Custom/_name_entry_label.html.php')
|
||||||
|
// explicit heredoc test
|
||||||
|
->notPath('src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Resources/views/translation.html.php')
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
@ -60,7 +60,7 @@ install:
|
|||||||
script:
|
script:
|
||||||
- if [[ ! $deps ]]; then echo "$COMPONENTS" | parallel --gnu '$PHPUNIT --exclude-group tty,benchmark,intl-data {}'; fi;
|
- if [[ ! $deps ]]; then echo "$COMPONENTS" | parallel --gnu '$PHPUNIT --exclude-group tty,benchmark,intl-data {}'; fi;
|
||||||
- if [[ ! $deps ]]; then echo -e "\\nRunning tests requiring tty"; $PHPUNIT --group tty; fi;
|
- if [[ ! $deps ]]; then echo -e "\\nRunning tests requiring tty"; $PHPUNIT --group tty; fi;
|
||||||
- if [[ ! $deps && $TRAVIS_PHP_VERSION = ${MIN_PHP%.*} ]]; then echo -e "1\\n0" | parallel --gnu 'echo -e "\\nPHP --enable-sigchild enhanced={}" && ENHANCE_SIGCHLD={} php-$MIN_PHP/sapi/cli/php .phpunit/phpunit-4.8/phpunit --colors=always src/Symfony/Component/Process/'; fi;
|
- if [[ ! $deps && $TRAVIS_PHP_VERSION = ${MIN_PHP%.*} ]]; then echo -e "1\\n0" | parallel --gnu --timeout 60 'echo -e "\\nPHP --enable-sigchild enhanced={}" && ENHANCE_SIGCHLD={} php-$MIN_PHP/sapi/cli/php .phpunit/phpunit-4.8/phpunit --colors=always src/Symfony/Component/Process/'; fi;
|
||||||
- if [[ $deps = high ]]; then echo "$COMPONENTS" | parallel --gnu -j10% 'cd {}; composer --prefer-source update; $PHPUNIT --exclude-group tty,benchmark,intl-data'$LEGACY; fi;
|
- if [[ $deps = high ]]; then echo "$COMPONENTS" | parallel --gnu -j10% 'cd {}; composer --prefer-source update; $PHPUNIT --exclude-group tty,benchmark,intl-data'$LEGACY; fi;
|
||||||
- if [[ $deps = low ]]; then echo "$COMPONENTS" | parallel --gnu -j10% 'cd {}; composer --prefer-source --prefer-lowest --prefer-stable update; $PHPUNIT --exclude-group tty,benchmark,intl-data'; fi;
|
- if [[ $deps = low ]]; then echo "$COMPONENTS" | parallel --gnu -j10% 'cd {}; composer --prefer-source --prefer-lowest --prefer-stable update; $PHPUNIT --exclude-group tty,benchmark,intl-data'; fi;
|
||||||
- if [[ $deps = skip ]]; then echo This matrix line is skipped for pull requests.; fi;
|
- if [[ $deps = skip ]]; then echo This matrix line is skipped for pull requests.; fi;
|
||||||
|
@ -7,6 +7,34 @@ in 2.3 minor versions.
|
|||||||
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
|
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
|
||||||
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v2.3.0...v2.3.1
|
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v2.3.0...v2.3.1
|
||||||
|
|
||||||
|
* 2.3.36 (2015-12-26)
|
||||||
|
|
||||||
|
* bug #16864 [Yaml] fix indented line handling in folded blocks (xabbuh)
|
||||||
|
* bug #16826 Embedded identifier support (mihai-stancu)
|
||||||
|
* bug #17129 [Config] Fix array sort on normalization in edge case (romainneutron)
|
||||||
|
* bug #17094 [Process] More robustness and deterministic tests (nicolas-grekas)
|
||||||
|
* bug #17112 [PropertyAccess] Reorder elements array after PropertyPathBuilder::replace (alekitto)
|
||||||
|
* bug #16797 [Filesystem] Recursivly widen non-executable directories (Slamdunk)
|
||||||
|
* bug #17040 [Console] Avoid extra blank lines when rendering exceptions (ogizanagi)
|
||||||
|
* bug #17055 [Security] Verify if a password encoded with bcrypt is no longer than 72 characters (jakzal)
|
||||||
|
* bug #16959 [Form] fix #15544 when a collection type attribute "required" is false, "prototype" should too (HeahDude)
|
||||||
|
* bug #16860 [Yaml] do not remove "comments" in scalar blocks (xabbuh)
|
||||||
|
* bug #16971 [HttpFoundation] Added the ability of using BinaryFileResponse with stream wrappers (jakzal, Sander-Toonen)
|
||||||
|
* bug #17048 Fix the logout path when not using the router (stof)
|
||||||
|
* bug #17057 [FrameworkBundle][HttpKernel] the finder is required to discover bundle commands (xabbuh)
|
||||||
|
* bug #16915 [Process] Enhance compatiblity with --enable-sigchild (nicolas-grekas)
|
||||||
|
* bug #16829 [FrameworkBundle] prevent cache:clear creating too long paths (Tobion)
|
||||||
|
* bug #16870 [FrameworkBundle] Disable the server:run command when Process component is missing (gnugat, xabbuh)
|
||||||
|
* bug #16799 Improve error message for undefined DIC aliases (mpdude)
|
||||||
|
* bug #16772 Refactoring EntityUserProvider::__construct() to not do work, cause cache warm error (weaverryan)
|
||||||
|
* bug #16753 [Process] Fix signaling/stopping logic on Windows (nicolas-grekas)
|
||||||
|
* bug #16733 [Console] do not encode backslashes in console default description (Tobion)
|
||||||
|
* bug #16312 [HttpKernel] clearstatcache() so the Cache sees when a .lck file has been released (mpdude)
|
||||||
|
* bug #16695 [SecurityBundle] disable the init:acl command if ACL is not used (Tobion)
|
||||||
|
* bug #16676 [HttpFoundation] Workaround HHVM rewriting HTTP response line (nicolas-grekas)
|
||||||
|
* bug #16668 [ClassLoader] Fix parsing namespace when token_get_all() is missing (nicolas-grekas)
|
||||||
|
* bug #16386 Bug #16343 [Router] Too many Routes ? (jelte)
|
||||||
|
|
||||||
* 2.3.35 (2015-11-23)
|
* 2.3.35 (2015-11-23)
|
||||||
|
|
||||||
* security #16631 CVE-2015-8124: Session Fixation in the "Remember Me" Login Feature (xabbuh)
|
* security #16631 CVE-2015-8124: Session Fixation in the "Remember Me" Login Feature (xabbuh)
|
||||||
|
@ -13,8 +13,8 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Christophe Coevoet (stof)
|
- Christophe Coevoet (stof)
|
||||||
- Johannes S (johannes)
|
- Johannes S (johannes)
|
||||||
- Kris Wallsmith (kriswallsmith)
|
- Kris Wallsmith (kriswallsmith)
|
||||||
- Jakub Zalas (jakubzalas)
|
|
||||||
- Christian Flothmann (xabbuh)
|
- Christian Flothmann (xabbuh)
|
||||||
|
- Jakub Zalas (jakubzalas)
|
||||||
- Ryan Weaver (weaverryan)
|
- Ryan Weaver (weaverryan)
|
||||||
- Pascal Borreli (pborreli)
|
- Pascal Borreli (pborreli)
|
||||||
- Hugo Hamon (hhamon)
|
- Hugo Hamon (hhamon)
|
||||||
@ -30,8 +30,8 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Martin Hasoň (hason)
|
- Martin Hasoň (hason)
|
||||||
- Wouter De Jong (wouterj)
|
- Wouter De Jong (wouterj)
|
||||||
- Eriksen Costa (eriksencosta)
|
- Eriksen Costa (eriksencosta)
|
||||||
- Grégoire Pineau (lyrixx)
|
|
||||||
- Javier Eguiluz (javier.eguiluz)
|
- Javier Eguiluz (javier.eguiluz)
|
||||||
|
- Grégoire Pineau (lyrixx)
|
||||||
- Kévin Dunglas (dunglas)
|
- Kévin Dunglas (dunglas)
|
||||||
- Jonathan Wage (jwage)
|
- Jonathan Wage (jwage)
|
||||||
- Alexandre Salomé (alexandresalome)
|
- Alexandre Salomé (alexandresalome)
|
||||||
@ -49,17 +49,17 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Konstantin Kudryashov (everzet)
|
- Konstantin Kudryashov (everzet)
|
||||||
- Bilal Amarni (bamarni)
|
- Bilal Amarni (bamarni)
|
||||||
- Florin Patan (florinpatan)
|
- Florin Patan (florinpatan)
|
||||||
|
- Maxime Steinhausser (ogizanagi)
|
||||||
- Eric Clemmons (ericclemmons)
|
- Eric Clemmons (ericclemmons)
|
||||||
- Andrej Hudec (pulzarraider)
|
- Andrej Hudec (pulzarraider)
|
||||||
- Maxime Steinhausser (ogizanagi)
|
|
||||||
- Deni
|
- Deni
|
||||||
- Henrik Westphal (snc)
|
- Henrik Westphal (snc)
|
||||||
- Dariusz Górecki (canni)
|
- Dariusz Górecki (canni)
|
||||||
- Gábor Egyed (1ed)
|
- Gábor Egyed (1ed)
|
||||||
- Christian Raue
|
- Christian Raue
|
||||||
|
- Michel Weimerskirch (mweimerskirch)
|
||||||
- Arnout Boks (aboks)
|
- Arnout Boks (aboks)
|
||||||
- Kevin Bond (kbond)
|
- Kevin Bond (kbond)
|
||||||
- Michel Weimerskirch (mweimerskirch)
|
|
||||||
- Douglas Greenshields (shieldo)
|
- Douglas Greenshields (shieldo)
|
||||||
- Lee McDermott
|
- Lee McDermott
|
||||||
- Brandon Turner
|
- Brandon Turner
|
||||||
@ -67,11 +67,11 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Daniel Holmes (dholmes)
|
- Daniel Holmes (dholmes)
|
||||||
- Bart van den Burg (burgov)
|
- Bart van den Burg (burgov)
|
||||||
- Jordan Alliot (jalliot)
|
- Jordan Alliot (jalliot)
|
||||||
|
- Matthias Pigulla (mpdude)
|
||||||
- John Wards (johnwards)
|
- John Wards (johnwards)
|
||||||
- Fran Moreno (franmomu)
|
- Fran Moreno (franmomu)
|
||||||
- Antoine Hérault (herzult)
|
- Antoine Hérault (herzult)
|
||||||
- Toni Uebernickel (havvg)
|
- Toni Uebernickel (havvg)
|
||||||
- Matthias Pigulla (mpdude)
|
|
||||||
- Arnaud Le Blanc (arnaud-lb)
|
- Arnaud Le Blanc (arnaud-lb)
|
||||||
- Tim Nagel (merk)
|
- Tim Nagel (merk)
|
||||||
- Brice BERNARD (brikou)
|
- Brice BERNARD (brikou)
|
||||||
@ -80,21 +80,21 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- lenar
|
- lenar
|
||||||
- Graham Campbell (graham)
|
- Graham Campbell (graham)
|
||||||
- Włodzimierz Gajda (gajdaw)
|
- Włodzimierz Gajda (gajdaw)
|
||||||
|
- Michal Piotrowski (eventhorizon)
|
||||||
- Florian Voutzinos (florianv)
|
- Florian Voutzinos (florianv)
|
||||||
|
- Peter Rehm (rpet)
|
||||||
- Colin Frei
|
- Colin Frei
|
||||||
- Adrien Brault (adrienbrault)
|
- Adrien Brault (adrienbrault)
|
||||||
- excelwebzone
|
- excelwebzone
|
||||||
- Jacob Dreesen (jdreesen)
|
- Jacob Dreesen (jdreesen)
|
||||||
- Michal Piotrowski (eventhorizon)
|
- Dariusz Ruminski
|
||||||
- Peter Kokot (maastermedia)
|
- Peter Kokot (maastermedia)
|
||||||
- Fabien Pennequin (fabienpennequin)
|
- Fabien Pennequin (fabienpennequin)
|
||||||
- Peter Rehm (rpet)
|
|
||||||
- Pierre du Plessis (pierredup)
|
- Pierre du Plessis (pierredup)
|
||||||
- Alexander Schwenn (xelaris)
|
- Alexander Schwenn (xelaris)
|
||||||
- Gordon Franke (gimler)
|
- Gordon Franke (gimler)
|
||||||
- Robert Schönthal (digitalkaoz)
|
- Robert Schönthal (digitalkaoz)
|
||||||
- Jérémy DERUSSÉ (jderusse)
|
- Jérémy DERUSSÉ (jderusse)
|
||||||
- Dariusz Ruminski
|
|
||||||
- Joshua Thijssen
|
- Joshua Thijssen
|
||||||
- Stefano Sala (stefano.sala)
|
- Stefano Sala (stefano.sala)
|
||||||
- David Buchmann (dbu)
|
- David Buchmann (dbu)
|
||||||
@ -112,12 +112,15 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Sebastiaan Stok (sstok)
|
- Sebastiaan Stok (sstok)
|
||||||
- Rafael Dohms (rdohms)
|
- Rafael Dohms (rdohms)
|
||||||
- Arnaud Kleinpeter (nanocom)
|
- Arnaud Kleinpeter (nanocom)
|
||||||
|
- Alexander M. Turek (derrabus)
|
||||||
- Tigran Azatyan (tigranazatyan)
|
- Tigran Azatyan (tigranazatyan)
|
||||||
- Richard Shank (iampersistent)
|
- Richard Shank (iampersistent)
|
||||||
|
- Charles Sarrazin (csarrazi)
|
||||||
- Clemens Tolboom
|
- Clemens Tolboom
|
||||||
- Helmer Aaviksoo
|
- Helmer Aaviksoo
|
||||||
- Baptiste Clavié (talus)
|
- Baptiste Clavié (talus)
|
||||||
- Tugdual Saunier (tucksaun)
|
- Tugdual Saunier (tucksaun)
|
||||||
|
- Andréia Bohner (andreia)
|
||||||
- Hiromi Hishida (77web)
|
- Hiromi Hishida (77web)
|
||||||
- Matthieu Ouellette-Vachon (maoueh)
|
- Matthieu Ouellette-Vachon (maoueh)
|
||||||
- Michał Pipa (michal.pipa)
|
- Michał Pipa (michal.pipa)
|
||||||
@ -125,9 +128,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Jonathan Ingram (jonathaningram)
|
- Jonathan Ingram (jonathaningram)
|
||||||
- Artur Kotyrba
|
- Artur Kotyrba
|
||||||
- Rouven Weßling (realityking)
|
- Rouven Weßling (realityking)
|
||||||
- Charles Sarrazin (csarrazi)
|
|
||||||
- Warnar Boekkooi (boekkooi)
|
- Warnar Boekkooi (boekkooi)
|
||||||
- Andréia Bohner (andreia)
|
|
||||||
- Dmitrii Chekaliuk (lazyhammer)
|
- Dmitrii Chekaliuk (lazyhammer)
|
||||||
- Clément JOBEILI (dator)
|
- Clément JOBEILI (dator)
|
||||||
- Dorian Villet (gnutix)
|
- Dorian Villet (gnutix)
|
||||||
@ -135,19 +136,19 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Richard Miller (mr_r_miller)
|
- Richard Miller (mr_r_miller)
|
||||||
- hacfi (hifi)
|
- hacfi (hifi)
|
||||||
- Mario A. Alvarez Garcia (nomack84)
|
- Mario A. Alvarez Garcia (nomack84)
|
||||||
|
- Thomas Rabaix (rande)
|
||||||
- Dennis Benkert (denderello)
|
- Dennis Benkert (denderello)
|
||||||
- Alexander M. Turek (derrabus)
|
|
||||||
- Konstantin Myakshin (koc)
|
- Konstantin Myakshin (koc)
|
||||||
- Benjamin Dulau (dbenjamin)
|
- Benjamin Dulau (dbenjamin)
|
||||||
- Andreas Hucks (meandmymonkey)
|
- Andreas Hucks (meandmymonkey)
|
||||||
- Mikael Pajunen
|
- Mikael Pajunen
|
||||||
- Noel Guilbert (noel)
|
- Noel Guilbert (noel)
|
||||||
- Joel Wurtz (brouznouf)
|
- Joel Wurtz (brouznouf)
|
||||||
|
- Evgeniy (ewgraf)
|
||||||
- bronze1man
|
- bronze1man
|
||||||
- sun (sun)
|
- sun (sun)
|
||||||
- Larry Garfield (crell)
|
- Larry Garfield (crell)
|
||||||
- Martin Schuhfuß (usefulthink)
|
- Martin Schuhfuß (usefulthink)
|
||||||
- Thomas Rabaix (rande)
|
|
||||||
- Matthieu Bontemps (mbontemps)
|
- Matthieu Bontemps (mbontemps)
|
||||||
- Pierre Minnieur (pminnieur)
|
- Pierre Minnieur (pminnieur)
|
||||||
- fivestar
|
- fivestar
|
||||||
@ -163,7 +164,6 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Lars Strojny (lstrojny)
|
- Lars Strojny (lstrojny)
|
||||||
- Daniel Wehner
|
- Daniel Wehner
|
||||||
- Rui Marinho (ruimarinho)
|
- Rui Marinho (ruimarinho)
|
||||||
- Evgeniy (ewgraf)
|
|
||||||
- Julien Brochet (mewt)
|
- Julien Brochet (mewt)
|
||||||
- Sergey Linnik (linniksa)
|
- Sergey Linnik (linniksa)
|
||||||
- Jáchym Toušek
|
- Jáchym Toušek
|
||||||
@ -244,6 +244,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Julien Galenski (ruian)
|
- Julien Galenski (ruian)
|
||||||
- Bongiraud Dominique
|
- Bongiraud Dominique
|
||||||
- janschoenherr
|
- janschoenherr
|
||||||
|
- Jannik Zschiesche (apfelbox)
|
||||||
- Thomas Schulz (king2500)
|
- Thomas Schulz (king2500)
|
||||||
- Marco Pivetta (ocramius)
|
- Marco Pivetta (ocramius)
|
||||||
- Ricard Clau (ricardclau)
|
- Ricard Clau (ricardclau)
|
||||||
@ -252,6 +253,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Erin Millard
|
- Erin Millard
|
||||||
- Matthew Lewinski (lewinski)
|
- Matthew Lewinski (lewinski)
|
||||||
- Antonio J. García Lagar (ajgarlag)
|
- Antonio J. García Lagar (ajgarlag)
|
||||||
|
- Roumen Damianoff (roumen)
|
||||||
- alquerci
|
- alquerci
|
||||||
- Francesco Levorato
|
- Francesco Levorato
|
||||||
- Vitaliy Zakharov (zakharovvi)
|
- Vitaliy Zakharov (zakharovvi)
|
||||||
@ -273,7 +275,9 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Stéphane PY (steph_py)
|
- Stéphane PY (steph_py)
|
||||||
- Philipp Kräutli (pkraeutli)
|
- Philipp Kräutli (pkraeutli)
|
||||||
- Kirill chEbba Chebunin (chebba)
|
- Kirill chEbba Chebunin (chebba)
|
||||||
|
- Filippo Tessarotto
|
||||||
- Greg Thornton (xdissent)
|
- Greg Thornton (xdissent)
|
||||||
|
- jeremyFreeAgent (jeremyfreeagent)
|
||||||
- Costin Bereveanu (schniper)
|
- Costin Bereveanu (schniper)
|
||||||
- Loïc Chardonnet (gnusat)
|
- Loïc Chardonnet (gnusat)
|
||||||
- Marek Kalnik (marekkalnik)
|
- Marek Kalnik (marekkalnik)
|
||||||
@ -306,7 +310,6 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Christophe L. (christophelau)
|
- Christophe L. (christophelau)
|
||||||
- Massimiliano Arione (garak)
|
- Massimiliano Arione (garak)
|
||||||
- Anthon Pang (robocoder)
|
- Anthon Pang (robocoder)
|
||||||
- Jannik Zschiesche (apfelbox)
|
|
||||||
- Emanuele Gaspari (inmarelibero)
|
- Emanuele Gaspari (inmarelibero)
|
||||||
- Dariusz Rumiński
|
- Dariusz Rumiński
|
||||||
- Brian King
|
- Brian King
|
||||||
@ -321,9 +324,10 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Markus Bachmann (baachi)
|
- Markus Bachmann (baachi)
|
||||||
- lancergr
|
- lancergr
|
||||||
- Olivier Dolbeau (odolbeau)
|
- Olivier Dolbeau (odolbeau)
|
||||||
- Roumen Damianoff (roumen)
|
- Ben Davies (bendavies)
|
||||||
- vagrant
|
- vagrant
|
||||||
- Asier Illarramendi (doup)
|
- Asier Illarramendi (doup)
|
||||||
|
- Artur Melo (restless)
|
||||||
- Chris Sedlmayr (catchamonkey)
|
- Chris Sedlmayr (catchamonkey)
|
||||||
- Seb Koelen
|
- Seb Koelen
|
||||||
- Christoph Mewes (xrstf)
|
- Christoph Mewes (xrstf)
|
||||||
@ -348,10 +352,11 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Sebastian Bergmann
|
- Sebastian Bergmann
|
||||||
- Pablo Díez (pablodip)
|
- Pablo Díez (pablodip)
|
||||||
- Kevin McBride
|
- Kevin McBride
|
||||||
|
- Ener-Getick (energetick)
|
||||||
- Philipp Rieber (bicpi)
|
- Philipp Rieber (bicpi)
|
||||||
- Manuel de Ruiter (manuel)
|
- Manuel de Ruiter (manuel)
|
||||||
- Jérémy Romey (jeremyfreeagent)
|
|
||||||
- Eduardo Oliveira (entering)
|
- Eduardo Oliveira (entering)
|
||||||
|
- Eugene Wissner
|
||||||
- Iker Ibarguren (ikerib)
|
- Iker Ibarguren (ikerib)
|
||||||
- Ricardo Oliveira (ricardolotr)
|
- Ricardo Oliveira (ricardolotr)
|
||||||
- ondrowan
|
- ondrowan
|
||||||
@ -406,6 +411,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Lenar Lõhmus
|
- Lenar Lõhmus
|
||||||
- Benjamin Laugueux (yzalis)
|
- Benjamin Laugueux (yzalis)
|
||||||
- Zach Badgett (zachbadgett)
|
- Zach Badgett (zachbadgett)
|
||||||
|
- Loïc Faugeron
|
||||||
- Aurélien Fredouelle
|
- Aurélien Fredouelle
|
||||||
- Pavel Campr (pcampr)
|
- Pavel Campr (pcampr)
|
||||||
- Johnny Robeson (johnny)
|
- Johnny Robeson (johnny)
|
||||||
@ -435,6 +441,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Åsmund Garfors
|
- Åsmund Garfors
|
||||||
- Maxime Douailin
|
- Maxime Douailin
|
||||||
- Gregor Harlan
|
- Gregor Harlan
|
||||||
|
- Michael Hirschler (mvhirsch)
|
||||||
- Javier López (loalf)
|
- Javier López (loalf)
|
||||||
- Reinier Kip
|
- Reinier Kip
|
||||||
- Dustin Dobervich (dustin10)
|
- Dustin Dobervich (dustin10)
|
||||||
@ -465,7 +472,6 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Sascha Grossenbacher
|
- Sascha Grossenbacher
|
||||||
- Szijarto Tamas
|
- Szijarto Tamas
|
||||||
- Benjamin Zikarsky (bzikarsky)
|
- Benjamin Zikarsky (bzikarsky)
|
||||||
- Ben Davies (bendavies)
|
|
||||||
- Mickaël Andrieu (mickaelandrieu)
|
- Mickaël Andrieu (mickaelandrieu)
|
||||||
- Simon Schick (simonsimcity)
|
- Simon Schick (simonsimcity)
|
||||||
- redstar504
|
- redstar504
|
||||||
@ -485,13 +491,13 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Mark Sonnabaum
|
- Mark Sonnabaum
|
||||||
- Alexander Obuhovich (aik099)
|
- Alexander Obuhovich (aik099)
|
||||||
- jochenvdv
|
- jochenvdv
|
||||||
- Filippo Tessarotto
|
|
||||||
- Arturas Smorgun (asarturas)
|
- Arturas Smorgun (asarturas)
|
||||||
- Alexander Volochnev (exelenz)
|
- Alexander Volochnev (exelenz)
|
||||||
- Michael Piecko
|
- Michael Piecko
|
||||||
- yclian
|
- yclian
|
||||||
- Sergio Santoro
|
- Sergio Santoro
|
||||||
- Sebastian Grodzicki (sgrodzicki)
|
- Sebastian Grodzicki (sgrodzicki)
|
||||||
|
- Martin Hujer (martinhujer)
|
||||||
- Pascal Helfenstein
|
- Pascal Helfenstein
|
||||||
- Baldur Rensch (brensch)
|
- Baldur Rensch (brensch)
|
||||||
- Vladyslav Petrovych
|
- Vladyslav Petrovych
|
||||||
@ -521,6 +527,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Benoit Lévêque (benoit_leveque)
|
- Benoit Lévêque (benoit_leveque)
|
||||||
- Jeroen Fiege (fieg)
|
- Jeroen Fiege (fieg)
|
||||||
- Krzysiek Łabuś
|
- Krzysiek Łabuś
|
||||||
|
- Ilya Antipenko (aivus)
|
||||||
- Nicolas Dewez (nicolas_dewez)
|
- Nicolas Dewez (nicolas_dewez)
|
||||||
- Xavier Lacot (xavier)
|
- Xavier Lacot (xavier)
|
||||||
- Olivier Maisonneuve (olineuve)
|
- Olivier Maisonneuve (olineuve)
|
||||||
@ -532,7 +539,6 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- fago
|
- fago
|
||||||
- Harm van Tilborg
|
- Harm van Tilborg
|
||||||
- Jan Prieser
|
- Jan Prieser
|
||||||
- Artur Melo (restless)
|
|
||||||
- James Michael DuPont
|
- James Michael DuPont
|
||||||
- Tom Klingenberg
|
- Tom Klingenberg
|
||||||
- Christopher Hall (mythmakr)
|
- Christopher Hall (mythmakr)
|
||||||
@ -628,6 +634,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- xaav
|
- xaav
|
||||||
- Jean-Christophe Cuvelier [Artack]
|
- Jean-Christophe Cuvelier [Artack]
|
||||||
- Mahmoud Mostafa (mahmoud)
|
- Mahmoud Mostafa (mahmoud)
|
||||||
|
- Pieter
|
||||||
- Michael Tibben
|
- Michael Tibben
|
||||||
- Sander Marechal
|
- Sander Marechal
|
||||||
- Radosław Benkel
|
- Radosław Benkel
|
||||||
@ -635,7 +642,6 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Mei Gwilym (meigwilym)
|
- Mei Gwilym (meigwilym)
|
||||||
- Michael H. Arieli (excelwebzone)
|
- Michael H. Arieli (excelwebzone)
|
||||||
- Luciano Mammino (loige)
|
- Luciano Mammino (loige)
|
||||||
- Michael Hirschler (mvhirsch)
|
|
||||||
- fabios
|
- fabios
|
||||||
- Jérôme Vasseur
|
- Jérôme Vasseur
|
||||||
- Sander Coolen (scoolen)
|
- Sander Coolen (scoolen)
|
||||||
@ -646,6 +652,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Irmantas Šiupšinskas (irmantas)
|
- Irmantas Šiupšinskas (irmantas)
|
||||||
- Charles-Henri Bruyand
|
- Charles-Henri Bruyand
|
||||||
- Danilo Silva
|
- Danilo Silva
|
||||||
|
- Konstantin S. M. Möllers (ksmmoellers)
|
||||||
- Zachary Tong (polyfractal)
|
- Zachary Tong (polyfractal)
|
||||||
- Hryhorii Hrebiniuk
|
- Hryhorii Hrebiniuk
|
||||||
- dantleech
|
- dantleech
|
||||||
@ -748,7 +755,6 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Brooks Boyd
|
- Brooks Boyd
|
||||||
- Roger Webb
|
- Roger Webb
|
||||||
- Dmitriy Simushev
|
- Dmitriy Simushev
|
||||||
- Martin Hujer (martinhujer)
|
|
||||||
- Max Voloshin (maxvoloshin)
|
- Max Voloshin (maxvoloshin)
|
||||||
- Nicolas Fabre (nfabre)
|
- Nicolas Fabre (nfabre)
|
||||||
- Raul Rodriguez (raul782)
|
- Raul Rodriguez (raul782)
|
||||||
@ -765,6 +771,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Philipp Strube
|
- Philipp Strube
|
||||||
- Christian Sciberras
|
- Christian Sciberras
|
||||||
- Anton Bakai
|
- Anton Bakai
|
||||||
|
- Chad Sikorra (chadsikorra)
|
||||||
- Clement Herreman (clemherreman)
|
- Clement Herreman (clemherreman)
|
||||||
- Nyro (nyro)
|
- Nyro (nyro)
|
||||||
- Trent Steel (trsteel88)
|
- Trent Steel (trsteel88)
|
||||||
@ -779,6 +786,8 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Jakub Kulhan
|
- Jakub Kulhan
|
||||||
- Mo Di (modi)
|
- Mo Di (modi)
|
||||||
- Jeroen van den Enden (stoefke)
|
- Jeroen van den Enden (stoefke)
|
||||||
|
- Christian Wahler
|
||||||
|
- Jelte Steijaert (jelte)
|
||||||
- Quique Porta (quiqueporta)
|
- Quique Porta (quiqueporta)
|
||||||
- Tomasz Szymczyk (karion)
|
- Tomasz Szymczyk (karion)
|
||||||
- ConneXNL
|
- ConneXNL
|
||||||
@ -796,6 +805,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Sebastian Göttschkes (sgoettschkes)
|
- Sebastian Göttschkes (sgoettschkes)
|
||||||
- Tatsuya Tsuruoka
|
- Tatsuya Tsuruoka
|
||||||
- Ross Tuck
|
- Ross Tuck
|
||||||
|
- Zander Baldwin
|
||||||
- Kévin Gomez (kevin)
|
- Kévin Gomez (kevin)
|
||||||
- azine
|
- azine
|
||||||
- Dawid Sajdak
|
- Dawid Sajdak
|
||||||
@ -835,11 +845,14 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- m.chwedziak
|
- m.chwedziak
|
||||||
- Philip Frank
|
- Philip Frank
|
||||||
- Lance McNearney
|
- Lance McNearney
|
||||||
|
- Dominik Ritter (dritter)
|
||||||
- Frank Neff (fneff)
|
- Frank Neff (fneff)
|
||||||
|
- Roman Lapin (memphys)
|
||||||
- Giorgio Premi
|
- Giorgio Premi
|
||||||
- caponica
|
- caponica
|
||||||
- Matt Daum (daum)
|
- Matt Daum (daum)
|
||||||
- Alberto Pirovano (geezmo)
|
- Alberto Pirovano (geezmo)
|
||||||
|
- Jules Pietri (heah)
|
||||||
- Pete Mitchell (peterjmit)
|
- Pete Mitchell (peterjmit)
|
||||||
- Tom Corrigan (tomcorrigan)
|
- Tom Corrigan (tomcorrigan)
|
||||||
- Martin Pärtel
|
- Martin Pärtel
|
||||||
@ -868,6 +881,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Adrien Samson (adriensamson)
|
- Adrien Samson (adriensamson)
|
||||||
- Samuel Gordalina (gordalina)
|
- Samuel Gordalina (gordalina)
|
||||||
- Max Romanovsky (maxromanovsky)
|
- Max Romanovsky (maxromanovsky)
|
||||||
|
- Dariusz Ruminski
|
||||||
- Mathieu Morlon
|
- Mathieu Morlon
|
||||||
- Daniel Tschinder
|
- Daniel Tschinder
|
||||||
- Rafał Muszyński (rafmus90)
|
- Rafał Muszyński (rafmus90)
|
||||||
@ -948,6 +962,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- 2manypeople
|
- 2manypeople
|
||||||
- Wing
|
- Wing
|
||||||
- Thomas Bibb
|
- Thomas Bibb
|
||||||
|
- Alessandro Chitolina
|
||||||
- Matt Farmer
|
- Matt Farmer
|
||||||
- catch
|
- catch
|
||||||
- Alexandre Segura
|
- Alexandre Segura
|
||||||
@ -977,6 +992,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- nuncanada
|
- nuncanada
|
||||||
- flack
|
- flack
|
||||||
- František Bereň
|
- František Bereň
|
||||||
|
- Almog Baku (almogbaku)
|
||||||
- Christoph Nissle (derstoffel)
|
- Christoph Nissle (derstoffel)
|
||||||
- Ionel Scutelnicu (ionelscutelnicu)
|
- Ionel Scutelnicu (ionelscutelnicu)
|
||||||
- Nicolas Tallefourtané (nicolab)
|
- Nicolas Tallefourtané (nicolab)
|
||||||
@ -1046,6 +1062,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Drew Butler
|
- Drew Butler
|
||||||
- J Bruni
|
- J Bruni
|
||||||
- Alexey Prilipko
|
- Alexey Prilipko
|
||||||
|
- Oleg Voronkovich
|
||||||
- bertillon
|
- bertillon
|
||||||
- Victor Bocharsky (bocharsky_bw)
|
- Victor Bocharsky (bocharsky_bw)
|
||||||
- Luca Genuzio (genuzio)
|
- Luca Genuzio (genuzio)
|
||||||
@ -1092,6 +1109,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Alex Pods
|
- Alex Pods
|
||||||
- hadriengem
|
- hadriengem
|
||||||
- timaschew
|
- timaschew
|
||||||
|
- Jelle Kapitein
|
||||||
- Ian Phillips
|
- Ian Phillips
|
||||||
- Haritz
|
- Haritz
|
||||||
- Matthieu Prat
|
- Matthieu Prat
|
||||||
@ -1104,6 +1122,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- David Windell
|
- David Windell
|
||||||
- Gabriel Birke
|
- Gabriel Birke
|
||||||
- skafandri
|
- skafandri
|
||||||
|
- NothingWeAre
|
||||||
- Alan Chen
|
- Alan Chen
|
||||||
- Maerlyn
|
- Maerlyn
|
||||||
- Even André Fiskvik
|
- Even André Fiskvik
|
||||||
@ -1112,6 +1131,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Lenar Lõhmus
|
- Lenar Lõhmus
|
||||||
- Cristian Gonzalez
|
- Cristian Gonzalez
|
||||||
- AlberT
|
- AlberT
|
||||||
|
- hainey
|
||||||
- Juan M Martínez
|
- Juan M Martínez
|
||||||
- Gilles Gauthier
|
- Gilles Gauthier
|
||||||
- ddebree
|
- ddebree
|
||||||
@ -1121,6 +1141,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- possum
|
- possum
|
||||||
- Rafał
|
- Rafał
|
||||||
- Adria Lopez (adlpz)
|
- Adria Lopez (adlpz)
|
||||||
|
- Andreas Schempp (aschempp)
|
||||||
- Rosio (ben-rosio)
|
- Rosio (ben-rosio)
|
||||||
- Simon Paarlberg (blamh)
|
- Simon Paarlberg (blamh)
|
||||||
- Jeroen Thora (bolle)
|
- Jeroen Thora (bolle)
|
||||||
@ -1147,7 +1168,9 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Pablo Monterde Perez (plebs)
|
- Pablo Monterde Perez (plebs)
|
||||||
- Jimmy Leger (redpanda)
|
- Jimmy Leger (redpanda)
|
||||||
- Pavel Batanov (scaytrase)
|
- Pavel Batanov (scaytrase)
|
||||||
|
- Simone Di Maulo (toretto460)
|
||||||
- Cyrille Jouineau (tuxosaurus)
|
- Cyrille Jouineau (tuxosaurus)
|
||||||
|
- Sander Toonen (xatoo)
|
||||||
- Yorkie Chadwick (yorkie76)
|
- Yorkie Chadwick (yorkie76)
|
||||||
- Yanick Witschi
|
- Yanick Witschi
|
||||||
- Ondrej Mirtes
|
- Ondrej Mirtes
|
||||||
@ -1197,6 +1220,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Vladimir Sazhin
|
- Vladimir Sazhin
|
||||||
- lol768
|
- lol768
|
||||||
- jamogon
|
- jamogon
|
||||||
|
- Antoine LA
|
||||||
- Vyacheslav Slinko
|
- Vyacheslav Slinko
|
||||||
- Johannes
|
- Johannes
|
||||||
- Jörg Rühl
|
- Jörg Rühl
|
||||||
@ -1219,7 +1243,6 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Sam Williams
|
- Sam Williams
|
||||||
- Adrian Philipp
|
- Adrian Philipp
|
||||||
- James Michael DuPont
|
- James Michael DuPont
|
||||||
- Eugene Wissner
|
|
||||||
- Kasperki
|
- Kasperki
|
||||||
- Tammy D
|
- Tammy D
|
||||||
- Ondrej Slinták
|
- Ondrej Slinták
|
||||||
@ -1237,6 +1260,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Pierre-Louis LAUNAY
|
- Pierre-Louis LAUNAY
|
||||||
- djama
|
- djama
|
||||||
- Eduardo Conceição
|
- Eduardo Conceição
|
||||||
|
- Sébastien Santoro
|
||||||
- Jon Cave
|
- Jon Cave
|
||||||
- Sébastien HOUZE
|
- Sébastien HOUZE
|
||||||
- Abdulkadir N. A.
|
- Abdulkadir N. A.
|
||||||
@ -1248,6 +1272,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Norman Soetbeer
|
- Norman Soetbeer
|
||||||
- Benjamin Long
|
- Benjamin Long
|
||||||
- Matt Janssen
|
- Matt Janssen
|
||||||
|
- Jeremy Benoist
|
||||||
- Peter Gribanov
|
- Peter Gribanov
|
||||||
- kwiateusz
|
- kwiateusz
|
||||||
- David Soria Parra
|
- David Soria Parra
|
||||||
@ -1267,6 +1292,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Dawid Nowak
|
- Dawid Nowak
|
||||||
- Richard Quadling
|
- Richard Quadling
|
||||||
- Karolis Daužickas
|
- Karolis Daužickas
|
||||||
|
- Baptiste Lafontaine
|
||||||
- tirnanog06
|
- tirnanog06
|
||||||
- phc
|
- phc
|
||||||
- Дмитрий Пацура
|
- Дмитрий Пацура
|
||||||
@ -1314,6 +1340,7 @@ Symfony is the result of the work of many people who made the code better
|
|||||||
- Ismail Faizi (kanafghan)
|
- Ismail Faizi (kanafghan)
|
||||||
- Sébastien Armand (khepin)
|
- Sébastien Armand (khepin)
|
||||||
- Krzysztof Menżyk (krymen)
|
- Krzysztof Menżyk (krymen)
|
||||||
|
- Krzysztof Piasecki (krzysztek)
|
||||||
- samuel laulhau (lalop)
|
- samuel laulhau (lalop)
|
||||||
- Laurent Bachelier (laurentb)
|
- Laurent Bachelier (laurentb)
|
||||||
- Jérôme Parmentier (lctrs)
|
- Jérôme Parmentier (lctrs)
|
||||||
|
@ -38,7 +38,7 @@ class AssetsInstallCommand extends ContainerAwareCommand
|
|||||||
->addOption('symlink', null, InputOption::VALUE_NONE, 'Symlinks the assets instead of copying it')
|
->addOption('symlink', null, InputOption::VALUE_NONE, 'Symlinks the assets instead of copying it')
|
||||||
->addOption('relative', null, InputOption::VALUE_NONE, 'Make relative symlinks')
|
->addOption('relative', null, InputOption::VALUE_NONE, 'Make relative symlinks')
|
||||||
->setDescription('Installs bundles web assets under a public web directory')
|
->setDescription('Installs bundles web assets under a public web directory')
|
||||||
->setHelp(<<<EOT
|
->setHelp(<<<'EOT'
|
||||||
The <info>%command.name%</info> command installs bundle assets into a given
|
The <info>%command.name%</info> command installs bundle assets into a given
|
||||||
directory (e.g. the <comment>web</comment> directory).
|
directory (e.g. the <comment>web</comment> directory).
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ class CacheClearCommand extends ContainerAwareCommand
|
|||||||
new InputOption('no-optional-warmers', '', InputOption::VALUE_NONE, 'Skip optional cache warmers (faster)'),
|
new InputOption('no-optional-warmers', '', InputOption::VALUE_NONE, 'Skip optional cache warmers (faster)'),
|
||||||
))
|
))
|
||||||
->setDescription('Clears the cache')
|
->setDescription('Clears the cache')
|
||||||
->setHelp(<<<EOF
|
->setHelp(<<<'EOF'
|
||||||
The <info>%command.name%</info> command clears the application cache for a given environment
|
The <info>%command.name%</info> command clears the application cache for a given environment
|
||||||
and debug mode:
|
and debug mode:
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ class CacheWarmupCommand extends ContainerAwareCommand
|
|||||||
new InputOption('no-optional-warmers', '', InputOption::VALUE_NONE, 'Skip optional cache warmers (faster)'),
|
new InputOption('no-optional-warmers', '', InputOption::VALUE_NONE, 'Skip optional cache warmers (faster)'),
|
||||||
))
|
))
|
||||||
->setDescription('Warms up an empty cache')
|
->setDescription('Warms up an empty cache')
|
||||||
->setHelp(<<<EOF
|
->setHelp(<<<'EOF'
|
||||||
The <info>%command.name%</info> command warms up the cache.
|
The <info>%command.name%</info> command warms up the cache.
|
||||||
|
|
||||||
Before running this command, the cache must be empty.
|
Before running this command, the cache must be empty.
|
||||||
|
@ -40,7 +40,7 @@ class ConfigDumpReferenceCommand extends AbstractConfigCommand
|
|||||||
new InputOption('format', null, InputOption::VALUE_REQUIRED, 'The output format (yaml or xml)', 'yaml'),
|
new InputOption('format', null, InputOption::VALUE_REQUIRED, 'The output format (yaml or xml)', 'yaml'),
|
||||||
))
|
))
|
||||||
->setDescription('Dumps the default configuration for an extension')
|
->setDescription('Dumps the default configuration for an extension')
|
||||||
->setHelp(<<<EOF
|
->setHelp(<<<'EOF'
|
||||||
The <info>%command.name%</info> command dumps the default configuration for an
|
The <info>%command.name%</info> command dumps the default configuration for an
|
||||||
extension/bundle.
|
extension/bundle.
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ class ContainerDebugCommand extends ContainerAwareCommand
|
|||||||
new InputOption('raw', null, InputOption::VALUE_NONE, 'To output raw description'),
|
new InputOption('raw', null, InputOption::VALUE_NONE, 'To output raw description'),
|
||||||
))
|
))
|
||||||
->setDescription('Displays current services for an application')
|
->setDescription('Displays current services for an application')
|
||||||
->setHelp(<<<EOF
|
->setHelp(<<<'EOF'
|
||||||
The <info>%command.name%</info> command displays all configured <comment>public</comment> services:
|
The <info>%command.name%</info> command displays all configured <comment>public</comment> services:
|
||||||
|
|
||||||
<info>php %command.full_name%</info>
|
<info>php %command.full_name%</info>
|
||||||
|
@ -57,7 +57,7 @@ class RouterApacheDumperCommand extends ContainerAwareCommand
|
|||||||
new InputOption('base-uri', null, InputOption::VALUE_REQUIRED, 'The base URI'),
|
new InputOption('base-uri', null, InputOption::VALUE_REQUIRED, 'The base URI'),
|
||||||
))
|
))
|
||||||
->setDescription('[DEPRECATED] Dumps all routes as Apache rewrite rules')
|
->setDescription('[DEPRECATED] Dumps all routes as Apache rewrite rules')
|
||||||
->setHelp(<<<EOF
|
->setHelp(<<<'EOF'
|
||||||
The <info>%command.name%</info> dumps all routes as Apache rewrite rules.
|
The <info>%command.name%</info> dumps all routes as Apache rewrite rules.
|
||||||
These can then be used with the ApacheUrlMatcher to use Apache for route
|
These can then be used with the ApacheUrlMatcher to use Apache for route
|
||||||
matching.
|
matching.
|
||||||
|
@ -60,7 +60,7 @@ class RouterDebugCommand extends ContainerAwareCommand
|
|||||||
new InputOption('raw', null, InputOption::VALUE_NONE, 'To output raw route(s)'),
|
new InputOption('raw', null, InputOption::VALUE_NONE, 'To output raw route(s)'),
|
||||||
))
|
))
|
||||||
->setDescription('Displays current routes for an application')
|
->setDescription('Displays current routes for an application')
|
||||||
->setHelp(<<<EOF
|
->setHelp(<<<'EOF'
|
||||||
The <info>%command.name%</info> displays the configured routes:
|
The <info>%command.name%</info> displays the configured routes:
|
||||||
|
|
||||||
<info>php %command.full_name%</info>
|
<info>php %command.full_name%</info>
|
||||||
|
@ -56,7 +56,7 @@ class RouterMatchCommand extends ContainerAwareCommand
|
|||||||
new InputOption('host', null, InputOption::VALUE_REQUIRED, 'Sets the URI host'),
|
new InputOption('host', null, InputOption::VALUE_REQUIRED, 'Sets the URI host'),
|
||||||
))
|
))
|
||||||
->setDescription('Helps debug routes by simulating a path info match')
|
->setDescription('Helps debug routes by simulating a path info match')
|
||||||
->setHelp(<<<EOF
|
->setHelp(<<<'EOF'
|
||||||
The <info>%command.name%</info> shows which routes match a given request and which don't and for what reason:
|
The <info>%command.name%</info> shows which routes match a given request and which don't and for what reason:
|
||||||
|
|
||||||
<info>php %command.full_name% /foo</info>
|
<info>php %command.full_name% /foo</info>
|
||||||
|
@ -38,7 +38,7 @@ class ServerRunCommand extends ServerCommand
|
|||||||
))
|
))
|
||||||
->setName('server:run')
|
->setName('server:run')
|
||||||
->setDescription('Runs PHP built-in web server')
|
->setDescription('Runs PHP built-in web server')
|
||||||
->setHelp(<<<EOF
|
->setHelp(<<<'EOF'
|
||||||
The <info>%command.name%</info> runs PHP built-in web server:
|
The <info>%command.name%</info> runs PHP built-in web server:
|
||||||
|
|
||||||
<info>%command.full_name%</info>
|
<info>%command.full_name%</info>
|
||||||
|
@ -45,7 +45,7 @@ class TranslationUpdateCommand extends ContainerAwareCommand
|
|||||||
new InputOption('clean', null, InputOption::VALUE_NONE, 'Should clean not found messages'),
|
new InputOption('clean', null, InputOption::VALUE_NONE, 'Should clean not found messages'),
|
||||||
))
|
))
|
||||||
->setDescription('Updates the translation file')
|
->setDescription('Updates the translation file')
|
||||||
->setHelp(<<<EOF
|
->setHelp(<<<'EOF'
|
||||||
The <info>%command.name%</info> command extract translation strings from templates
|
The <info>%command.name%</info> command extract translation strings from templates
|
||||||
of a given bundle or the app folder. It can display them or merge the new ones into the translation files.
|
of a given bundle or the app folder. It can display them or merge the new ones into the translation files.
|
||||||
When new translation strings are found it can automatically add a prefix to the translation
|
When new translation strings are found it can automatically add a prefix to the translation
|
||||||
|
@ -43,7 +43,7 @@ class InitAclCommand extends ContainerAwareCommand
|
|||||||
$this
|
$this
|
||||||
->setName('init:acl')
|
->setName('init:acl')
|
||||||
->setDescription('Mounts ACL tables in the database')
|
->setDescription('Mounts ACL tables in the database')
|
||||||
->setHelp(<<<EOF
|
->setHelp(<<<'EOF'
|
||||||
The <info>%command.name%</info> command mounts ACL tables in the database.
|
The <info>%command.name%</info> command mounts ACL tables in the database.
|
||||||
|
|
||||||
<info>php %command.full_name%</info>
|
<info>php %command.full_name%</info>
|
||||||
|
@ -13,8 +13,8 @@ namespace Symfony\Bundle\SecurityBundle\Tests\Functional\Bundle\FirewallEntryPoi
|
|||||||
|
|
||||||
use Symfony\Component\Config\FileLocator;
|
use Symfony\Component\Config\FileLocator;
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
|
use Symfony\Component\DependencyInjection\Extension\Extension;
|
||||||
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
||||||
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
|
|
||||||
|
|
||||||
class FirewallEntryPointExtension extends Extension
|
class FirewallEntryPointExtension extends Extension
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,7 @@ namespace Symfony\Bundle\SecurityBundle\Tests\Functional\Bundle\FormLoginBundle\
|
|||||||
|
|
||||||
use Symfony\Component\DependencyInjection\Reference;
|
use Symfony\Component\DependencyInjection\Reference;
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
|
use Symfony\Component\DependencyInjection\Extension\Extension;;
|
||||||
|
|
||||||
class FormLoginExtension extends Extension
|
class FormLoginExtension extends Extension
|
||||||
{
|
{
|
||||||
|
@ -54,7 +54,7 @@ class LintCommand extends BaseLintCommand implements ContainerAwareInterface
|
|||||||
|
|
||||||
$this
|
$this
|
||||||
->setHelp(
|
->setHelp(
|
||||||
$this->getHelp().<<<EOF
|
$this->getHelp().<<<'EOF'
|
||||||
|
|
||||||
Or all template files in a bundle:
|
Or all template files in a bundle:
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ class ExportCommand extends Command
|
|||||||
->setDefinition(array(
|
->setDefinition(array(
|
||||||
new InputArgument('token', InputArgument::REQUIRED, 'The profile token'),
|
new InputArgument('token', InputArgument::REQUIRED, 'The profile token'),
|
||||||
))
|
))
|
||||||
->setHelp(<<<EOF
|
->setHelp(<<<'EOF'
|
||||||
The <info>%command.name%</info> command exports a profile to the standard output:
|
The <info>%command.name%</info> command exports a profile to the standard output:
|
||||||
|
|
||||||
<info>php %command.full_name% profile_token</info>
|
<info>php %command.full_name% profile_token</info>
|
||||||
|
@ -53,7 +53,7 @@ class ImportCommand extends Command
|
|||||||
->setDefinition(array(
|
->setDefinition(array(
|
||||||
new InputArgument('filename', InputArgument::OPTIONAL, 'The profile path'),
|
new InputArgument('filename', InputArgument::OPTIONAL, 'The profile path'),
|
||||||
))
|
))
|
||||||
->setHelp(<<<EOF
|
->setHelp(<<<'EOF'
|
||||||
The <info>%command.name%</info> command imports a profile:
|
The <info>%command.name%</info> command imports a profile:
|
||||||
|
|
||||||
<info>php %command.full_name% profile_filepath</info>
|
<info>php %command.full_name% profile_filepath</info>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\WebProfilerBundle\DependencyInjection;
|
namespace Symfony\Bundle\WebProfilerBundle\DependencyInjection;
|
||||||
|
|
||||||
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
|
use Symfony\Component\DependencyInjection\Extension\Extension;;
|
||||||
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Component\Config\FileLocator;
|
use Symfony\Component\Config\FileLocator;
|
||||||
|
@ -241,26 +241,26 @@ class ClassCollectionLoaderTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
spl_autoload_unregister($r);
|
spl_autoload_unregister($r);
|
||||||
|
|
||||||
$this->assertEquals(<<<EOF
|
$this->assertEquals(<<<'EOF'
|
||||||
namespace Namespaced
|
namespace Namespaced
|
||||||
{
|
{
|
||||||
class WithComments
|
class WithComments
|
||||||
{
|
{
|
||||||
public static \$loaded = true;
|
public static $loaded = true;
|
||||||
}
|
}
|
||||||
\$string ='string should not be modified {\$string}';
|
$string ='string should not be modified {$string}';
|
||||||
\$heredoc = (<<<HD
|
$heredoc = (<<<HD
|
||||||
|
|
||||||
|
|
||||||
Heredoc should not be modified {\$string}
|
Heredoc should not be modified {$string}
|
||||||
|
|
||||||
|
|
||||||
HD
|
HD
|
||||||
);
|
);
|
||||||
\$nowdoc =<<<'ND'
|
$nowdoc =<<<'ND'
|
||||||
|
|
||||||
|
|
||||||
Nowdoc should not be modified {\$string}
|
Nowdoc should not be modified {$string}
|
||||||
|
|
||||||
|
|
||||||
ND
|
ND
|
||||||
@ -270,7 +270,7 @@ namespace
|
|||||||
{
|
{
|
||||||
class Pearlike_WithComments
|
class Pearlike_WithComments
|
||||||
{
|
{
|
||||||
public static \$loaded = true;
|
public static $loaded = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
@ -28,7 +28,7 @@ class YamlReferenceDumperTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
private function getConfigurationAsString()
|
private function getConfigurationAsString()
|
||||||
{
|
{
|
||||||
return <<<EOL
|
return <<<'EOL'
|
||||||
acme_root:
|
acme_root:
|
||||||
boolean: true
|
boolean: true
|
||||||
scalar_empty: ~
|
scalar_empty: ~
|
||||||
|
@ -42,7 +42,7 @@ class HelpCommand extends Command
|
|||||||
new InputOption('raw', null, InputOption::VALUE_NONE, 'To output raw command help'),
|
new InputOption('raw', null, InputOption::VALUE_NONE, 'To output raw command help'),
|
||||||
))
|
))
|
||||||
->setDescription('Displays help for a command')
|
->setDescription('Displays help for a command')
|
||||||
->setHelp(<<<EOF
|
->setHelp(<<<'EOF'
|
||||||
The <info>%command.name%</info> command displays help for a given command:
|
The <info>%command.name%</info> command displays help for a given command:
|
||||||
|
|
||||||
<info>php %command.full_name% list</info>
|
<info>php %command.full_name% list</info>
|
||||||
|
@ -34,7 +34,7 @@ class ListCommand extends Command
|
|||||||
->setName('list')
|
->setName('list')
|
||||||
->setDefinition($this->createDefinition())
|
->setDefinition($this->createDefinition())
|
||||||
->setDescription('Lists commands')
|
->setDescription('Lists commands')
|
||||||
->setHelp(<<<EOF
|
->setHelp(<<<'EOF'
|
||||||
The <info>%command.name%</info> command lists all commands:
|
The <info>%command.name%</info> command lists all commands:
|
||||||
|
|
||||||
<info>php %command.full_name%</info>
|
<info>php %command.full_name%</info>
|
||||||
|
@ -67,7 +67,7 @@ class Shell
|
|||||||
if ($this->processIsolation) {
|
if ($this->processIsolation) {
|
||||||
$finder = new PhpExecutableFinder();
|
$finder = new PhpExecutableFinder();
|
||||||
$php = $finder->find();
|
$php = $finder->find();
|
||||||
$this->output->writeln(<<<EOF
|
$this->output->writeln(<<<'EOF'
|
||||||
<info>Running with process isolation, you should consider this:</info>
|
<info>Running with process isolation, you should consider this:</info>
|
||||||
* each command is executed as separate process,
|
* each command is executed as separate process,
|
||||||
* commands don't support interactivity, all params must be passed explicitly,
|
* commands don't support interactivity, all params must be passed explicitly,
|
||||||
|
@ -38,7 +38,7 @@ class ListCommandTest extends \PHPUnit_Framework_TestCase
|
|||||||
$application = new Application();
|
$application = new Application();
|
||||||
$commandTester = new CommandTester($command = $application->get('list'));
|
$commandTester = new CommandTester($command = $application->get('list'));
|
||||||
$commandTester->execute(array('command' => $command->getName(), '--raw' => true));
|
$commandTester->execute(array('command' => $command->getName(), '--raw' => true));
|
||||||
$output = <<<EOF
|
$output = <<<'EOF'
|
||||||
help Displays help for a command
|
help Displays help for a command
|
||||||
list Lists commands
|
list Lists commands
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ EOF;
|
|||||||
$application->add(new \FooCommand());
|
$application->add(new \FooCommand());
|
||||||
$commandTester = new CommandTester($command = $application->get('list'));
|
$commandTester = new CommandTester($command = $application->get('list'));
|
||||||
$commandTester->execute(array('command' => $command->getName(), 'namespace' => 'foo', '--raw' => true));
|
$commandTester->execute(array('command' => $command->getName(), 'namespace' => 'foo', '--raw' => true));
|
||||||
$output = <<<EOF
|
$output = <<<'EOF'
|
||||||
foo:bar The foo:bar command
|
foo:bar The foo:bar command
|
||||||
|
|
||||||
EOF;
|
EOF;
|
||||||
@ -69,7 +69,7 @@ EOF;
|
|||||||
$application->add(new \Foo6Command());
|
$application->add(new \Foo6Command());
|
||||||
$commandTester = new CommandTester($command = $application->get('list'));
|
$commandTester = new CommandTester($command = $application->get('list'));
|
||||||
$commandTester->execute(array('command' => $command->getName()), array('decorated' => false));
|
$commandTester->execute(array('command' => $command->getName()), array('decorated' => false));
|
||||||
$output = <<<EOF
|
$output = <<<'EOF'
|
||||||
Console Tool
|
Console Tool
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
@ -101,7 +101,7 @@ EOF;
|
|||||||
$application->add(new \Foo6Command());
|
$application->add(new \Foo6Command());
|
||||||
$commandTester = new CommandTester($command = $application->get('list'));
|
$commandTester = new CommandTester($command = $application->get('list'));
|
||||||
$commandTester->execute(array('command' => $command->getName(), '--raw' => true));
|
$commandTester->execute(array('command' => $command->getName(), '--raw' => true));
|
||||||
$output = <<<EOF
|
$output = <<<'EOF'
|
||||||
help Displays help for a command
|
help Displays help for a command
|
||||||
list Lists commands
|
list Lists commands
|
||||||
0foo:bar 0foo:bar command
|
0foo:bar 0foo:bar command
|
||||||
|
@ -220,7 +220,7 @@ class OutputFormatterTest extends \PHPUnit_Framework_TestCase
|
|||||||
\033[32m
|
\033[32m
|
||||||
some text\033[39m
|
some text\033[39m
|
||||||
EOF
|
EOF
|
||||||
, $formatter->format(<<<EOF
|
, $formatter->format(<<<'EOF'
|
||||||
<info>
|
<info>
|
||||||
some text</info>
|
some text</info>
|
||||||
EOF
|
EOF
|
||||||
@ -230,7 +230,7 @@ EOF
|
|||||||
\033[32msome text
|
\033[32msome text
|
||||||
\033[39m
|
\033[39m
|
||||||
EOF
|
EOF
|
||||||
, $formatter->format(<<<EOF
|
, $formatter->format(<<<'EOF'
|
||||||
<info>some text
|
<info>some text
|
||||||
</info>
|
</info>
|
||||||
EOF
|
EOF
|
||||||
@ -241,7 +241,7 @@ EOF
|
|||||||
some text
|
some text
|
||||||
\033[39m
|
\033[39m
|
||||||
EOF
|
EOF
|
||||||
, $formatter->format(<<<EOF
|
, $formatter->format(<<<'EOF'
|
||||||
<info>
|
<info>
|
||||||
some text
|
some text
|
||||||
</info>
|
</info>
|
||||||
@ -254,7 +254,7 @@ some text
|
|||||||
more text
|
more text
|
||||||
\033[39m
|
\033[39m
|
||||||
EOF
|
EOF
|
||||||
, $formatter->format(<<<EOF
|
, $formatter->format(<<<'EOF'
|
||||||
<info>
|
<info>
|
||||||
some text
|
some text
|
||||||
more text
|
more text
|
||||||
|
@ -96,7 +96,7 @@ class LegacyTableHelperTest extends \PHPUnit_Framework_TestCase
|
|||||||
array('ISBN', 'Title', 'Author'),
|
array('ISBN', 'Title', 'Author'),
|
||||||
$books,
|
$books,
|
||||||
TableHelper::LAYOUT_DEFAULT,
|
TableHelper::LAYOUT_DEFAULT,
|
||||||
<<<TABLE
|
<<<'TABLE'
|
||||||
+---------------+--------------------------+------------------+
|
+---------------+--------------------------+------------------+
|
||||||
| ISBN | Title | Author |
|
| ISBN | Title | Author |
|
||||||
+---------------+--------------------------+------------------+
|
+---------------+--------------------------+------------------+
|
||||||
@ -146,7 +146,7 @@ TABLE
|
|||||||
array('80-902734-1-6', 'And Then There Were None', 'Agatha Christie'),
|
array('80-902734-1-6', 'And Then There Were None', 'Agatha Christie'),
|
||||||
),
|
),
|
||||||
TableHelper::LAYOUT_DEFAULT,
|
TableHelper::LAYOUT_DEFAULT,
|
||||||
<<<TABLE
|
<<<'TABLE'
|
||||||
+---------------+--------------------------+------------------+
|
+---------------+--------------------------+------------------+
|
||||||
| ISBN | Title | |
|
| ISBN | Title | |
|
||||||
+---------------+--------------------------+------------------+
|
+---------------+--------------------------+------------------+
|
||||||
@ -167,7 +167,7 @@ TABLE
|
|||||||
array('80-902734-1-6', 'And Then There Were None', 'Agatha Christie'),
|
array('80-902734-1-6', 'And Then There Were None', 'Agatha Christie'),
|
||||||
),
|
),
|
||||||
TableHelper::LAYOUT_DEFAULT,
|
TableHelper::LAYOUT_DEFAULT,
|
||||||
<<<TABLE
|
<<<'TABLE'
|
||||||
+---------------+--------------------------+------------------+
|
+---------------+--------------------------+------------------+
|
||||||
| 99921-58-10-7 | Divine Comedy | Dante Alighieri |
|
| 99921-58-10-7 | Divine Comedy | Dante Alighieri |
|
||||||
| 9971-5-0210-0 | | |
|
| 9971-5-0210-0 | | |
|
||||||
@ -186,7 +186,7 @@ TABLE
|
|||||||
array('960-425-059-0', 'The Lord of the Rings', "J. R. R.\nTolkien"),
|
array('960-425-059-0', 'The Lord of the Rings', "J. R. R.\nTolkien"),
|
||||||
),
|
),
|
||||||
TableHelper::LAYOUT_DEFAULT,
|
TableHelper::LAYOUT_DEFAULT,
|
||||||
<<<TABLE
|
<<<'TABLE'
|
||||||
+---------------+----------------------------+-----------------+
|
+---------------+----------------------------+-----------------+
|
||||||
| ISBN | Title | Author |
|
| ISBN | Title | Author |
|
||||||
+---------------+----------------------------+-----------------+
|
+---------------+----------------------------+-----------------+
|
||||||
@ -206,7 +206,7 @@ TABLE
|
|||||||
array('ISBN', 'Title'),
|
array('ISBN', 'Title'),
|
||||||
array(),
|
array(),
|
||||||
TableHelper::LAYOUT_DEFAULT,
|
TableHelper::LAYOUT_DEFAULT,
|
||||||
<<<TABLE
|
<<<'TABLE'
|
||||||
+------+-------+
|
+------+-------+
|
||||||
| ISBN | Title |
|
| ISBN | Title |
|
||||||
+------+-------+
|
+------+-------+
|
||||||
@ -226,7 +226,7 @@ TABLE
|
|||||||
array('9971-5-0210-0', 'A Tale of Two Cities', '<info>Charles Dickens</>'),
|
array('9971-5-0210-0', 'A Tale of Two Cities', '<info>Charles Dickens</>'),
|
||||||
),
|
),
|
||||||
TableHelper::LAYOUT_DEFAULT,
|
TableHelper::LAYOUT_DEFAULT,
|
||||||
<<<TABLE
|
<<<'TABLE'
|
||||||
+---------------+----------------------+-----------------+
|
+---------------+----------------------+-----------------+
|
||||||
| ISBN | Title | Author |
|
| ISBN | Title | Author |
|
||||||
+---------------+----------------------+-----------------+
|
+---------------+----------------------+-----------------+
|
||||||
@ -243,7 +243,7 @@ TABLE
|
|||||||
array('9971-5-0210-0', 'A Tale of Two Cities', 'Charles Dickens'),
|
array('9971-5-0210-0', 'A Tale of Two Cities', 'Charles Dickens'),
|
||||||
),
|
),
|
||||||
TableHelper::LAYOUT_DEFAULT,
|
TableHelper::LAYOUT_DEFAULT,
|
||||||
<<<TABLE
|
<<<'TABLE'
|
||||||
+----------------------------------+----------------------+-----------------+
|
+----------------------------------+----------------------+-----------------+
|
||||||
| ISBN | Title | Author |
|
| ISBN | Title | Author |
|
||||||
+----------------------------------+----------------------+-----------------+
|
+----------------------------------+----------------------+-----------------+
|
||||||
@ -270,7 +270,7 @@ TABLE
|
|||||||
$table->render($output = $this->getOutputStream());
|
$table->render($output = $this->getOutputStream());
|
||||||
|
|
||||||
$expected =
|
$expected =
|
||||||
<<<TABLE
|
<<<'TABLE'
|
||||||
+------+
|
+------+
|
||||||
| ■■ |
|
| ■■ |
|
||||||
+------+
|
+------+
|
||||||
@ -296,7 +296,7 @@ TABLE;
|
|||||||
$table->render($output = $this->getOutputStream());
|
$table->render($output = $this->getOutputStream());
|
||||||
|
|
||||||
$expected =
|
$expected =
|
||||||
<<<TABLE
|
<<<'TABLE'
|
||||||
+------------+
|
+------------+
|
||||||
| あいうえお |
|
| あいうえお |
|
||||||
+------------+
|
+------------+
|
||||||
|
@ -238,7 +238,7 @@ class ExceptionHandler
|
|||||||
$ind = $count - $position + 1;
|
$ind = $count - $position + 1;
|
||||||
$class = $this->formatClass($e['class']);
|
$class = $this->formatClass($e['class']);
|
||||||
$message = nl2br($this->escapeHtml($e['message']));
|
$message = nl2br($this->escapeHtml($e['message']));
|
||||||
$content .= sprintf(<<<EOF
|
$content .= sprintf(<<<'EOF'
|
||||||
<h2 class="block_exception clear_fix">
|
<h2 class="block_exception clear_fix">
|
||||||
<span class="exception_counter">%d/%d</span>
|
<span class="exception_counter">%d/%d</span>
|
||||||
<span class="exception_title">%s%s:</span>
|
<span class="exception_title">%s%s:</span>
|
||||||
@ -289,7 +289,7 @@ EOF;
|
|||||||
*/
|
*/
|
||||||
public function getStylesheet(FlattenException $exception)
|
public function getStylesheet(FlattenException $exception)
|
||||||
{
|
{
|
||||||
return <<<EOF
|
return <<<'EOF'
|
||||||
.sf-reset { font: 11px Verdana, Arial, sans-serif; color: #333 }
|
.sf-reset { font: 11px Verdana, Arial, sans-serif; color: #333 }
|
||||||
.sf-reset .clear { clear:both; height:0; font-size:0; line-height:0; }
|
.sf-reset .clear { clear:both; height:0; font-size:0; line-height:0; }
|
||||||
.sf-reset .clear_fix:after { display:block; height:0; clear:both; visibility:hidden; }
|
.sf-reset .clear_fix:after { display:block; height:0; clear:both; visibility:hidden; }
|
||||||
|
@ -590,7 +590,7 @@ class PhpDumper extends Dumper
|
|||||||
|
|
||||||
$doc = '';
|
$doc = '';
|
||||||
if (ContainerInterface::SCOPE_PROTOTYPE !== $scope) {
|
if (ContainerInterface::SCOPE_PROTOTYPE !== $scope) {
|
||||||
$doc .= <<<EOF
|
$doc .= <<<'EOF'
|
||||||
|
|
||||||
*
|
*
|
||||||
* This service is shared.
|
* This service is shared.
|
||||||
@ -599,7 +599,7 @@ EOF;
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!$definition->isPublic()) {
|
if (!$definition->isPublic()) {
|
||||||
$doc .= <<<EOF
|
$doc .= <<<'EOF'
|
||||||
|
|
||||||
*
|
*
|
||||||
* This service is private.
|
* This service is private.
|
||||||
@ -873,7 +873,7 @@ EOF;
|
|||||||
$code .= $this->addMethodMap();
|
$code .= $this->addMethodMap();
|
||||||
$code .= $this->addAliases();
|
$code .= $this->addAliases();
|
||||||
|
|
||||||
$code .= <<<EOF
|
$code .= <<<'EOF'
|
||||||
}
|
}
|
||||||
|
|
||||||
EOF;
|
EOF;
|
||||||
@ -903,11 +903,11 @@ EOF;
|
|||||||
$code .= "\n \$this->parameters = \$this->getDefaultParameters();\n";
|
$code .= "\n \$this->parameters = \$this->getDefaultParameters();\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
$code .= <<<EOF
|
$code .= <<<'EOF'
|
||||||
|
|
||||||
\$this->services =
|
$this->services =
|
||||||
\$this->scopedServices =
|
$this->scopedServices =
|
||||||
\$this->scopeStacks = array();
|
$this->scopeStacks = array();
|
||||||
EOF;
|
EOF;
|
||||||
|
|
||||||
$code .= "\n";
|
$code .= "\n";
|
||||||
@ -922,7 +922,7 @@ EOF;
|
|||||||
$code .= $this->addMethodMap();
|
$code .= $this->addMethodMap();
|
||||||
$code .= $this->addAliases();
|
$code .= $this->addAliases();
|
||||||
|
|
||||||
$code .= <<<EOF
|
$code .= <<<'EOF'
|
||||||
}
|
}
|
||||||
|
|
||||||
EOF;
|
EOF;
|
||||||
@ -1013,36 +1013,36 @@ EOF;
|
|||||||
|
|
||||||
$code = '';
|
$code = '';
|
||||||
if ($this->container->isFrozen()) {
|
if ($this->container->isFrozen()) {
|
||||||
$code .= <<<EOF
|
$code .= <<<'EOF'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function getParameter(\$name)
|
public function getParameter($name)
|
||||||
{
|
{
|
||||||
\$name = strtolower(\$name);
|
$name = strtolower($name);
|
||||||
|
|
||||||
if (!(isset(\$this->parameters[\$name]) || array_key_exists(\$name, \$this->parameters))) {
|
if (!(isset($this->parameters[$name]) || array_key_exists($name, $this->parameters))) {
|
||||||
throw new InvalidArgumentException(sprintf('The parameter "%s" must be defined.', \$name));
|
throw new InvalidArgumentException(sprintf('The parameter "%s" must be defined.', $name));
|
||||||
}
|
}
|
||||||
|
|
||||||
return \$this->parameters[\$name];
|
return $this->parameters[$name];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function hasParameter(\$name)
|
public function hasParameter($name)
|
||||||
{
|
{
|
||||||
\$name = strtolower(\$name);
|
$name = strtolower($name);
|
||||||
|
|
||||||
return isset(\$this->parameters[\$name]) || array_key_exists(\$name, \$this->parameters);
|
return isset($this->parameters[$name]) || array_key_exists($name, $this->parameters);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function setParameter(\$name, \$value)
|
public function setParameter($name, $value)
|
||||||
{
|
{
|
||||||
throw new LogicException('Impossible to call set() on a frozen ParameterBag.');
|
throw new LogicException('Impossible to call set() on a frozen ParameterBag.');
|
||||||
}
|
}
|
||||||
@ -1052,11 +1052,11 @@ EOF;
|
|||||||
*/
|
*/
|
||||||
public function getParameterBag()
|
public function getParameterBag()
|
||||||
{
|
{
|
||||||
if (null === \$this->parameterBag) {
|
if (null === $this->parameterBag) {
|
||||||
\$this->parameterBag = new FrozenParameterBag(\$this->parameters);
|
$this->parameterBag = new FrozenParameterBag($this->parameters);
|
||||||
}
|
}
|
||||||
|
|
||||||
return \$this->parameterBag;
|
return $this->parameterBag;
|
||||||
}
|
}
|
||||||
|
|
||||||
EOF;
|
EOF;
|
||||||
@ -1121,7 +1121,7 @@ EOF;
|
|||||||
*/
|
*/
|
||||||
private function endClass()
|
private function endClass()
|
||||||
{
|
{
|
||||||
return <<<EOF
|
return <<<'EOF'
|
||||||
}
|
}
|
||||||
|
|
||||||
EOF;
|
EOF;
|
||||||
|
@ -118,7 +118,7 @@ class CrawlerTest extends \PHPUnit_Framework_TestCase
|
|||||||
$internalErrors = libxml_use_internal_errors(true);
|
$internalErrors = libxml_use_internal_errors(true);
|
||||||
|
|
||||||
$crawler = new Crawler();
|
$crawler = new Crawler();
|
||||||
$crawler->addHtmlContent(<<<EOF
|
$crawler->addHtmlContent(<<<'EOF'
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
@ -159,7 +159,7 @@ EOF
|
|||||||
$internalErrors = libxml_use_internal_errors(true);
|
$internalErrors = libxml_use_internal_errors(true);
|
||||||
|
|
||||||
$crawler = new Crawler();
|
$crawler = new Crawler();
|
||||||
$crawler->addXmlContent(<<<EOF
|
$crawler->addXmlContent(<<<'EOF'
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
@ -647,7 +647,7 @@ EOF
|
|||||||
|
|
||||||
public function testSelectButtonWithSingleQuotesInNameAttribute()
|
public function testSelectButtonWithSingleQuotesInNameAttribute()
|
||||||
{
|
{
|
||||||
$html = <<<HTML
|
$html = <<<'HTML'
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<body>
|
<body>
|
||||||
@ -668,7 +668,7 @@ HTML;
|
|||||||
|
|
||||||
public function testSelectButtonWithDoubleQuotesInNameAttribute()
|
public function testSelectButtonWithDoubleQuotesInNameAttribute()
|
||||||
{
|
{
|
||||||
$html = <<<HTML
|
$html = <<<'HTML'
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<body>
|
<body>
|
||||||
@ -707,7 +707,7 @@ HTML;
|
|||||||
|
|
||||||
public function testSelectLinkAndLinkFiltered()
|
public function testSelectLinkAndLinkFiltered()
|
||||||
{
|
{
|
||||||
$html = <<<HTML
|
$html = <<<'HTML'
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<body>
|
<body>
|
||||||
|
@ -215,7 +215,7 @@ class RequestTest extends \PHPUnit_Framework_TestCase
|
|||||||
$this->assertEquals('/?foo', $request->getRequestUri());
|
$this->assertEquals('/?foo', $request->getRequestUri());
|
||||||
$this->assertEquals(array('foo' => ''), $request->query->all());
|
$this->assertEquals(array('foo' => ''), $request->query->all());
|
||||||
|
|
||||||
## assume rewrite rule: (.*) --> app/app.php ; app/ is a symlink to a symfony web/ directory
|
// assume rewrite rule: (.*) --> app/app.php ; app/ is a symlink to a symfony web/ directory
|
||||||
$request = Request::create('http://test.com/apparthotel-1234', 'GET', array(), array(), array(),
|
$request = Request::create('http://test.com/apparthotel-1234', 'GET', array(), array(), array(),
|
||||||
array(
|
array(
|
||||||
'DOCUMENT_ROOT' => '/var/www/www.test.com',
|
'DOCUMENT_ROOT' => '/var/www/www.test.com',
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
namespace Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionLoadedBundle\DependencyInjection;
|
namespace Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionLoadedBundle\DependencyInjection;
|
||||||
|
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
|
use Symfony\Component\DependencyInjection\Extension\Extension;
|
||||||
|
|
||||||
class ExtensionLoadedExtension extends Extension
|
class ExtensionLoadedExtension extends Extension
|
||||||
{
|
{
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
namespace Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionPresentBundle\DependencyInjection;
|
namespace Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionPresentBundle\DependencyInjection;
|
||||||
|
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
|
use Symfony\Component\DependencyInjection\Extension\Extension;
|
||||||
|
|
||||||
class ExtensionPresentExtension extends Extension
|
class ExtensionPresentExtension extends Extension
|
||||||
{
|
{
|
||||||
|
@ -716,7 +716,7 @@ class HttpCacheTest extends HttpCacheTestCase
|
|||||||
$this->assertTraceContains('store');
|
$this->assertTraceContains('store');
|
||||||
$this->assertEquals('Hello World', $this->response->getContent());
|
$this->assertEquals('Hello World', $this->response->getContent());
|
||||||
|
|
||||||
# go in and play around with the cached metadata directly ...
|
// go in and play around with the cached metadata directly ...
|
||||||
$values = $this->getMetaStorageValues();
|
$values = $this->getMetaStorageValues();
|
||||||
$this->assertCount(1, $values);
|
$this->assertCount(1, $values);
|
||||||
$tmp = unserialize($values[0]);
|
$tmp = unserialize($values[0]);
|
||||||
|
@ -25,7 +25,7 @@ class PhpBundleWriter implements BundleWriterInterface
|
|||||||
*/
|
*/
|
||||||
public function write($path, $locale, $data)
|
public function write($path, $locale, $data)
|
||||||
{
|
{
|
||||||
$template = <<<TEMPLATE
|
$template = <<<'TEMPLATE'
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return %s;
|
return %s;
|
||||||
|
@ -35,7 +35,7 @@ $argc = $_SERVER['argc'];
|
|||||||
$argv = $_SERVER['argv'];
|
$argv = $_SERVER['argv'];
|
||||||
|
|
||||||
if ($argc > 3 || 2 === $argc && '-h' === $argv[1]) {
|
if ($argc > 3 || 2 === $argc && '-h' === $argv[1]) {
|
||||||
bailout(<<<MESSAGE
|
bailout(<<<'MESSAGE'
|
||||||
Usage: php update-icu-component.php <path/to/icu/source> <path/to/icu/build>
|
Usage: php update-icu-component.php <path/to/icu/source> <path/to/icu/build>
|
||||||
|
|
||||||
Updates the ICU data for Symfony to the latest version of ICU.
|
Updates the ICU data for Symfony to the latest version of ICU.
|
||||||
|
@ -30,7 +30,7 @@ PHP
|
|||||||
|
|
||||||
public function testCommandLine()
|
public function testCommandLine()
|
||||||
{
|
{
|
||||||
$process = new PhpProcess(<<<PHP
|
$process = new PhpProcess(<<<'PHP'
|
||||||
<?php echo 'foobar';
|
<?php echo 'foobar';
|
||||||
PHP
|
PHP
|
||||||
);
|
);
|
||||||
|
@ -107,16 +107,16 @@ EOF;
|
|||||||
*/
|
*/
|
||||||
private function generateGenerateMethod()
|
private function generateGenerateMethod()
|
||||||
{
|
{
|
||||||
return <<<EOF
|
return <<<'EOF'
|
||||||
public function generate(\$name, \$parameters = array(), \$referenceType = self::ABSOLUTE_PATH)
|
public function generate($name, $parameters = array(), $referenceType = self::ABSOLUTE_PATH)
|
||||||
{
|
{
|
||||||
if (!isset(self::\$declaredRoutes[\$name])) {
|
if (!isset(self::$declaredRoutes[$name])) {
|
||||||
throw new RouteNotFoundException(sprintf('Unable to generate a URL for the named route "%s" as such route does not exist.', \$name));
|
throw new RouteNotFoundException(sprintf('Unable to generate a URL for the named route "%s" as such route does not exist.', $name));
|
||||||
}
|
}
|
||||||
|
|
||||||
list(\$variables, \$defaults, \$requirements, \$tokens, \$hostTokens, \$requiredSchemes) = self::\$declaredRoutes[\$name];
|
list($variables, $defaults, $requirements, $tokens, $hostTokens, $requiredSchemes) = self::$declaredRoutes[$name];
|
||||||
|
|
||||||
return \$this->doGenerate(\$variables, \$defaults, \$requirements, \$tokens, \$parameters, \$name, \$referenceType, \$hostTokens, \$requiredSchemes);
|
return $this->doGenerate($variables, $defaults, $requirements, $tokens, $parameters, $name, $referenceType, $hostTokens, $requiredSchemes);
|
||||||
}
|
}
|
||||||
EOF;
|
EOF;
|
||||||
}
|
}
|
||||||
|
@ -369,7 +369,7 @@ FINDCHILDREN;
|
|||||||
*/
|
*/
|
||||||
protected function getSelectObjectIdentityIdSql(ObjectIdentityInterface $oid)
|
protected function getSelectObjectIdentityIdSql(ObjectIdentityInterface $oid)
|
||||||
{
|
{
|
||||||
$query = <<<QUERY
|
$query = <<<'QUERY'
|
||||||
SELECT o.id
|
SELECT o.id
|
||||||
FROM %s o
|
FROM %s o
|
||||||
INNER JOIN %s c ON c.id = o.class_id
|
INNER JOIN %s c ON c.id = o.class_id
|
||||||
|
@ -458,7 +458,7 @@ class MutableAclProvider extends AclProvider implements MutableAclProviderInterf
|
|||||||
*/
|
*/
|
||||||
protected function getInsertAccessControlEntrySql($classId, $objectIdentityId, $field, $aceOrder, $securityIdentityId, $strategy, $mask, $granting, $auditSuccess, $auditFailure)
|
protected function getInsertAccessControlEntrySql($classId, $objectIdentityId, $field, $aceOrder, $securityIdentityId, $strategy, $mask, $granting, $auditSuccess, $auditFailure)
|
||||||
{
|
{
|
||||||
$query = <<<QUERY
|
$query = <<<'QUERY'
|
||||||
INSERT INTO %s (
|
INSERT INTO %s (
|
||||||
class_id,
|
class_id,
|
||||||
object_identity_id,
|
object_identity_id,
|
||||||
@ -535,7 +535,7 @@ QUERY;
|
|||||||
*/
|
*/
|
||||||
protected function getInsertObjectIdentitySql($identifier, $classId, $entriesInheriting)
|
protected function getInsertObjectIdentitySql($identifier, $classId, $entriesInheriting)
|
||||||
{
|
{
|
||||||
$query = <<<QUERY
|
$query = <<<'QUERY'
|
||||||
INSERT INTO %s (class_id, object_identifier, entries_inheriting)
|
INSERT INTO %s (class_id, object_identifier, entries_inheriting)
|
||||||
VALUES (%d, %s, %s)
|
VALUES (%d, %s, %s)
|
||||||
QUERY;
|
QUERY;
|
||||||
|
@ -110,7 +110,7 @@ class ConstraintViolationListTest extends \PHPUnit_Framework_TestCase
|
|||||||
$this->getViolation('Error 5', '', '[baz]'),
|
$this->getViolation('Error 5', '', '[baz]'),
|
||||||
));
|
));
|
||||||
|
|
||||||
$expected = <<<EOF
|
$expected = <<<'EOF'
|
||||||
Root:
|
Root:
|
||||||
Error 1
|
Error 1
|
||||||
Root.foo.bar:
|
Root.foo.bar:
|
||||||
|
@ -26,7 +26,7 @@ class ConstraintViolationTest extends \PHPUnit_Framework_TestCase
|
|||||||
null
|
null
|
||||||
);
|
);
|
||||||
|
|
||||||
$expected = <<<EOF
|
$expected = <<<'EOF'
|
||||||
Root.property.path:
|
Root.property.path:
|
||||||
Array
|
Array
|
||||||
EOF;
|
EOF;
|
||||||
@ -45,7 +45,7 @@ EOF;
|
|||||||
null
|
null
|
||||||
);
|
);
|
||||||
|
|
||||||
$expected = <<<EOF
|
$expected = <<<'EOF'
|
||||||
Array.some_value:
|
Array.some_value:
|
||||||
42 cannot be used here
|
42 cannot be used here
|
||||||
EOF;
|
EOF;
|
||||||
|
@ -54,7 +54,7 @@ class DumperTest extends \PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
$this->dumper->setIndentation(7);
|
$this->dumper->setIndentation(7);
|
||||||
|
|
||||||
$expected = <<<EOF
|
$expected = <<<'EOF'
|
||||||
'': bar
|
'': bar
|
||||||
foo: '#bar'
|
foo: '#bar'
|
||||||
'foo''bar': { }
|
'foo''bar': { }
|
||||||
@ -103,13 +103,13 @@ EOF;
|
|||||||
|
|
||||||
public function testInlineLevel()
|
public function testInlineLevel()
|
||||||
{
|
{
|
||||||
$expected = <<<EOF
|
$expected = <<<'EOF'
|
||||||
{ '': bar, foo: '#bar', 'foo''bar': { }, bar: [1, foo], foobar: { foo: bar, bar: [1, foo], foobar: { foo: bar, bar: [1, foo] } } }
|
{ '': bar, foo: '#bar', 'foo''bar': { }, bar: [1, foo], foobar: { foo: bar, bar: [1, foo], foobar: { foo: bar, bar: [1, foo] } } }
|
||||||
EOF;
|
EOF;
|
||||||
$this->assertEquals($expected, $this->dumper->dump($this->array, -10), '->dump() takes an inline level argument');
|
$this->assertEquals($expected, $this->dumper->dump($this->array, -10), '->dump() takes an inline level argument');
|
||||||
$this->assertEquals($expected, $this->dumper->dump($this->array, 0), '->dump() takes an inline level argument');
|
$this->assertEquals($expected, $this->dumper->dump($this->array, 0), '->dump() takes an inline level argument');
|
||||||
|
|
||||||
$expected = <<<EOF
|
$expected = <<<'EOF'
|
||||||
'': bar
|
'': bar
|
||||||
foo: '#bar'
|
foo: '#bar'
|
||||||
'foo''bar': { }
|
'foo''bar': { }
|
||||||
@ -119,7 +119,7 @@ foobar: { foo: bar, bar: [1, foo], foobar: { foo: bar, bar: [1, foo] } }
|
|||||||
EOF;
|
EOF;
|
||||||
$this->assertEquals($expected, $this->dumper->dump($this->array, 1), '->dump() takes an inline level argument');
|
$this->assertEquals($expected, $this->dumper->dump($this->array, 1), '->dump() takes an inline level argument');
|
||||||
|
|
||||||
$expected = <<<EOF
|
$expected = <<<'EOF'
|
||||||
'': bar
|
'': bar
|
||||||
foo: '#bar'
|
foo: '#bar'
|
||||||
'foo''bar': { }
|
'foo''bar': { }
|
||||||
@ -134,7 +134,7 @@ foobar:
|
|||||||
EOF;
|
EOF;
|
||||||
$this->assertEquals($expected, $this->dumper->dump($this->array, 2), '->dump() takes an inline level argument');
|
$this->assertEquals($expected, $this->dumper->dump($this->array, 2), '->dump() takes an inline level argument');
|
||||||
|
|
||||||
$expected = <<<EOF
|
$expected = <<<'EOF'
|
||||||
'': bar
|
'': bar
|
||||||
foo: '#bar'
|
foo: '#bar'
|
||||||
'foo''bar': { }
|
'foo''bar': { }
|
||||||
@ -153,7 +153,7 @@ foobar:
|
|||||||
EOF;
|
EOF;
|
||||||
$this->assertEquals($expected, $this->dumper->dump($this->array, 3), '->dump() takes an inline level argument');
|
$this->assertEquals($expected, $this->dumper->dump($this->array, 3), '->dump() takes an inline level argument');
|
||||||
|
|
||||||
$expected = <<<EOF
|
$expected = <<<'EOF'
|
||||||
'': bar
|
'': bar
|
||||||
foo: '#bar'
|
foo: '#bar'
|
||||||
'foo''bar': { }
|
'foo''bar': { }
|
||||||
|
@ -90,7 +90,7 @@ class ParserTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
public function testEndOfTheDocumentMarker()
|
public function testEndOfTheDocumentMarker()
|
||||||
{
|
{
|
||||||
$yaml = <<<EOF
|
$yaml = <<<'EOF'
|
||||||
--- %YAML:1.0
|
--- %YAML:1.0
|
||||||
foo
|
foo
|
||||||
...
|
...
|
||||||
@ -495,7 +495,7 @@ EOF;
|
|||||||
*/
|
*/
|
||||||
public function testUnindentedCollectionException()
|
public function testUnindentedCollectionException()
|
||||||
{
|
{
|
||||||
$yaml = <<<EOF
|
$yaml = <<<'EOF'
|
||||||
|
|
||||||
collection:
|
collection:
|
||||||
-item1
|
-item1
|
||||||
@ -512,7 +512,7 @@ EOF;
|
|||||||
*/
|
*/
|
||||||
public function testShortcutKeyUnindentedCollectionException()
|
public function testShortcutKeyUnindentedCollectionException()
|
||||||
{
|
{
|
||||||
$yaml = <<<EOF
|
$yaml = <<<'EOF'
|
||||||
|
|
||||||
collection:
|
collection:
|
||||||
- key: foo
|
- key: foo
|
||||||
@ -529,7 +529,7 @@ EOF;
|
|||||||
*/
|
*/
|
||||||
public function testMultipleDocumentsNotSupportedException()
|
public function testMultipleDocumentsNotSupportedException()
|
||||||
{
|
{
|
||||||
Yaml::parse(<<<EOL
|
Yaml::parse(<<<'EOL'
|
||||||
# Ranking of 1998 home runs
|
# Ranking of 1998 home runs
|
||||||
---
|
---
|
||||||
- Mark McGwire
|
- Mark McGwire
|
||||||
@ -549,7 +549,7 @@ EOL
|
|||||||
*/
|
*/
|
||||||
public function testSequenceInAMapping()
|
public function testSequenceInAMapping()
|
||||||
{
|
{
|
||||||
Yaml::parse(<<<EOF
|
Yaml::parse(<<<'EOF'
|
||||||
yaml:
|
yaml:
|
||||||
hash: me
|
hash: me
|
||||||
- array stuff
|
- array stuff
|
||||||
@ -562,7 +562,7 @@ EOF
|
|||||||
*/
|
*/
|
||||||
public function testMappingInASequence()
|
public function testMappingInASequence()
|
||||||
{
|
{
|
||||||
Yaml::parse(<<<EOF
|
Yaml::parse(<<<'EOF'
|
||||||
yaml:
|
yaml:
|
||||||
- array stuff
|
- array stuff
|
||||||
hash: me
|
hash: me
|
||||||
@ -629,7 +629,7 @@ EOD;
|
|||||||
|
|
||||||
public function testEmptyValue()
|
public function testEmptyValue()
|
||||||
{
|
{
|
||||||
$input = <<<EOF
|
$input = <<<'EOF'
|
||||||
hash:
|
hash:
|
||||||
EOF;
|
EOF;
|
||||||
|
|
||||||
@ -647,7 +647,7 @@ EOF;
|
|||||||
'class' => 'Bar',
|
'class' => 'Bar',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
), Yaml::parse(<<<EOF
|
), Yaml::parse(<<<'EOF'
|
||||||
# comment 1
|
# comment 1
|
||||||
services:
|
services:
|
||||||
# comment 2
|
# comment 2
|
||||||
@ -664,7 +664,7 @@ EOF
|
|||||||
|
|
||||||
public function testStringBlockWithComments()
|
public function testStringBlockWithComments()
|
||||||
{
|
{
|
||||||
$this->assertEquals(array('content' => <<<EOT
|
$this->assertEquals(array('content' => <<<'EOT'
|
||||||
# comment 1
|
# comment 1
|
||||||
header
|
header
|
||||||
|
|
||||||
@ -675,7 +675,7 @@ header
|
|||||||
|
|
||||||
footer # comment3
|
footer # comment3
|
||||||
EOT
|
EOT
|
||||||
), Yaml::parse(<<<EOF
|
), Yaml::parse(<<<'EOF'
|
||||||
content: |
|
content: |
|
||||||
# comment 1
|
# comment 1
|
||||||
header
|
header
|
||||||
@ -692,7 +692,7 @@ EOF
|
|||||||
|
|
||||||
public function testFoldedStringBlockWithComments()
|
public function testFoldedStringBlockWithComments()
|
||||||
{
|
{
|
||||||
$this->assertEquals(array(array('content' => <<<EOT
|
$this->assertEquals(array(array('content' => <<<'EOT'
|
||||||
# comment 1
|
# comment 1
|
||||||
header
|
header
|
||||||
|
|
||||||
@ -703,7 +703,7 @@ header
|
|||||||
|
|
||||||
footer # comment3
|
footer # comment3
|
||||||
EOT
|
EOT
|
||||||
)), Yaml::parse(<<<EOF
|
)), Yaml::parse(<<<'EOF'
|
||||||
-
|
-
|
||||||
content: |
|
content: |
|
||||||
# comment 1
|
# comment 1
|
||||||
@ -723,7 +723,7 @@ EOF
|
|||||||
{
|
{
|
||||||
$this->assertEquals(array(array(
|
$this->assertEquals(array(array(
|
||||||
'title' => 'some title',
|
'title' => 'some title',
|
||||||
'content' => <<<EOT
|
'content' => <<<'EOT'
|
||||||
# comment 1
|
# comment 1
|
||||||
header
|
header
|
||||||
|
|
||||||
@ -734,7 +734,7 @@ header
|
|||||||
|
|
||||||
footer # comment3
|
footer # comment3
|
||||||
EOT
|
EOT
|
||||||
)), Yaml::parse(<<<EOF
|
)), Yaml::parse(<<<'EOF'
|
||||||
-
|
-
|
||||||
title: some title
|
title: some title
|
||||||
content: |
|
content: |
|
||||||
@ -763,7 +763,7 @@ EOF
|
|||||||
'map' => array('key' => 'var-value'),
|
'map' => array('key' => 'var-value'),
|
||||||
'list_in_map' => array('key' => array('var-value')),
|
'list_in_map' => array('key' => array('var-value')),
|
||||||
'map_in_map' => array('foo' => array('bar' => 'var-value')),
|
'map_in_map' => array('foo' => array('bar' => 'var-value')),
|
||||||
), Yaml::parse(<<<EOF
|
), Yaml::parse(<<<'EOF'
|
||||||
var: &var var-value
|
var: &var var-value
|
||||||
scalar: *var
|
scalar: *var
|
||||||
list: [ *var ]
|
list: [ *var ]
|
||||||
@ -779,7 +779,7 @@ EOF
|
|||||||
|
|
||||||
public function testYamlDirective()
|
public function testYamlDirective()
|
||||||
{
|
{
|
||||||
$yaml = <<<EOF
|
$yaml = <<<'EOF'
|
||||||
%YAML 1.2
|
%YAML 1.2
|
||||||
---
|
---
|
||||||
foo: 1
|
foo: 1
|
||||||
@ -790,7 +790,7 @@ EOF;
|
|||||||
|
|
||||||
public function testFloatKeys()
|
public function testFloatKeys()
|
||||||
{
|
{
|
||||||
$yaml = <<<EOF
|
$yaml = <<<'EOF'
|
||||||
foo:
|
foo:
|
||||||
1.2: "bar"
|
1.2: "bar"
|
||||||
1.3: "baz"
|
1.3: "baz"
|
||||||
@ -816,7 +816,7 @@ EOF;
|
|||||||
|
|
||||||
public function getCommentLikeStringInScalarBlockData()
|
public function getCommentLikeStringInScalarBlockData()
|
||||||
{
|
{
|
||||||
$yaml1 = <<<EOT
|
$yaml1 = <<<'EOT'
|
||||||
pages:
|
pages:
|
||||||
-
|
-
|
||||||
title: some title
|
title: some title
|
||||||
@ -835,7 +835,7 @@ EOT;
|
|||||||
'pages' => array(
|
'pages' => array(
|
||||||
array(
|
array(
|
||||||
'title' => 'some title',
|
'title' => 'some title',
|
||||||
'content' => <<<EOT
|
'content' => <<<'EOT'
|
||||||
# comment 1
|
# comment 1
|
||||||
header
|
header
|
||||||
|
|
||||||
@ -851,7 +851,7 @@ EOT
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
$yaml2 = <<<EOT
|
$yaml2 = <<<'EOT'
|
||||||
test: |
|
test: |
|
||||||
foo
|
foo
|
||||||
# bar
|
# bar
|
||||||
@ -867,7 +867,7 @@ collection:
|
|||||||
baz
|
baz
|
||||||
EOT;
|
EOT;
|
||||||
$expected2 = array(
|
$expected2 = array(
|
||||||
'test' => <<<EOT
|
'test' => <<<'EOT'
|
||||||
foo
|
foo
|
||||||
# bar
|
# bar
|
||||||
baz
|
baz
|
||||||
@ -876,7 +876,7 @@ EOT
|
|||||||
,
|
,
|
||||||
'collection' => array(
|
'collection' => array(
|
||||||
array(
|
array(
|
||||||
'one' => <<<EOT
|
'one' => <<<'EOT'
|
||||||
foo
|
foo
|
||||||
# bar
|
# bar
|
||||||
baz
|
baz
|
||||||
@ -884,7 +884,7 @@ EOT
|
|||||||
,
|
,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'two' => <<<EOT
|
'two' => <<<'EOT'
|
||||||
foo
|
foo
|
||||||
# bar
|
# bar
|
||||||
baz
|
baz
|
||||||
|
Reference in New Issue
Block a user