Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

updated minimum PHP version to 5.3.3

5.3.3 has some interesting fixes and this is the version used by
Redhat 6 and Debian 6
  • Loading branch information...
commit 3719c7087042d77a9dec5eb89f64c2a1732b3748 1 parent cc85a6e
Fabien Potencier authored May 07, 2012

Showing 35 changed files with 34 additions and 42 deletions. Show diff stats Hide diff stats

  1. 2  README.md
  2. 2  composer.json
  3. 2  src/Symfony/Bridge/Doctrine/composer.json
  4. 2  src/Symfony/Bridge/Monolog/composer.json
  5. 2  src/Symfony/Bridge/Propel1/composer.json
  6. 2  src/Symfony/Bridge/Swiftmailer/composer.json
  7. 2  src/Symfony/Bridge/Twig/composer.json
  8. 4  src/Symfony/Bundle/FrameworkBundle/Tests/HttpKernelTest.php
  9. 2  src/Symfony/Bundle/FrameworkBundle/composer.json
  10. 2  src/Symfony/Bundle/SecurityBundle/composer.json
  11. 2  src/Symfony/Bundle/TwigBundle/composer.json
  12. 2  src/Symfony/Bundle/WebProfilerBundle/composer.json
  13. 2  src/Symfony/Component/BrowserKit/composer.json
  14. 2  src/Symfony/Component/ClassLoader/composer.json
  15. 2  src/Symfony/Component/Config/composer.json
  16. 2  src/Symfony/Component/Console/composer.json
  17. 2  src/Symfony/Component/CssSelector/composer.json
  18. 2  src/Symfony/Component/DependencyInjection/composer.json
  19. 2  src/Symfony/Component/DomCrawler/composer.json
  20. 2  src/Symfony/Component/EventDispatcher/composer.json
  21. 2  src/Symfony/Component/Filesystem/composer.json
  22. 2  src/Symfony/Component/Finder/composer.json
  23. 4  src/Symfony/Component/Form/Tests/Util/FormUtilTest.php
  24. 2  src/Symfony/Component/Form/composer.json
  25. 2  src/Symfony/Component/HttpFoundation/composer.json
  26. 2  src/Symfony/Component/HttpKernel/composer.json
  27. 4  src/Symfony/Component/Locale/composer.json
  28. 2  src/Symfony/Component/Process/composer.json
  29. 2  src/Symfony/Component/Routing/composer.json
  30. 2  src/Symfony/Component/Security/composer.json
  31. 2  src/Symfony/Component/Serializer/composer.json
  32. 2  src/Symfony/Component/Templating/composer.json
  33. 2  src/Symfony/Component/Translation/composer.json
  34. 2  src/Symfony/Component/Validator/composer.json
  35. 2  src/Symfony/Component/Yaml/composer.json
2  README.md
Source Rendered
@@ -16,7 +16,7 @@ to high traffic ones like Dailymotion or Yahoo! Answers.
16 16
 Requirements
17 17
 ------------
18 18
 
19  
-Symfony2 is only supported on PHP 5.3.2 and up.
  19
+Symfony2 is only supported on PHP 5.3.3 and up.
20 20
 
21 21
 Installation
22 22
 ------------
2  composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2",
  19
+        "php": ">=5.3.3",
20 20
         "twig/twig": ">=1.1,<2.0-dev"
21 21
     },
22 22
     "replace": {
2  src/Symfony/Bridge/Doctrine/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2",
  19
+        "php": ">=5.3.3",
20 20
         "doctrine/common": "2.2.*"
21 21
     },
22 22
     "suggest": {
2  src/Symfony/Bridge/Monolog/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2",
  19
+        "php": ">=5.3.3",
20 20
         "symfony/http-kernel": "self.version",
21 21
         "monolog/monolog": "1.*"
22 22
     },
2  src/Symfony/Bridge/Propel1/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2",
  19
+        "php": ">=5.3.3",
20 20
         "symfony/http-foundation": "self.version",
21 21
         "symfony/http-kernel": "self.version",
