Skip to content

Commit 31769d2

Browse files
committed
Prep for 0.4 release and minor housekeeping
1 parent d32c497 commit 31769d2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/phpunit.xml
33
/reports
44
/vendor/
5+
/tests/autobahn/reports

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2015 Chris Boden
1+
Copyright (c) 2021 Chris Boden
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

src/Connector.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
class Connector {
1414
protected $_loop;
1515
protected $_connector;
16-
protected $_secureConnector;
1716
protected $_negotiator;
1817

1918
public function __construct(LoopInterface $loop = null, ConnectorInterface $connector = null) {
@@ -135,7 +134,7 @@ protected function generateRequest($url, array $subProtocols, array $headers) {
135134

136135
$uri = $uri->withScheme('wss' === $scheme ? 'HTTPS' : 'HTTP');
137136

138-
$headers += ['User-Agent' => 'Ratchet-Pawl/0.3'];
137+
$headers += ['User-Agent' => 'Ratchet-Pawl/0.4'];
139138

140139
$request = array_reduce(array_keys($headers), function(RequestInterface $request, $header) use ($headers) {
141140
return $request->withHeader($header, $headers[$header]);

tests/autobahn/runner.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
require __DIR__ . '/../../vendor/autoload.php';
66

7-
define('AGENT', 'Pawl/0.3');
7+
define('AGENT', 'Pawl/0.4');
88

99
$connFactory = function() {
1010
$connector = new Ratchet\Client\Connector();

0 commit comments

Comments
 (0)