merged 2.0

This commit is contained in:
Fabien Potencier 2012-05-18 19:02:36 +02:00
commit ec36ae7eda
34 changed files with 290 additions and 66 deletions

View File

@ -7,6 +7,19 @@ in 2.0 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.0.0...v2.0.1 To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v2.0.0...v2.0.1
* 2.0.14 (2012-05-17)
* d1c831d: Change must-proxy-revalidate by proxy-revalidate
* 445fd2f: In console terms columns are width and rows are height
* 926ac98: [Finder] replaced static by self on a private variable
* 47605f6: [Form][DataMapper] Do not update form to data when form is read only
* c642a5e: [CssSelector] ignored an optional whitespace after a combinator
* cbc3ed3: [HttpKernel] added some constant for better forward compatibility
* 906f6f6: [DependencyInjection] fixed private services removal when used as configurators (closes #3758)
* 970d0b4: [BrowserKit] Check class existence only when required.
* 1ed8b72: Autoloader should not throw exception because PHP will continue to call other registered autoloaders.
* 7fe236a: [Security] Configure ports in RetryAuthenticationEntryPoint according to router settings
* 2.0.13 (2012-04-30) * 2.0.13 (2012-04-30)
* 5b92b9e: [Console] Selectively output to STDOUT or OUTPUT stream * 5b92b9e: [Console] Selectively output to STDOUT or OUTPUT stream

View File

@ -20,23 +20,23 @@ Symfony2 is the result of the work of many people who made the code better
- Joseph Bielawski (stloyd) - Joseph Bielawski (stloyd)
- Igor Wiedler (igorw) - Igor Wiedler (igorw)
- Hugo Hamon (hhamon) - Hugo Hamon (hhamon)
- Eriksen Costa (eriksencosta)
- William DURAND (willdurand) - William DURAND (willdurand)
- Eriksen Costa (eriksencosta)
- Alexandre Salomé (alexandresalome) - Alexandre Salomé (alexandresalome)
- stealth35 (stealth35) - stealth35 (stealth35)
- Jonathan H. Wage (jwage) - Jonathan H. Wage (jwage)
- Thibault Duplessis (ornicar) - Thibault Duplessis (ornicar)
- Jakub Zalas (jakzal) - Jakub Zalas (jakzal)
- Eric Clemmons (ericclemmons) - Eric Clemmons (ericclemmons)
- Martin Hasoň (hason)
- Henrik Westphal (snc) - Henrik Westphal (snc)
- Dariusz Górecki (canni) - Dariusz Górecki (canni)
- Tobias Schultze (Tobion)
- Miha Vrhovnik (mvrhov) - Miha Vrhovnik (mvrhov)
- Bulat Shakirzyanov (avalanche123) - Bulat Shakirzyanov (avalanche123)
- Martin Hasoň (hason)
- Henrik Bjørnskov (henrikbjorn) - Henrik Bjørnskov (henrikbjorn)
- Francis Besset (francisbesset)
- Tobias Schultze (Tobion)
- Andrej Hudec (pulzarraider) - Andrej Hudec (pulzarraider)
- Francis Besset (francisbesset)
- Kevin Bond (kbond) - Kevin Bond (kbond)
- Deni (yethee) - Deni (yethee)
- Arnout Boks (aboks) - Arnout Boks (aboks)
@ -53,8 +53,8 @@ Symfony2 is the result of the work of many people who made the code better
- John Wards (johnwards) - John Wards (johnwards)
- Jean-François Simon (jfsimon) - Jean-François Simon (jfsimon)
- Daniel Holmes (danielholmes) - Daniel Holmes (danielholmes)
- Tigran Azatyan (tigranazatyan)
- Antoine Hérault (Herzult) - Antoine Hérault (Herzult)
- Tigran Azatyan (tigranazatyan)
- Helmer Aaviksoo (helmer) - Helmer Aaviksoo (helmer)
- Jacob Dreesen (jdreesen) - Jacob Dreesen (jdreesen)
- umpirsky (umpirsky) - umpirsky (umpirsky)
@ -63,6 +63,7 @@ Symfony2 is the result of the work of many people who made the code better
- Fabien Pennequin (FabienPennequin) - Fabien Pennequin (FabienPennequin)
- Richard Shank (IamPersistent) - Richard Shank (IamPersistent)
- Benjamin Dulau (benjamindulau) - Benjamin Dulau (benjamindulau)
- Douglas Greenshields (shieldo)
- Christian Raue (craue) - Christian Raue (craue)
- Grégoire Pineau (lyrixx) - Grégoire Pineau (lyrixx)
- Katsuhiro OGAWA (fivestar) - Katsuhiro OGAWA (fivestar)
@ -75,6 +76,7 @@ Symfony2 is the result of the work of many people who made the code better
- Florin Patan (dlsniper) - Florin Patan (dlsniper)
- Rafael Dohms (rdohms) - Rafael Dohms (rdohms)
- Tim Nagel (merk) - Tim Nagel (merk)
- Włodzimierz Gajda (gajdaw)
- Michel Weimerskirch (mweimerskirch) - Michel Weimerskirch (mweimerskirch)
- Javier Eguiluz (javiereguiluz) - Javier Eguiluz (javiereguiluz)
- Joseph Rouff (rouffj) - Joseph Rouff (rouffj)
@ -87,12 +89,12 @@ Symfony2 is the result of the work of many people who made the code better
- Gustavo Piltcher - Gustavo Piltcher
- Rui Marinho - Rui Marinho
- Clément JOBEILI (dator) - Clément JOBEILI (dator)
- Michael Holm (hollodk)
- dbu - dbu
- Julien Brochet (aerialls) - Julien Brochet (aerialls)
- Thomas (rande) - Thomas (rande)
- Alexander (asm89) - Alexander (asm89)
- Gordon Franke (gimler) - Gordon Franke (gimler)
- Włodzimierz Gajda (gajdaw)
- Noel GUILBERT (noelg) - Noel GUILBERT (noelg)
- Alif Rachmawadi (subosito) - Alif Rachmawadi (subosito)
- Lars Strojny (lstrojny) - Lars Strojny (lstrojny)
@ -102,18 +104,18 @@ Symfony2 is the result of the work of many people who made the code better
- Jonathan Ingram (jonathaningram) - Jonathan Ingram (jonathaningram)
- Alessandro Desantis (alessandro1997) - Alessandro Desantis (alessandro1997)
- Oscar Cubo Medina (ocubom) - Oscar Cubo Medina (ocubom)
- Pablo Godel (pgodel)
- Dustin Whittle (dustinwhittle) - Dustin Whittle (dustinwhittle)
- Jean-François PHILIPPE (jfphilippe) - Jean-François PHILIPPE (jfphilippe)
- Arnaud Le Blanc (arnaud-lb) - Arnaud Le Blanc (arnaud-lb)
- Justin Hileman (bobthecow) - Justin Hileman (bobthecow)
- Danny Berger (dpb587) - Danny Berger (dpb587)
- Sven Paulus (subsven) - Sven Paulus (subsven)
- Gábor Egyed (1ed)
- Xavier Perez (DuoSRX) - Xavier Perez (DuoSRX)
- Joel Wurtz (Brouznouf) - Joel Wurtz (Brouznouf)
- Douglas Greenshields (shieldo)
- Joe Lencioni (lencioni) - Joe Lencioni (lencioni)
- brki (brki) - brki (brki)
- Pablo Godel (pgodel)
- Francois Zaninotto - Francois Zaninotto
- Leszek Prabucki (l3l0) - Leszek Prabucki (l3l0)
- Francois Zaninotto (fzaninotto) - Francois Zaninotto (fzaninotto)
@ -121,20 +123,21 @@ Symfony2 is the result of the work of many people who made the code better
- Xavier Montaña Carreras (xmontana) - Xavier Montaña Carreras (xmontana)
- Andreas Hucks (meandmymonkey) - Andreas Hucks (meandmymonkey)
- Arjen Brouwer (arjenjb) - Arjen Brouwer (arjenjb)
- Michael Holm (hollodk) - Jérémie Augustin (jaugustin)
- Boussekeyt Jules (gordonslondon) - Boussekeyt Jules (gordonslondon)
- Jan Sorgalla (jsor) - Jan Sorgalla (jsor)
- Daniel Gomes (danielcsgomes)
- Lee McDermott (lmcd) - Lee McDermott (lmcd)
- Manuel Reinhard (sprain) - Manuel Reinhard (sprain)
- Jeroen Hoek (jdhoek) - Jeroen Hoek (jdhoek)
- Albert Jessurum (ajessu)
- Ryan Rogers (timewasted) - Ryan Rogers (timewasted)
- flevour (flevour) - flevour (flevour)
- Michel Salib (michelsalib) - Michel Salib (michelsalib)
- geoffrey - geoffrey
- Kim Hemsø Rasmussen (kimhemsoe) - Kim Hemsø Rasmussen (kimhemsoe)
- Gábor Egyed (1ed)
- Jérémie Augustin (jaugustin)
- Manuel Kiessling (ManuelKiessling) - Manuel Kiessling (ManuelKiessling)
- Bilal Amarni (bamarni)
- Tobias Naumann (tna) - Tobias Naumann (tna)
- Shein Alexey (conf) - Shein Alexey (conf)
- Aurelijus Valeiša (aurelijus) - Aurelijus Valeiša (aurelijus)
@ -146,17 +149,21 @@ Symfony2 is the result of the work of many people who made the code better
- drak3 (drak3) - drak3 (drak3)
- Chris Boden (cboden) - Chris Boden (cboden)
- Dustin Dobervich (dustin10) - Dustin Dobervich (dustin10)
- Sebastian Marek (proofek)
- Olivier Dolbeau (odolbeau)
- Michele Orselli (micheleorselli) - Michele Orselli (micheleorselli)
- Andréia Bohner (andreia) - Andréia Bohner (andreia)
- Sebastian Bergmann (sebastianbergmann) - Sebastian Bergmann (sebastianbergmann)
- Miquel Rodríguez Telep (mrtorrent) - Miquel Rodríguez Telep (mrtorrent)
- Peter Kokot (maastermedia) - Peter Kokot (maastermedia)
- Jérôme Tamarelle (GromNaN)
- Jérémy Romey (jeremyFreeAgent) - Jérémy Romey (jeremyFreeAgent)
- Yuen-Chi Lian (yclian) - Yuen-Chi Lian (yclian)
- John Bohn (jjbohn) - John Bohn (jjbohn)
- Greg Thornton (xdissent) - Greg Thornton (xdissent)
- andrewtch (andrewtch) - andrewtch (andrewtch)
- Costin Bereveanu (schniper) - Costin Bereveanu (schniper)
- Ondrej Slinták (ondrowan)
- Markus Lanthaler (lanthaler) - Markus Lanthaler (lanthaler)
- Konstantin Leboev (realmfoo) - Konstantin Leboev (realmfoo)
- Thomas Adam (tecbot) - Thomas Adam (tecbot)
@ -165,19 +172,18 @@ Symfony2 is the result of the work of many people who made the code better
- Matthew Lewinski - Matthew Lewinski
- Kai - Kai
- Sergey Linnik (Partugal) - Sergey Linnik (Partugal)
- Albert Jessurum (ajessu)
- Johnny Peck (johnnypeck) - Johnny Peck (johnnypeck)
- Laszlo Korte (laszlokorte) - Laszlo Korte (laszlokorte)
- Hubert LECORCHE (hlecorche) - Hubert LECORCHE (hlecorche)
- Sergey Skopin (grizlik) - Sergey Skopin (grizlik)
- drmonty (drmonty) - drmonty (drmonty)
- Michael Ridgway (mridgway) - Michael Ridgway (mridgway)
- Anthon Pang (robocoder)
- Stepan Tanasiychuk (stfalcon) - Stepan Tanasiychuk (stfalcon)
- Bertrand Zuchuat (Garfield-fr) - Bertrand Zuchuat (Garfield-fr)
- Bilal Amarni (bamarni) - Sebastien Armand (khepin)
- Sebastiaan Stok (sstok)
- Jan Schumann (janschumann) - Jan Schumann (janschumann)
- Olivier Dolbeau (odolbeau)
- Sebastian Marek (proofek)
- Asier Illarramendi (doup) - Asier Illarramendi (doup)
- Shigenobu Nishikawa (shishi) - Shigenobu Nishikawa (shishi)
- Marcin Sikoń (marphi) - Marcin Sikoń (marphi)
@ -188,12 +194,11 @@ Symfony2 is the result of the work of many people who made the code better
- Pablo Díez (pablodip) - Pablo Díez (pablodip)
- Fran Moreno (franmomu) - Fran Moreno (franmomu)
- Manuel de Ruiter (ManuelAC) - Manuel de Ruiter (ManuelAC)
- Ondrej Slinták (ondrowan)
- Crell (Crell) - Crell (Crell)
- Benoit Tirmarche (mcbennn) - Benoit Tirmarche (mcbennn)
- Grégoire Passault - Grégoire Passault
- Ismael Ambrosi (iambrosi)
- Tom Klingenberg (ktomk) - Tom Klingenberg (ktomk)
- Daniel Gomes (danielcsgomes)
- De Cock Xavier (xdecock) - De Cock Xavier (xdecock)
- Cristian González Sánchez (cristiangsp) - Cristian González Sánchez (cristiangsp)
- Nils Adermann (naderman) - Nils Adermann (naderman)
@ -205,6 +210,7 @@ Symfony2 is the result of the work of many people who made the code better
- Ziumin (Ziumin) - Ziumin (Ziumin)
- Aurélien Fredouelle (AurelC2G) - Aurélien Fredouelle (AurelC2G)
- Marek Kalnik (marekkalnik) - Marek Kalnik (marekkalnik)
- Adán Lobato (adanlobato)
- Tiago Ribeiro (fixe) - Tiago Ribeiro (fixe)
- Geoffrey Tran (geoffreytran) - Geoffrey Tran (geoffreytran)
- Christian Schaefer (caefer) - Christian Schaefer (caefer)
@ -220,12 +226,14 @@ Symfony2 is the result of the work of many people who made the code better
- Tom Van Looy (tvlooy) - Tom Van Looy (tvlooy)
- umpirski (umpirski) - umpirski (umpirski)
- Neil Katin - Neil Katin
- John Kary (johnkary)
- Peter Kokot (peterkokot) - Peter Kokot (peterkokot)
- Hossein Bukhamsin (husinluck) - Hossein Bukhamsin (husinluck)
- Fabrice Bernhard (fabriceb) - Fabrice Bernhard (fabriceb)
- develop - develop
- Hiromi Hishida (77web) - Hiromi Hishida (77web)
- Klein Florian (docteurklein) - Klein Florian (docteurklein)
- Stéphane PY (stephpy)
- Joshua Nye (zerosanity) - Joshua Nye (zerosanity)
- markchalloner (markchalloner) - markchalloner (markchalloner)
- Mike Lively (mlively) - Mike Lively (mlively)
@ -234,7 +242,6 @@ Symfony2 is the result of the work of many people who made the code better
- Casper Valdemar Poulsen (cvaldemar) - Casper Valdemar Poulsen (cvaldemar)
- Degory Valentine - Degory Valentine
- Krzysiek Łabuś (Crozin) - Krzysiek Łabuś (Crozin)
- Ismael Ambrosi (iambrosi)
- Thomas Bibb (thomasbibb) - Thomas Bibb (thomasbibb)
- Ivan Kurnosov - Ivan Kurnosov
- stloyd - stloyd
@ -260,6 +267,7 @@ Symfony2 is the result of the work of many people who made the code better
- Chris Smith (cs278) - Chris Smith (cs278)
- Derek ROTH (DerekRoth) - Derek ROTH (DerekRoth)
- mwsaz - mwsaz
- corphi (corphi)
- Giulio De Donato (liuggio) - Giulio De Donato (liuggio)
- Matthias (mpdude) - Matthias (mpdude)
- Emil Einarsson (Einarsson) - Emil Einarsson (Einarsson)
@ -290,13 +298,13 @@ Symfony2 is the result of the work of many people who made the code better
- Hans (drublic) - Hans (drublic)
- m0ppers (m0ppers) - m0ppers (m0ppers)
- Michael Shtukin (mshtukin) - Michael Shtukin (mshtukin)
- Anthon Pang (robocoder)
- Teo (teo-sk) - Teo (teo-sk)
- Tony Piper (tonypiper) - Tony Piper (tonypiper)
- sensio - sensio
- Théophile Helleboid - chtitux (chtitux) - Théophile Helleboid - chtitux (chtitux)
- Matthew Lewinski (lewinski) - Matthew Lewinski (lewinski)
- Markus Bachmann (Baachi) - Markus Bachmann (Baachi)
- scoolen (scoolen)
- irmantas (irmantas) - irmantas (irmantas)
- tero (tero) - tero (tero)
- Vadim Tyukov (vatson) - Vadim Tyukov (vatson)
@ -305,7 +313,6 @@ Symfony2 is the result of the work of many people who made the code better
- Tobias Sjösten (tobiassjosten) - Tobias Sjösten (tobiassjosten)
- Wojciech Sznapka (wowo) - Wojciech Sznapka (wowo)
- julien.galenski - julien.galenski
- John Kary (johnkary)
- Martijn Evers (martijn4evers) - Martijn Evers (martijn4evers)
- Jeremy Bush (zombor) - Jeremy Bush (zombor)
- Evan Villemez (evillemez) - Evan Villemez (evillemez)
@ -316,11 +323,14 @@ Symfony2 is the result of the work of many people who made the code better
- Nicolas Fabre (nfabre) - Nicolas Fabre (nfabre)
- Clément Herreman (clemherreman) - Clément Herreman (clemherreman)
- heccjj (heccjj) - heccjj (heccjj)
- Ringosan (Ringosan)
- Balázs Benyó (duplabe)
- Sebastian Utz (seut) - Sebastian Utz (seut)
- Cédric Lahouste (RapotOR) - Cédric Lahouste (RapotOR)
- George Giannoulopoulos (dotoree) - George Giannoulopoulos (dotoree)
- Alberto Pirovano (geezmo) - Alberto Pirovano (geezmo)
- Xavier Briand (xavierbriand) - Xavier Briand (xavierbriand)
- Romain Geissler (Romain-Geissler)
- Carsten Nielsen (phreaknerd) - Carsten Nielsen (phreaknerd)
- JerikVenture (JerikVenture) - JerikVenture (JerikVenture)
- Evan Kaufman (EvanK) - Evan Kaufman (EvanK)
@ -363,6 +373,7 @@ Symfony2 is the result of the work of many people who made the code better
- cim-dch (cim-dch) - cim-dch (cim-dch)
- Dan Ordille (dordille) - Dan Ordille (dordille)
- Martin Mayer (martinmayer) - Martin Mayer (martinmayer)
- Uwe Jäger (uwej711)
- Baptiste Clavié (Taluu) - Baptiste Clavié (Taluu)
- Tuxosaurus (Tuxosaurus) - Tuxosaurus (Tuxosaurus)
- Hugo Hamon - Hugo Hamon
@ -385,7 +396,6 @@ Symfony2 is the result of the work of many people who made the code better
- Jimmy Leger (redpanda) - Jimmy Leger (redpanda)
- Nicolas A. Bérard-Nault - Nicolas A. Bérard-Nault
- Alexey Popkov - Alexey Popkov
- Adán Lobato (adanlobato)
- Arnaud Buathier (arnapou) - Arnaud Buathier (arnapou)
- chesteroni (chesteroni) - chesteroni (chesteroni)
- Elnur Abdurrakhimov (elnur) - Elnur Abdurrakhimov (elnur)
@ -395,6 +405,7 @@ Symfony2 is the result of the work of many people who made the code better
- Eugene Babushkin (EugeneBabushkin) - Eugene Babushkin (EugeneBabushkin)
- Fabien D. (FabienD) - Fabien D. (FabienD)
- Matt Drollette (MDrollette) - Matt Drollette (MDrollette)
- Matthieu Moquet (MattKetmo)
- Kornienko Alexander (Skorney) - Kornienko Alexander (Skorney)
- Vincent (Vincent-P) - Vincent (Vincent-P)
- Drew Butler - Drew Butler

View File

@ -0,0 +1,19 @@
Copyright (c) 2004-2012 Fabien Potencier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -0,0 +1,19 @@
Copyright (c) 2004-2012 Fabien Potencier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -0,0 +1,19 @@
Copyright (c) 2004-2012 Fabien Potencier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -0,0 +1,19 @@
Copyright (c) 2004-2012 Fabien Potencier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -0,0 +1,19 @@
Copyright (c) 2004-2012 Fabien Potencier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -0,0 +1,19 @@
Copyright (c) 2004-2012 Fabien Potencier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -0,0 +1,19 @@
Copyright (c) 2004-2012 Fabien Potencier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -0,0 +1,19 @@
Copyright (c) 2004-2012 Fabien Potencier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -20,7 +20,7 @@ use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Config\FileLocatorInterface; use Symfony\Component\Config\FileLocatorInterface;
/** /**
* This engine knows how to render Twig templates. * This engine renders Twig templates.
* *
* @author Fabien Potencier <fabien@symfony.com> * @author Fabien Potencier <fabien@symfony.com>
*/ */

View File

@ -0,0 +1,19 @@
Copyright (c) 2004-2012 Fabien Potencier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -249,6 +249,8 @@ class ArrayNodeDefinition extends NodeDefinition implements ParentNodeDefinition
* ->append($this->getBarNodeDefinition()) * ->append($this->getBarNodeDefinition())
* ; * ;
* *
* @param NodeDefinition $node A NodeDefinition instance
*
* @return ArrayNodeDefinition This node * @return ArrayNodeDefinition This node
*/ */
public function append(NodeDefinition $node) public function append(NodeDefinition $node)

View File

@ -37,6 +37,8 @@ class ExprBuilder
/** /**
* Marks the expression as being always used. * Marks the expression as being always used.
* *
* @param \Closure $then
*
* @return ExprBuilder * @return ExprBuilder
*/ */
public function always(\Closure $then = null) public function always(\Closure $then = null)

View File

@ -55,6 +55,8 @@ abstract class NodeDefinition implements NodeParentInterface
* Sets the parent node. * Sets the parent node.
* *
* @param NodeParentInterface $parent The parent * @param NodeParentInterface $parent The parent
*
* @return NodeDefinition
*/ */
public function setParent(NodeParentInterface $parent) public function setParent(NodeParentInterface $parent)
{ {

View File

@ -39,6 +39,8 @@ class DelegatingLoader extends Loader
* @param mixed $resource A resource * @param mixed $resource A resource
* @param string $type The resource type * @param string $type The resource type
* *
* @return mixed
*
* @throws FileLoaderLoadException if no loader is found. * @throws FileLoaderLoadException if no loader is found.
*/ */
public function load($resource, $type = null) public function load($resource, $type = null)

View File

@ -839,7 +839,7 @@ class Application
} }
if (preg_match("{rows.(\d+);.columns.(\d+);}i", $this->getSttyColumns(), $match)) { if (preg_match("{rows.(\d+);.columns.(\d+);}i", $this->getSttyColumns(), $match)) {
return $match[1]; return $match[2];
} }
} }
@ -855,7 +855,7 @@ class Application
} }
if (preg_match("{rows.(\d+);.columns.(\d+);}i", $this->getSttyColumns(), $match)) { if (preg_match("{rows.(\d+);.columns.(\d+);}i", $this->getSttyColumns(), $match)) {
return $match[2]; return $match[1];
} }
} }

