Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[ClassLoader] Fixed version compare

  • Loading branch information...
commit da83c40b126ce8622fc052332b2c54a135ed976c 1 parent cf6a149
@hason hason authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ClassMapGenerator.php
View
2  ClassMapGenerator.php
@@ -84,7 +84,7 @@ static private function findClasses($path)
{
$contents = file_get_contents($path);
$tokens = token_get_all($contents);
- $T_TRAIT = version_compare(PHP_VERSION, '5.4.0RC1', '<') ? -1 : T_TRAIT;
+ $T_TRAIT = version_compare(PHP_VERSION, '5.4', '<') ? -1 : T_TRAIT;
$classes = array();
Please sign in to comment.
Something went wrong with that request. Please try again.