22 22
         "symfony/form": "self.version",
2  src/Symfony/Bridge/Swiftmailer/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2",
  19
+        "php": ">=5.3.3",
20 20
         "swiftmailer/swiftmailer": ">=4.1.2,<4.2-dev"
21 21
     },
22 22
     "suggest": {
2  src/Symfony/Bridge/Twig/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2",
  19
+        "php": ">=5.3.3",
20 20
         "twig/twig": ">=1.1,<2.0-dev"
21 21
     },
22 22
     "suggest": {
4  src/Symfony/Bundle/FrameworkBundle/Tests/HttpKernelTest.php
@@ -169,10 +169,6 @@ public function getProviderTypes()
169 169
 
170 170
     public function testExceptionInSubRequestsDoesNotMangleOutputBuffers()
171 171
     {
172  
-        if (version_compare(phpversion(), '5.3.3', '<')) {
173  
-            $this->markTestSkipped('Test fails with PHP 5.3.2 due to https://bugs.php.net/bug.php?id=50563');
174  
-        }
175  
-
176 172
         $request = new Request();
177 173
 
178 174
         $container = $this->getMock('Symfony\\Component\\DependencyInjection\\ContainerInterface');
2  src/Symfony/Bundle/FrameworkBundle/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2",
  19
+        "php": ">=5.3.3",
20 20
         "symfony/dependency-injection" : "self.version",
21 21
         "symfony/config" : "self.version",
22 22
         "symfony/event-dispatcher": "self.version",
2  src/Symfony/Bundle/SecurityBundle/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2",
  19
+        "php": ">=5.3.3",
20 20
         "symfony/security": "self.version"
21 21
     },
22 22
     "autoload": {
2  src/Symfony/Bundle/TwigBundle/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2",
  19
+        "php": ">=5.3.3",
20 20
         "symfony/twig-bridge": "self.version"
21 21
     },
22 22
     "autoload": {
2  src/Symfony/Bundle/WebProfilerBundle/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2",
  19
+        "php": ">=5.3.3",
20 20
         "symfony/twig-bundle": "self.version"
21 21
     },
22 22
     "autoload": {
2  src/Symfony/Component/BrowserKit/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2",
  19
+        "php": ">=5.3.3",
20 20
         "symfony/dom-crawler": "2.1.*"
21 21
     },
22 22
     "require-dev": {
2  src/Symfony/Component/ClassLoader/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2"
  19
+        "php": ">=5.3.3"
20 20
     },
21 21
     "require-dev": {
22 22
         "symfony/finder": "2.1.*"
2  src/Symfony/Component/Config/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2"
  19
+        "php": ">=5.3.3"
20 20
     },
21 21
     "autoload": {
22 22
         "psr-0": { "Symfony\\Component\\Config": "" }
2  src/Symfony/Component/Console/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2"
  19
+        "php": ">=5.3.3"
20 20
     },
21 21
     "autoload": {
22 22
         "psr-0": { "Symfony\\Component\\Console": "" }
2  src/Symfony/Component/CssSelector/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2"
  19
+        "php": ">=5.3.3"
20 20
     },
21 21
     "autoload": {
22 22
         "psr-0": { "Symfony\\Component\\CssSelector": "" }
2  src/Symfony/Component/DependencyInjection/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2"
  19
+        "php": ">=5.3.3"
20 20
     },
21 21
     "require-dev": {
22 22
         "symfony/yaml": "2.1.*",
2  src/Symfony/Component/DomCrawler/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2"
  19
+        "php": ">=5.3.3"
20 20
     },
21 21
     "require-dev": {
22 22
         "symfony/css-selector": "2.1.*"
2  src/Symfony/Component/EventDispatcher/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2"
  19
+        "php": ">=5.3.3"
20 20
     },
21 21
     "require-dev": {
22 22
         "symfony/dependency-injection": "2.1.*"
2  src/Symfony/Component/Filesystem/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2"
  19
+        "php": ">=5.3.3"
20 20
     },
21 21
     "autoload": {
22 22
         "psr-0": { "Symfony\\Component\\Filesystem": "" }
2  src/Symfony/Component/Finder/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2"
  19
+        "php": ">=5.3.3"
20 20
     },
21 21
     "autoload": {
22 22
         "psr-0": { "Symfony\\Component\\Finder": "" }
4  src/Symfony/Component/Form/Tests/Util/FormUtilTest.php
@@ -40,10 +40,6 @@ public function testIsChoiceGroup($expected, $value)
40 40
 
41 41
     public function testIsChoiceGroupPart2()
42 42
     {
43  
-        if (version_compare(PHP_VERSION, '5.3.2') <= 0) {
44  
-            $this->markTestSkipped('PHP prior to 5.3.3 has issue with SplFixedArrays - https://bugs.php.net/bug.php?id=50481');
45  
-        }
46  
-
47 43
         $this->assertTrue(FormUtil::isChoiceGroup(new \SplFixedArray(1)));
48 44
     }
49 45
 
2  src/Symfony/Component/Form/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2",
  19
+        "php": ">=5.3.3",
20 20
         "symfony/event-dispatcher": "2.1.*",
21 21
         "symfony/locale": "2.1.*"
22 22
     },
2  src/Symfony/Component/HttpFoundation/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2"
  19
+        "php": ">=5.3.3"
20 20
     },
