Skip to content

Commit

Permalink
updated minimum PHP version to 5.3.3
Browse files Browse the repository at this point in the history
5.3.3 has some interesting fixes and this is the version used by
Redhat 6 and Debian 6
  • Loading branch information
fabpot committed May 7, 2012
1 parent cc85a6e commit 3719c70
Show file tree
Hide file tree
Showing 35 changed files with 34 additions and 42 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -16,7 +16,7 @@ to high traffic ones like Dailymotion or Yahoo! Answers.
Requirements
------------

Symfony2 is only supported on PHP 5.3.2 and up.
Symfony2 is only supported on PHP 5.3.3 and up.

Installation
------------
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.3.3",
"twig/twig": ">=1.1,<2.0-dev"
},
"replace": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bridge/Doctrine/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.3.3",
"doctrine/common": "2.2.*"
},
"suggest": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bridge/Monolog/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.3.3",
"symfony/http-kernel": "self.version",
"monolog/monolog": "1.*"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bridge/Propel1/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.3.3",
"symfony/http-foundation": "self.version",
"symfony/http-kernel": "self.version",
"symfony/form": "self.version",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bridge/Swiftmailer/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.3.3",
"swiftmailer/swiftmailer": ">=4.1.2,<4.2-dev"
},
"suggest": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bridge/Twig/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.3.3",
"twig/twig": ">=1.1,<2.0-dev"
},
"suggest": {
Expand Down
4 changes: 0 additions & 4 deletions src/Symfony/Bundle/FrameworkBundle/Tests/HttpKernelTest.php
Expand Up @@ -169,10 +169,6 @@ public function getProviderTypes()

public function testExceptionInSubRequestsDoesNotMangleOutputBuffers()
{
if (version_compare(phpversion(), '5.3.3', '<')) {
$this->markTestSkipped('Test fails with PHP 5.3.2 due to https://bugs.php.net/bug.php?id=50563');
}

$request = new Request();

$container = $this->getMock('Symfony\\Component\\DependencyInjection\\ContainerInterface');
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/FrameworkBundle/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.3.3",
"symfony/dependency-injection" : "self.version",
"symfony/config" : "self.version",
"symfony/event-dispatcher": "self.version",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/SecurityBundle/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.3.3",
"symfony/security": "self.version"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/TwigBundle/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.3.3",
"symfony/twig-bridge": "self.version"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/WebProfilerBundle/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.3.3",
"symfony/twig-bundle": "self.version"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/BrowserKit/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.3.3",
"symfony/dom-crawler": "2.1.*"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/ClassLoader/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2"
"php": ">=5.3.3"
},
"require-dev": {
"symfony/finder": "2.1.*"
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Config/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2"
"php": ">=5.3.3"
},
"autoload": {
"psr-0": { "Symfony\\Component\\Config": "" }
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Console/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2"
"php": ">=5.3.3"
},
"autoload": {
"psr-0": { "Symfony\\Component\\Console": "" }
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/CssSelector/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2"
"php": ">=5.3.3"
},
"autoload": {
"psr-0": { "Symfony\\Component\\CssSelector": "" }
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/DependencyInjection/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2"
"php": ">=5.3.3"
},
"require-dev": {
"symfony/yaml": "2.1.*",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/DomCrawler/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2"
"php": ">=5.3.3"
},
"require-dev": {
"symfony/css-selector": "2.1.*"
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/EventDispatcher/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2"
"php": ">=5.3.3"
},
"require-dev": {
"symfony/dependency-injection": "2.1.*"
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Filesystem/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2"
"php": ">=5.3.3"
},
"autoload": {
"psr-0": { "Symfony\\Component\\Filesystem": "" }
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Finder/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2"
"php": ">=5.3.3"
},
"autoload": {
"psr-0": { "Symfony\\Component\\Finder": "" }
Expand Down
4 changes: 0 additions & 4 deletions src/Symfony/Component/Form/Tests/Util/FormUtilTest.php
Expand Up @@ -40,10 +40,6 @@ public function testIsChoiceGroup($expected, $value)

public function testIsChoiceGroupPart2()
{
if (version_compare(PHP_VERSION, '5.3.2') <= 0) {
$this->markTestSkipped('PHP prior to 5.3.3 has issue with SplFixedArrays - https://bugs.php.net/bug.php?id=50481');
}

$this->assertTrue(FormUtil::isChoiceGroup(new \SplFixedArray(1)));
}

Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Form/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.3.3",
"symfony/event-dispatcher": "2.1.*",
"symfony/locale": "2.1.*"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpFoundation/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2"
"php": ">=5.3.3"
},
"autoload": {
"psr-0": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpKernel/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.3.3",
"symfony/event-dispatcher": "2.1.*",
"symfony/http-foundation": "2.1.*"
},
Expand Down
4 changes: 2 additions & 2 deletions src/Symfony/Component/Locale/composer.json
Expand Up @@ -16,10 +16,10 @@
}
],
"require": {
"php": ">=5.3.2"
"php": ">=5.3.3"
},
"suggest": {
"ext-intl": ">=5.3.2"
"ext-intl": ">=5.3.3"
},
"autoload": {
"psr-0": { "Symfony\\Component\\Locale": "" }
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Process/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2"
"php": ">=5.3.3"
},
"autoload": {
"psr-0": { "Symfony\\Component\\Process": "" }
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Routing/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2"
"php": ">=5.3.3"
},
"require-dev": {
"symfony/config": "2.1.*",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Security/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.3.3",
"symfony/event-dispatcher": "2.1.*",
"symfony/http-foundation": "2.1.*",
"symfony/http-kernel": "2.1.*"
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Serializer/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2"
"php": ">=5.3.3"
},
"autoload": {
"psr-0": { "Symfony\\Component\\Serializer": "" }
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Templating/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2"
"php": ">=5.3.3"
},
"autoload": {
"psr-0": { "Symfony\\Component\\Templating": "" }
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Translation/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2"
"php": ">=5.3.3"
},
"require-dev": {
"symfony/config": "2.1.*",
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Validator/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.3.3",
"doctrine/common": ">=2.1,<2.3"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Component/Yaml/composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=5.3.2"
"php": ">=5.3.3"
},
"autoload": {
"psr-0": { "Symfony\\Component\\Yaml": "" }
Expand Down

0 comments on commit 3719c70

Please sign in to comment.