File tree Expand file tree Collapse file tree 5 files changed +7
-10
lines changed Expand file tree Collapse file tree 5 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 11<?php
22/**
3- * Trait HTTPOptions
3+ * Trait HTTPOptionsTrait
44 *
5- * @filesource HTTPOptions .php
5+ * @filesource HTTPOptionsTraitTrait .php
66 * @created 23.01.2018
77 * @package chillerlan\HTTP
88 * @author Smiley <smiley@chillerlan.net>
1414
1515/**
1616 */
17- trait HTTPOptions {
17+ trait HTTPOptionsTrait {
1818
1919 /**
2020 * @var string
Original file line number Diff line number Diff line change 1313namespace chillerlan \HTTPTest ;
1414
1515use chillerlan \HTTP \CurlClient ;
16- use chillerlan \HTTP \HTTPOptions ;
17- use chillerlan \Traits \Container ;
18- use chillerlan \Traits \ContainerInterface ;
1916
2017class CurlClientTest extends HTTPClientTestAbstract{
2118
Original file line number Diff line number Diff line change 1313namespace chillerlan \HTTPTest ;
1414
1515use chillerlan \HTTP \HTTPClientInterface ;
16- use chillerlan \HTTP \HTTPOptions ;
16+ use chillerlan \HTTP \HTTPOptionsTrait ;
1717use chillerlan \Traits \Container ;
1818use chillerlan \Traits \ContainerInterface ;
1919use PHPUnit \Framework \TestCase ;
@@ -42,7 +42,7 @@ protected function setUp(){
4242
4343 protected function getOptions (array $ arr = null ):ContainerInterface {
4444 return new class ($ arr ?? []) implements ContainerInterface{
45- use Container, HTTPOptions ;
45+ use Container, HTTPOptionsTrait ;
4646 };
4747 }
4848
Original file line number Diff line number Diff line change 1313namespace chillerlan \HTTPTest ;
1414
1515use chillerlan \HTTP \StreamClient ;
16- use chillerlan \TinyCurl \{ Request , RequestOptions } ;
16+ use chillerlan \TinyCurl \Request ;
1717
1818class StreamClientTest extends HTTPClientTestAbstract{
1919
Original file line number Diff line number Diff line change 1313namespace chillerlan \HTTPTest ;
1414
1515use chillerlan \HTTP \TinyCurlClient ;
16- use chillerlan \TinyCurl \{ Request , RequestOptions } ;
16+ use chillerlan \TinyCurl \Request ;
1717
1818class TinyCurlClientTest extends HTTPClientTestAbstract{
1919
You can’t perform that action at this time.
0 commit comments