Browse Source

handling older versions in testing

El RIDO 7 years ago
parent
commit
7598b28a4a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tst/Bootstrap.php

+ 1 - 1
tst/Bootstrap.php

@@ -111,7 +111,7 @@ class Helper
      */
      */
     public static function getPasteId()
     public static function getPasteId()
     {
     {
-        return self::$pasteid;
+        return version_compare(PHP_VERSION, '5.5') > 0 ? self::$pasteid : hash('fnv164', self::$pasteV2['ct']);
     }
     }
 
 
     /**
     /**