21 21
     "autoload": {
22 22
         "psr-0": {
2  src/Symfony/Component/HttpKernel/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2",
  19
+        "php": ">=5.3.3",
20 20
         "symfony/event-dispatcher": "2.1.*",
21 21
         "symfony/http-foundation": "2.1.*"
22 22
     },
4  src/Symfony/Component/Locale/composer.json
@@ -16,10 +16,10 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2"
  19
+        "php": ">=5.3.3"
20 20
     },
21 21
     "suggest": {
22  
-        "ext-intl": ">=5.3.2"
  22
+        "ext-intl": ">=5.3.3"
23 23
     },
24 24
     "autoload": {
25 25
         "psr-0": { "Symfony\\Component\\Locale": "" }
2  src/Symfony/Component/Process/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2"
  19
+        "php": ">=5.3.3"
20 20
     },
21 21
     "autoload": {
22 22
         "psr-0": { "Symfony\\Component\\Process": "" }
2  src/Symfony/Component/Routing/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2"
  19
+        "php": ">=5.3.3"
20 20
     },
21 21
     "require-dev": {
22 22
         "symfony/config": "2.1.*",
2  src/Symfony/Component/Security/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2",
  19
+        "php": ">=5.3.3",
20 20
         "symfony/event-dispatcher": "2.1.*",
21 21
         "symfony/http-foundation": "2.1.*",
22 22
         "symfony/http-kernel": "2.1.*"
2  src/Symfony/Component/Serializer/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2"
  19
+        "php": ">=5.3.3"
20 20
     },
21 21
     "autoload": {
22 22
         "psr-0": { "Symfony\\Component\\Serializer": "" }
2  src/Symfony/Component/Templating/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2"
  19
+        "php": ">=5.3.3"
20 20
     },
21 21
     "autoload": {
22 22
         "psr-0": { "Symfony\\Component\\Templating": "" }
2  src/Symfony/Component/Translation/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2"
  19
+        "php": ">=5.3.3"
20 20
     },
21 21
     "require-dev": {
22 22
         "symfony/config": "2.1.*",
2  src/Symfony/Component/Validator/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2",
  19
+        "php": ">=5.3.3",
20 20
         "doctrine/common": ">=2.1,<2.3"
21 21
     },
22 22
     "require-dev": {
2  src/Symfony/Component/Yaml/composer.json
@@ -16,7 +16,7 @@
16 16
         }
17 17
     ],
18 18
     "require": {
19  
-        "php": ">=5.3.2"
  19
+        "php": ">=5.3.3"
20 20
     },
21 21
     "autoload": {
22 22
         "psr-0": { "Symfony\\Component\\Yaml": "" }

0 notes on commit 3719c70

Please sign in to comment.
Something went wrong with that request. Please try again.