-
Notifications
You must be signed in to change notification settings - Fork 114
Check that the system has the PHP version required by Symfony #257
Conversation
You will now have to skip some tests when on PHP 5.4. |
This is now ready for the final review. Thanks! |
*/ | ||
public function testSymfonyRequiresNewerPhpVersion() | ||
{ | ||
if (version_compare(phpversion(), '5.5.0', '>=')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PHP_VERSION_ID >= 55000
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Thanks.
Should we make it possible to skip the version check to be able to bootstrap a project even on a system that isn't fully ready to run the application itself? |
@xabbuh I'd prefer to keep failing if your system is not ready to run the Symfony version you want to install. |
I think this needs more work. If you don't pass any version, you are using |
This is now ready for a new review. I changed everything about how we decide if a version is installable. |
This fixes #239.