View File

@ -200,6 +200,8 @@ class Command
* @param InputInterface $input An InputInterface instance * @param InputInterface $input An InputInterface instance
* @param OutputInterface $output An OutputInterface instance * @param OutputInterface $output An OutputInterface instance
* *
* @return integer The command exit code
*
* @see setCode() * @see setCode()
* @see execute() * @see execute()
* *

View File

@ -41,9 +41,9 @@ class OutputFormatter implements OutputFormatterInterface
{ {
$this->decorated = (Boolean) $decorated; $this->decorated = (Boolean) $decorated;
$this->setStyle('error', new OutputFormatterStyle('white', 'red')); $this->setStyle('error', new OutputFormatterStyle('white', 'red'));
$this->setStyle('info', new OutputFormatterStyle('green')); $this->setStyle('info', new OutputFormatterStyle('green'));
$this->setStyle('comment', new OutputFormatterStyle('yellow')); $this->setStyle('comment', new OutputFormatterStyle('yellow'));
$this->setStyle('question', new OutputFormatterStyle('black', 'cyan')); $this->setStyle('question', new OutputFormatterStyle('black', 'cyan'));
foreach ($styles as $name => $style) { foreach ($styles as $name => $style) {
@ -93,9 +93,9 @@ class OutputFormatter implements OutputFormatterInterface
/** /**
* Checks if output formatter has style with specified name. * Checks if output formatter has style with specified name.
* *
* @param string $name * @param string $name
* *
* @return Boolean * @return Boolean
* *
* @api * @api
*/ */
@ -107,11 +107,11 @@ class OutputFormatter implements OutputFormatterInterface
/** /**
* Gets style options from style with specified name. * Gets style options from style with specified name.
* *
* @param string $name * @param string $name
* *
* @return OutputFormatterStyleInterface * @return OutputFormatterStyleInterface
* *
* @throws \InvalidArgumentException When style isn't defined * @throws \InvalidArgumentException When style isn't defined
* *
* @api * @api
*/ */
@ -181,9 +181,9 @@ class OutputFormatter implements OutputFormatterInterface
/** /**
* Tries to create new style instance from string. * Tries to create new style instance from string.
* *
* @param string $string * @param string $string
* *
* @return OutputFormatterStyle|Boolean false if string is not format string * @return OutputFormatterStyle|Boolean false if string is not format string
*/ */
private function createStyleFromString($string) private function createStyleFromString($string)
{ {

View File

@ -51,9 +51,9 @@ interface OutputFormatterInterface
/** /**
* Checks if output formatter has style with specified name. * Checks if output formatter has style with specified name.
* *
* @param string $name * @param string $name
* *
* @return Boolean * @return Boolean
* *
* @api * @api
*/ */
@ -62,9 +62,9 @@ interface OutputFormatterInterface
/** /**
* Gets style options from style with specified name. * Gets style options from style with specified name.
* *
* @param string $name * @param string $name
* *
* @return OutputFormatterStyleInterface * @return OutputFormatterStyleInterface
* *
* @api * @api
*/ */

View File

@ -55,9 +55,9 @@ class OutputFormatterStyle implements OutputFormatterStyleInterface
/** /**
* Initializes output formatter style. * Initializes output formatter style.
* *
* @param string $foreground style foreground color name * @param string $foreground The style foreground color name
* @param string $background style background color name * @param string $background The style background color name
* @param array $options style options * @param array $options The style options
* *
* @api * @api
*/ */
@ -77,7 +77,7 @@ class OutputFormatterStyle implements OutputFormatterStyleInterface
/** /**
* Sets style foreground color. * Sets style foreground color.
* *
* @param string $color color name * @param string $color The color name
* *
* @throws \InvalidArgumentException When the color name isn't defined * @throws \InvalidArgumentException When the color name isn't defined
* *
@ -105,7 +105,7 @@ class OutputFormatterStyle implements OutputFormatterStyleInterface
/** /**
* Sets style background color. * Sets style background color.
* *
* @param string $color color name * @param string $color The color name
* *
* @throws \InvalidArgumentException When the color name isn't defined * @throws \InvalidArgumentException When the color name isn't defined
* *
@ -133,7 +133,7 @@ class OutputFormatterStyle implements OutputFormatterStyleInterface
/** /**
* Sets some specific style option. * Sets some specific style option.
* *
* @param string $option option name * @param string $option The option name
* *
* @throws \InvalidArgumentException When the option name isn't defined * @throws \InvalidArgumentException When the option name isn't defined
* *
@ -157,7 +157,7 @@ class OutputFormatterStyle implements OutputFormatterStyleInterface
/** /**
* Unsets some specific style option. * Unsets some specific style option.
* *
* @param string $option option name * @param string $option The option name
* *
* @throws \InvalidArgumentException When the option name isn't defined * @throws \InvalidArgumentException When the option name isn't defined
* *
@ -181,7 +181,7 @@ class OutputFormatterStyle implements OutputFormatterStyleInterface
/** /**
* Sets multiple style options at once. * Sets multiple style options at once.
* *
* @param array $options * @param array $options
*/ */
public function setOptions(array $options) public function setOptions(array $options)
{ {

View File

@ -23,7 +23,7 @@ interface OutputFormatterStyleInterface
/** /**
* Sets style foreground color. * Sets style foreground color.
* *
* @param string $color color name * @param string $color The color name
* *
* @api * @api
*/ */
@ -32,7 +32,7 @@ interface OutputFormatterStyleInterface
/** /**
* Sets style background color. * Sets style background color.
* *
* @param string $color color name * @param string $color The color name
* *
* @api * @api
*/ */
@ -41,7 +41,7 @@ interface OutputFormatterStyleInterface
/** /**
* Sets some specific style option. * Sets some specific style option.
* *
* @param string $option option name * @param string $option The option name
* *
* @api * @api
*/ */
@ -50,14 +50,14 @@ interface OutputFormatterStyleInterface
/** /**
* Unsets some specific style option. * Unsets some specific style option.
* *
* @param string $option option name * @param string $option Theoption name
*/ */
function unsetOption($option); function unsetOption($option);
/** /**
* Sets multiple style options at once. * Sets multiple style options at once.
* *
* @param array $options * @param array $options
*/ */
function setOptions(array $options); function setOptions(array $options);

View File

@ -131,6 +131,8 @@ class DialogHelper extends Helper
/** /**
* Returns the helper's canonical name. * Returns the helper's canonical name.
*
* @return string The helper name
*/ */
public function getName() public function getName()
{ {

View File

@ -24,6 +24,8 @@ class FormatterHelper extends Helper
* @param string $section The section name * @param string $section The section name
* @param string $message The message * @param string $message The message
* @param string $style The style to apply to the section * @param string $style The style to apply to the section
*
* @return string The format section
*/ */
public function formatSection($section, $message, $style = 'info') public function formatSection($section, $message, $style = 'info')
{ {

View File

@ -47,6 +47,8 @@ class StringInput extends ArgvInput
* *
* @param string $input The input to tokenize * @param string $input The input to tokenize
* *
* @return array An array of tokens
*
* @throws \InvalidArgumentException When unable to parse input (should never happen) * @throws \InvalidArgumentException When unable to parse input (should never happen)
*/ */
private function tokenize($input) private function tokenize($input)

View File

@ -145,6 +145,7 @@ EOF;
* Tries to return autocompletion for the current entered text. * Tries to return autocompletion for the current entered text.
* *
* @param string $text The last segment of the entered text * @param string $text The last segment of the entered text
*
* @return Boolean|array A list of guessed strings or true * @return Boolean|array A list of guessed strings or true
*/ */
private function autocompleter($text) private function autocompleter($text)

View File

@ -18,6 +18,8 @@ use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\StreamOutput; use Symfony\Component\Console\Output\StreamOutput;
/** /**
* Eases the testing of console applications.
*
* @author Fabien Potencier <fabien@symfony.com> * @author Fabien Potencier <fabien@symfony.com>
*/ */
class ApplicationTester class ApplicationTester

View File

@ -16,6 +16,8 @@ use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\StreamOutput; use Symfony\Component\Console\Output\StreamOutput;
/** /**
* Eases the testing of console commands.
*
* @author Fabien Potencier <fabien@symfony.com> * @author Fabien Potencier <fabien@symfony.com>
*/ */
class CommandTester class CommandTester

View File

@ -84,11 +84,11 @@ class CssSelector
* Parses an expression and returns the Node object that represents * Parses an expression and returns the Node object that represents
* the parsed expression. * the parsed expression.
* *
* @throws \Exception When tokenizer throws it while parsing
*
* @param string $string The expression to parse * @param string $string The expression to parse
* *
* @return Node\NodeInterface * @return Node\NodeInterface
*
* @throws \Exception When tokenizer throws it while parsing
*/ */
public function parse($string) public function parse($string)
{ {
@ -136,11 +136,11 @@ class CssSelector
* Parses a selector contained in $stream and returns the Node * Parses a selector contained in $stream and returns the Node
* object that represents it. * object that represents it.
* *
* @throws ParseException When expected selector but got something else
*
* @param TokenStream $stream The stream containing the selector. * @param TokenStream $stream The stream containing the selector.
* *
* @return Node\NodeInterface * @return Node\NodeInterface
*
* @throws ParseException When expected selector but got something else
*/ */
private function parseSelector($stream) private function parseSelector($stream)
{ {
@ -177,11 +177,11 @@ class CssSelector
* Parses a simple selector (the current token) from $stream and returns * Parses a simple selector (the current token) from $stream and returns
* the resulting Node object. * the resulting Node object.
* *
* @throws ParseException When expected symbol but got something else
*
* @param TokenStream $stream The stream containing the selector. * @param TokenStream $stream The stream containing the selector.
* *
* @return Node\NodeInterface * @return Node\NodeInterface
*
* @throws ParseException When expected symbol but got something else
*/ */
private function parseSimpleSelector($stream) private function parseSimpleSelector($stream)
{ {
@ -284,13 +284,13 @@ class CssSelector
* Parses an attribute from a selector contained in $stream and returns * Parses an attribute from a selector contained in $stream and returns
* the resulting AttribNode object. * the resulting AttribNode object.
* *
* @throws ParseException When encountered unexpected selector
*
* @param Node\NodeInterface $selector The selector object whose attribute * @param Node\NodeInterface $selector The selector object whose attribute
* is to be parsed. * is to be parsed.
* @param TokenStream $stream The container token stream. * @param TokenStream $stream The container token stream.
* *
* @return Node\AttribNode * @return Node\AttribNode
*
* @throws ParseException When encountered unexpected selector
*/ */
private function parseAttrib($selector, $stream) private function parseAttrib($selector, $stream)
{ {

View File

@ -79,6 +79,8 @@ class CombinedSelectorNode implements NodeInterface
* *
* @param XPathExpr $xpath The XPath expression for this object * @param XPathExpr $xpath The XPath expression for this object
* @param NodeInterface $sub The NodeInterface object to add * @param NodeInterface $sub The NodeInterface object to add
*
* @return XPathExpr An XPath instance
*/ */
protected function _xpath_descendant($xpath, $sub) protected function _xpath_descendant($xpath, $sub)
{ {
@ -93,6 +95,8 @@ class CombinedSelectorNode implements NodeInterface
* *
* @param XPathExpr $xpath The parent XPath expression * @param XPathExpr $xpath The parent XPath expression
* @param NodeInterface $sub The NodeInterface object to add * @param NodeInterface $sub The NodeInterface object to add
*
* @return XPathExpr An XPath instance
*/ */
protected function _xpath_child($xpath, $sub) protected function _xpath_child($xpath, $sub)
{ {
@ -107,6 +111,8 @@ class CombinedSelectorNode implements NodeInterface
* *
* @param XPathExpr $xpath The parent XPath expression * @param XPathExpr $xpath The parent XPath expression
* @param NodeInterface $sub The adjacent XPath expression * @param NodeInterface $sub The adjacent XPath expression
*
* @return XPathExpr An XPath instance
*/ */
protected function _xpath_direct_adjacent($xpath, $sub) protected function _xpath_direct_adjacent($xpath, $sub)
{ {
@ -123,6 +129,8 @@ class CombinedSelectorNode implements NodeInterface
* *
* @param XPathExpr $xpath The parent XPath expression * @param XPathExpr $xpath The parent XPath expression
* @param NodeInterface $sub The indirect adjacent NodeInterface object * @param NodeInterface $sub The indirect adjacent NodeInterface object
*
* @return XPathExpr An XPath instance
*/ */
protected function _xpath_indirect_adjacent($xpath, $sub) protected function _xpath_indirect_adjacent($xpath, $sub)
{ {

View File

@ -109,12 +109,12 @@ class Tokenizer
* and returns an array holding the unquoted string contained by $s and * and returns an array holding the unquoted string contained by $s and
* the new position from which tokenizing should take over. * the new position from which tokenizing should take over.
* *
* @throws ParseException When expected closing is not found
*
* @param string $s The selector string containing the quoted string. * @param string $s The selector string containing the quoted string.
* @param integer $pos The starting position for the quoted string. * @param integer $pos The starting position for the quoted string.
* *
* @return array * @return array
*
* @throws ParseException When expected closing is not found
*/ */
private function tokenizeEscapedString($s, $pos) private function tokenizeEscapedString($s, $pos)
{ {
@ -146,11 +146,11 @@ class Tokenizer
/** /**
* Unescapes a string literal and returns the unescaped string. * Unescapes a string literal and returns the unescaped string.
* *
* @throws ParseException When invalid escape sequence is found
*
* @param string $literal The string literal to unescape. * @param string $literal The string literal to unescape.
* *
* @return string * @return string
*
* @throws ParseException When invalid escape sequence is found
*/ */
private function unescapeStringLiteral($literal) private function unescapeStringLiteral($literal)
{ {
@ -172,12 +172,12 @@ class Tokenizer
* contained in it and the new position from which tokenizing should take * contained in it and the new position from which tokenizing should take
* over. * over.
* *
* @throws ParseException When Unexpected symbol is found
*
* @param string $s The selector string. * @param string $s The selector string.
* @param integer $pos The position in $s at which the symbol starts. * @param integer $pos The position in $s at which the symbol starts.
* *
* @return array * @return array
*
* @throws ParseException When Unexpected symbol is found
*/ */
private function tokenizeSymbol($s, $pos) private function tokenizeSymbol($s, $pos)
{ {

View File

@ -533,7 +533,7 @@ class Response
*/ */
public function mustRevalidate() public function mustRevalidate()
{ {
return $this->headers->hasCacheControlDirective('must-revalidate') || $this->headers->has('must-proxy-revalidate'); return $this->headers->hasCacheControlDirective('must-revalidate') || $this->headers->has('proxy-revalidate');
} }
/** /**