Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disallow launching Couscous when PHP version is < 5.4 #52

Merged
merged 2 commits into from
Dec 10, 2014

Conversation

wysow
Copy link
Member

@wysow wysow commented Dec 5, 2014

related to #51

@@ -9,6 +9,10 @@
use Couscous\ContainerFactory;
use Symfony\Component\Console\Application;

if (!version_compare(phpversion(), '5.4', '>=')) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not simpler: if (version_compare(phpversion(), '5.4.0', '<')) {

(reversed if negation)

@mnapoli mnapoli added this to the 1.0 milestone Dec 6, 2014
@mnapoli
Copy link
Member

mnapoli commented Dec 6, 2014

Damn sorry it took me long to answer some GitHub email notifications don't reach my inbox lately… I don't know why.

@mnapoli mnapoli modified the milestones: 1.1, 1.0 Dec 10, 2014
mnapoli added a commit that referenced this pull request Dec 10, 2014
Disallow launching Couscous when PHP version is < 5.4
@mnapoli mnapoli merged commit 25c3d62 into master Dec 10, 2014
@mnapoli mnapoli deleted the fix/warn-php-version branch December 10, 2014 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants