Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
Change the way to check the PHP version
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed May 26, 2015
1 parent cde03c4 commit 539027c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SensioLabs/Security/SecurityChecker.php
Expand Up @@ -62,7 +62,7 @@ public function check($lock)

$postFields = array('lock' => '@'.$lock);

if (version_compare(PHP_VERSION, '5.5.0') >= 0) {
if (PHP_VERSION_ID >= 50500) {
$postFields['lock'] = new \CurlFile($lock);
}

Expand Down

0 comments on commit 539027c

Please sign in to comment.