From ee9d8de61eb51f721a74119e4e1bcc31126fa965 Mon Sep 17 00:00:00 2001 From: adatzer Date: Tue, 2 Mar 2021 13:36:59 +0200 Subject: [PATCH] Tmp - Bump to rc1 --- CHANGELOG | 4 ++-- src/Constants.php | 2 +- tests/tests/ClassInitTests/TrackerTest.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 91a8554..f5e4735 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,5 @@ -Version 0.4.0 (2021-03-02) --------------------------- +Version 0.4.0-rc1 (2021-03-02) +------------------------------ Required parameters after optional parameters deprecated in PHP 8.0 (closes #97) Lock Mountebank to v2.4.0 (#67) Remove deprecated errcontext from custom error handler (#95) diff --git a/src/Constants.php b/src/Constants.php index 93121e8..cda09f0 100644 --- a/src/Constants.php +++ b/src/Constants.php @@ -46,7 +46,7 @@ class Constants { * - SSL: the default for whether or not to use SSL Encryption * - Type: the default for what type of request the emitter will be making (POST or GET) */ - const TRACKER_VERSION = "php-0.4.0"; + const TRACKER_VERSION = "php-0.4.0-rc1"; const DEFAULT_BASE_64 = true; const DEBUG_LOG_FILES = true; const CONTEXT_SCHEMA = "iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-1"; diff --git a/tests/tests/ClassInitTests/TrackerTest.php b/tests/tests/ClassInitTests/TrackerTest.php index 626f903..7177b87 100644 --- a/tests/tests/ClassInitTests/TrackerTest.php +++ b/tests/tests/ClassInitTests/TrackerTest.php @@ -67,7 +67,7 @@ public function testTrackerInit() { // Asserts $this->assertEquals($this->s1, $tracker->returnSubject()); $this->assertEquals(false, $tracker->returnEncodeBase64()); - $this->assertEquals(array("tv" => "php-0.4.0", "tna" => "namespace", "aid" => "app_id"), $tracker->returnStdNvPairs()); + $this->assertEquals(array("tv" => "php-0.4.0-rc1", "tna" => "namespace", "aid" => "app_id"), $tracker->returnStdNvPairs()); $tracker->turnOffDebug(true); }