title: Guzzle 6.2 deperecated warning
body: <p>The following code gives me a </p>
  
  <pre><code>GuzzleHttp\Psr7\Uri::resolve is deprecated since version 1.4. Use GuzzleHttp\Psr7\UriResolver::resolve instead.
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <pre><code>$client = new Client(['base_uri' =&gt; 'http://api.geonames.org/countryCodeXML']);
  $options = ['query' =&gt; ['lat' =&gt; 50, 'lng' =&gt; 14, 'username' =&gt; 'demo']];
  echo $client-&gt;get('countryCodeXML', $options)-&gt;getBody()-&gt;getContents();
  </code></pre>