File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 */
2626class Client extends GuzzleClient
2727{
28+ /**
29+ * PHP Client Version
30+ */
31+ const VERSION = '1.0.0 ' ;
32+
2833 /**
2934 * Constructor
3035 *
Original file line number Diff line number Diff line change 99 */
1010abstract class EnrichmentFilters
1111{
12- /**
13- * PHP Client Version
14- */
15- const VERSION = '0.0.1 ' ;
16-
1712 /**
1813 * Generates a UUID v4 as a Message Id
1914 *
@@ -91,7 +86,7 @@ public static function generateDefaultContext(array $context = [])
9186 return array_merge ($ context , [
9287 'library ' => [
9388 'name ' => 'analytics-php ' ,
94- 'version ' => self ::VERSION
89+ 'version ' => \ SegmentIO \Client ::VERSION
9590 ]
9691 ]);
9792 }
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public function testGenerateDefaultContext()
4747 $ context = [
4848 'library ' => [
4949 'name ' => 'analytics-php ' ,
50- 'version ' => EnrichmentFilters ::VERSION
50+ 'version ' => \ SegmentIO \Client ::VERSION
5151 ]
5252 ];
5353
You can’t perform that action at this time.
0 commit comments