Skip to content

Commit

Permalink
Merge 901c875 into 6d3a6e8
Browse files Browse the repository at this point in the history
  • Loading branch information
mscwilson committed Dec 20, 2022
2 parents 6d3a6e8 + 901c875 commit f208159
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/Emitters/CurlEmitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ class CurlEmitter extends Emitter {

private $type;
private $url;
private $debug;
private $requests_results;
private $debug_payloads;

// Curl Specific Parameters

Expand Down
2 changes: 2 additions & 0 deletions src/Emitters/SocketEmitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ class SocketEmitter extends Emitter {
private $ssl;
private $type;
private $timeout;
private $debug;
private $requests_results;

// Socket Parameters

Expand Down
2 changes: 2 additions & 0 deletions src/Emitters/SyncEmitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ class SyncEmitter extends Emitter {

private $type;
private $url;
private $debug;
private $requests_results;

/**
* Creates a Synchronous Emitter
Expand Down
2 changes: 1 addition & 1 deletion tests/tests/ClassInitTests/TrackerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function testEventIdIsProperlyGenerated()
->method('addEvent')
->with($this->callback(function ($a) use($test) {
$test->assertArrayHasKey('eid', $a);
$test->assertRegExp('/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/', $a['eid']);
$test->assertMatchesRegularExpression('/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/', $a['eid']);

return true;
}));
Expand Down

0 comments on commit f208159

Please sign in to comment.