]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/ApplicationUtils.php
Run Unit Tests against PHP 7.4
[github/shaarli/Shaarli.git] / application / ApplicationUtils.php
index 7fe3cb3245a9791f2a0324a3f6fd3ec377421cfc..3aa218295c634e3d0d02b3e5e9fa00ff534d7804 100644 (file)
@@ -150,6 +150,8 @@ class ApplicationUtils
      * @param string $minVersion minimum PHP required version
      * @param string $curVersion current PHP version (use PHP_VERSION)
      *
+     * @return bool true on success
+     *
      * @throws Exception the PHP version is not supported
      */
     public static function checkPHPVersion($minVersion, $curVersion)
@@ -163,6 +165,7 @@ class ApplicationUtils
             );
             throw new Exception(sprintf($msg, $minVersion));
         }
+        return true;
     }
 
     /**