Skip to content

Commit 3719c70

Browse files
committed
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
1 parent cc85a6e commit 3719c70

File tree

35 files changed

+34
-42
lines changed

35 files changed

+34
-42
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ to high traffic ones like Dailymotion or Yahoo! Answers.
1616
Requirements
1717
------------
1818

19-
Symfony2 is only supported on PHP 5.3.2 and up.
19+
Symfony2 is only supported on PHP 5.3.3 and up.
2020

2121
Installation
2222
------------

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2",
19+
"php": ">=5.3.3",
2020
"twig/twig": ">=1.1,<2.0-dev"
2121
},
2222
"replace": {

src/Symfony/Bridge/Doctrine/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2",
19+
"php": ">=5.3.3",
2020
"doctrine/common": "2.2.*"
2121
},
2222
"suggest": {

src/Symfony/Bridge/Monolog/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2",
19+
"php": ">=5.3.3",
2020
"symfony/http-kernel": "self.version",
2121
"monolog/monolog": "1.*"
2222
},

src/Symfony/Bridge/Propel1/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2",
19+
"php": ">=5.3.3",
2020
"symfony/http-foundation": "self.version",
2121
"symfony/http-kernel": "self.version",
2222
"symfony/form": "self.version",

src/Symfony/Bridge/Swiftmailer/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2",
19+
"php": ">=5.3.3",
2020
"swiftmailer/swiftmailer": ">=4.1.2,<4.2-dev"
2121
},
2222
"suggest": {

src/Symfony/Bridge/Twig/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2",
19+
"php": ">=5.3.3",
2020
"twig/twig": ">=1.1,<2.0-dev"
2121
},
2222
"suggest": {

src/Symfony/Bundle/FrameworkBundle/Tests/HttpKernelTest.php

-4
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,6 @@ public function getProviderTypes()
169169

170170
public function testExceptionInSubRequestsDoesNotMangleOutputBuffers()
171171
{
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-
176172
$request = new Request();
177173

178174
$container = $this->getMock('Symfony\\Component\\DependencyInjection\\ContainerInterface');

src/Symfony/Bundle/FrameworkBundle/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2",
19+
"php": ">=5.3.3",
2020
"symfony/dependency-injection" : "self.version",
2121
"symfony/config" : "self.version",
2222
"symfony/event-dispatcher": "self.version",

src/Symfony/Bundle/SecurityBundle/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2",
19+
"php": ">=5.3.3",
2020
"symfony/security": "self.version"
2121
},
2222
"autoload": {

src/Symfony/Bundle/TwigBundle/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2",
19+
"php": ">=5.3.3",
2020
"symfony/twig-bridge": "self.version"
2121
},
2222
"autoload": {

src/Symfony/Bundle/WebProfilerBundle/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2",
19+
"php": ">=5.3.3",
2020
"symfony/twig-bundle": "self.version"
2121
},
2222
"autoload": {

src/Symfony/Component/BrowserKit/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2",
19+
"php": ">=5.3.3",
2020
"symfony/dom-crawler": "2.1.*"
2121
},
2222
"require-dev": {

src/Symfony/Component/ClassLoader/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2"
19+
"php": ">=5.3.3"
2020
},
2121
"require-dev": {
2222
"symfony/finder": "2.1.*"

src/Symfony/Component/Config/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2"
19+
"php": ">=5.3.3"
2020
},
2121
"autoload": {
2222
"psr-0": { "Symfony\\Component\\Config": "" }

src/Symfony/Component/Console/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2"
19+
"php": ">=5.3.3"
2020
},
2121
"autoload": {
2222
"psr-0": { "Symfony\\Component\\Console": "" }

src/Symfony/Component/CssSelector/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2"
19+
"php": ">=5.3.3"
2020
},
2121
"autoload": {
2222
"psr-0": { "Symfony\\Component\\CssSelector": "" }

src/Symfony/Component/DependencyInjection/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2"
19+
"php": ">=5.3.3"
2020
},
2121
"require-dev": {
2222
"symfony/yaml": "2.1.*",

src/Symfony/Component/DomCrawler/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2"
19+
"php": ">=5.3.3"
2020
},
2121
"require-dev": {
2222
"symfony/css-selector": "2.1.*"

src/Symfony/Component/EventDispatcher/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2"
19+
"php": ">=5.3.3"
2020
},
2121
"require-dev": {
2222
"symfony/dependency-injection": "2.1.*"

src/Symfony/Component/Filesystem/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2"
19+
"php": ">=5.3.3"
2020
},
2121
"autoload": {
2222
"psr-0": { "Symfony\\Component\\Filesystem": "" }

src/Symfony/Component/Finder/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2"
19+
"php": ">=5.3.3"
2020
},
2121
"autoload": {
2222
"psr-0": { "Symfony\\Component\\Finder": "" }

src/Symfony/Component/Form/Tests/Util/FormUtilTest.php

-4
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ public function testIsChoiceGroup($expected, $value)
4040

4141
public function testIsChoiceGroupPart2()
4242
{
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-
4743
$this->assertTrue(FormUtil::isChoiceGroup(new \SplFixedArray(1)));
4844
}
4945

src/Symfony/Component/Form/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2",
19+
"php": ">=5.3.3",
2020
"symfony/event-dispatcher": "2.1.*",
2121
"symfony/locale": "2.1.*"
2222
},

src/Symfony/Component/HttpFoundation/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2"
19+
"php": ">=5.3.3"
2020
},
2121
"autoload": {
2222
"psr-0": {

src/Symfony/Component/HttpKernel/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2",
19+
"php": ">=5.3.3",
2020
"symfony/event-dispatcher": "2.1.*",
2121
"symfony/http-foundation": "2.1.*"
2222
},

src/Symfony/Component/Locale/composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2"
19+
"php": ">=5.3.3"
2020
},
2121
"suggest": {
22-
"ext-intl": ">=5.3.2"
22+
"ext-intl": ">=5.3.3"
2323
},
2424
"autoload": {
2525
"psr-0": { "Symfony\\Component\\Locale": "" }

src/Symfony/Component/Process/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2"
19+
"php": ">=5.3.3"
2020
},
2121
"autoload": {
2222
"psr-0": { "Symfony\\Component\\Process": "" }

src/Symfony/Component/Routing/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2"
19+
"php": ">=5.3.3"
2020
},
2121
"require-dev": {
2222
"symfony/config": "2.1.*",

src/Symfony/Component/Security/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2",
19+
"php": ">=5.3.3",
2020
"symfony/event-dispatcher": "2.1.*",
2121
"symfony/http-foundation": "2.1.*",
2222
"symfony/http-kernel": "2.1.*"

src/Symfony/Component/Serializer/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2"
19+
"php": ">=5.3.3"
2020
},
2121
"autoload": {
2222
"psr-0": { "Symfony\\Component\\Serializer": "" }

src/Symfony/Component/Templating/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2"
19+
"php": ">=5.3.3"
2020
},
2121
"autoload": {
2222
"psr-0": { "Symfony\\Component\\Templating": "" }

src/Symfony/Component/Translation/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2"
19+
"php": ">=5.3.3"
2020
},
2121
"require-dev": {
2222
"symfony/config": "2.1.*",

src/Symfony/Component/Validator/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2",
19+
"php": ">=5.3.3",
2020
"doctrine/common": ">=2.1,<2.3"
2121
},
2222
"require-dev": {

src/Symfony/Component/Yaml/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.3.2"
19+
"php": ">=5.3.3"
2020
},
2121
"autoload": {
2222
"psr-0": { "Symfony\\Component\\Yaml": "" }

0 commit comments

Comments
 (0)