From c0e38028d46886d64168d1adf595f674ecd2e5d5 Mon Sep 17 00:00:00 2001 From: Gavin Stewart Date: Wed, 28 Sep 2022 14:51:27 +1000 Subject: [PATCH] Set version and log level pending release --- RESTfm.php | 4 ++-- lib/RESTfm/Version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RESTfm.php b/RESTfm.php index 5af933c..79d39ca 100644 --- a/RESTfm.php +++ b/RESTfm.php @@ -26,8 +26,8 @@ $startTimeUs = microtime(TRUE); // Ensure E_STRICT is removed for PHP 5.4+ -//error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); -error_reporting(E_ALL & ~E_STRICT); // Dev. level reporting +error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); +//error_reporting(E_ALL & ~E_STRICT); // Dev. level reporting // x-debug's html error output makes CLI debugging with cURL a problem. ini_set('html_errors', FALSE); diff --git a/lib/RESTfm/Version.php b/lib/RESTfm/Version.php index 1ff7adb..971dc8e 100644 --- a/lib/RESTfm/Version.php +++ b/lib/RESTfm/Version.php @@ -23,7 +23,7 @@ * Version static class to hold release version. */ class Version { - private static $_release = 'dev'; + private static $_release = '6.0.2'; private static $_revision = '%%REVISION%%'; private static $_protocol = '6'; // Bump this when REST API changes.