@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | |
33 | 33 | public function setUp(): void |
34 | 34 | { |
35 | - $this->requestMock = Mockery::mock('overload:' . Request::class); |
|
35 | + $this->requestMock = Mockery::mock('overload:'.Request::class); |
|
36 | 36 | |
37 | 37 | $responseMock = Mockery::mock(Response::class); |
38 | 38 | $responseMock->shouldReceive('getData') |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | ] |
80 | 80 | ); |
81 | 81 | |
82 | - $this->assertEquals(['status' => 'test',], $response->getData()); |
|
82 | + $this->assertEquals(['status' => 'test', ], $response->getData()); |
|
83 | 83 | } |
84 | 84 | |
85 | 85 | public function testGet() |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | ] |
119 | 119 | ); |
120 | 120 | |
121 | - $this->assertEquals(['status' => 'test',], $response->getData()); |
|
121 | + $this->assertEquals(['status' => 'test', ], $response->getData()); |
|
122 | 122 | } |
123 | 123 | |
124 | 124 | public function testPut() |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | ] |
155 | 155 | ); |
156 | 156 | |
157 | - $this->assertEquals(['status' => 'test',], $response->getData()); |
|
157 | + $this->assertEquals(['status' => 'test', ], $response->getData()); |
|
158 | 158 | } |
159 | 159 | |
160 | 160 | public function testDelete() |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | ] |
193 | 193 | ); |
194 | 194 | |
195 | - $this->assertEquals(['status' => 'test',], $response->getData()); |
|
195 | + $this->assertEquals(['status' => 'test', ], $response->getData()); |
|
196 | 196 | } |
197 | 197 | |
198 | 198 | public function testSetSecureProtocol() |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | if ($isBasicAuth) { |
269 | 269 | $this->apikey = $key; |
270 | 270 | $this->apisecret = $secret; |
271 | - } else { |
|
271 | + }else { |
|
272 | 272 | $this->apitoken = $key; |
273 | 273 | $this->version = Config::SMS_VERSION; |
274 | 274 | } |
@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | $this->version = $options['version']; |
382 | 382 | } |
383 | 383 | |
384 | - $this->url = (string)($options['url'] ?? Config::MAIN_URL); |
|
384 | + $this->url = (string) ($options['url'] ?? Config::MAIN_URL); |
|
385 | 385 | $this->secure = $options['secured'] ?? Config::SECURED; |
386 | 386 | $this->call = $options['call'] ?? true; |
387 | 387 | $this->changed = true; |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | $this->guzzleClient = new GuzzleClient( |
96 | 96 | ['defaults' => [ |
97 | 97 | 'headers' => [ |
98 | - 'user-agent' => Config::USER_AGENT . PHP_VERSION.'/' . Client::WRAPPER_VERSION, |
|
98 | + 'user-agent' => Config::USER_AGENT.PHP_VERSION.'/'.Client::WRAPPER_VERSION, |
|
99 | 99 | ], |
100 | 100 | ] |
101 | 101 | ] |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | |
125 | 125 | if ($authArgsCount > 1) { |
126 | 126 | $payload['auth'] = $this->auth; |
127 | - } else { |
|
127 | + }else { |
|
128 | 128 | $headers['Authorization'] = 'Bearer '.$this->auth[0]; |
129 | 129 | } |
130 | 130 | |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | */ |
234 | 234 | public function sendAsync(RequestInterface $request, array $options = []): PromiseInterface |
235 | 235 | { |
236 | - return $this->guzzleClient->sendAsync($request,$options); |
|
236 | + return $this->guzzleClient->sendAsync($request, $options); |
|
237 | 237 | } |
238 | 238 | |
239 | 239 | /** |
@@ -7,6 +7,6 @@ |
||
7 | 7 | exit(1); |
8 | 8 | } |
9 | 9 | |
10 | -require_once __DIR__ . '/composer/autoload_real.php'; |
|
10 | +require_once __DIR__.'/composer/autoload_real.php'; |
|
11 | 11 | |
12 | 12 | return ComposerAutoloaderInitcadbc94d38532d34e4f9ddbab65196b7::getLoader(); |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | $issues = array(); |
6 | 6 | |
7 | 7 | if (!(PHP_VERSION_ID >= 70300)) { |
8 | - $issues[] = 'Your Composer dependencies require a PHP version ">= 7.3.0". You are running ' . PHP_VERSION . '.'; |
|
8 | + $issues[] = 'Your Composer dependencies require a PHP version ">= 7.3.0". You are running '.PHP_VERSION.'.'; |
|
9 | 9 | } |
10 | 10 | |
11 | 11 | if ($issues) { |
@@ -14,13 +14,13 @@ discard block |
||
14 | 14 | } |
15 | 15 | if (!ini_get('display_errors')) { |
16 | 16 | if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { |
17 | - fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); |
|
17 | + fwrite(STDERR, 'Composer detected issues in your platform:'.PHP_EOL.PHP_EOL.implode(PHP_EOL, $issues).PHP_EOL.PHP_EOL); |
|
18 | 18 | } elseif (!headers_sent()) { |
19 | - echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; |
|
19 | + echo 'Composer detected issues in your platform:'.PHP_EOL.PHP_EOL.str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)).PHP_EOL.PHP_EOL; |
|
20 | 20 | } |
21 | 21 | } |
22 | 22 | trigger_error( |
23 | - 'Composer detected issues in your platform: ' . implode(' ', $issues), |
|
23 | + 'Composer detected issues in your platform: '.implode(' ', $issues), |
|
24 | 24 | E_USER_ERROR |
25 | 25 | ); |
26 | 26 | } |
@@ -6,15 +6,15 @@ |
||
6 | 6 | $baseDir = dirname($vendorDir); |
7 | 7 | |
8 | 8 | return array( |
9 | - 'SendGrid\\Stats\\' => array($vendorDir . '/sendgrid/sendgrid/lib/stats'), |
|
10 | - 'SendGrid\\Mail\\' => array($vendorDir . '/sendgrid/sendgrid/lib/mail'), |
|
11 | - 'SendGrid\\Helper\\' => array($vendorDir . '/sendgrid/sendgrid/lib/helper'), |
|
12 | - 'SendGrid\\EventWebhook\\' => array($vendorDir . '/sendgrid/sendgrid/lib/eventwebhook'), |
|
13 | - 'SendGrid\\Contacts\\' => array($vendorDir . '/sendgrid/sendgrid/lib/contacts'), |
|
14 | - 'SendGrid\\' => array($vendorDir . '/sendgrid/php-http-client/lib'), |
|
15 | - 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-factory/src', $vendorDir . '/psr/http-message/src'), |
|
16 | - 'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'), |
|
17 | - 'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'), |
|
18 | - 'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'), |
|
19 | - 'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'), |
|
9 | + 'SendGrid\\Stats\\' => array($vendorDir.'/sendgrid/sendgrid/lib/stats'), |
|
10 | + 'SendGrid\\Mail\\' => array($vendorDir.'/sendgrid/sendgrid/lib/mail'), |
|
11 | + 'SendGrid\\Helper\\' => array($vendorDir.'/sendgrid/sendgrid/lib/helper'), |
|
12 | + 'SendGrid\\EventWebhook\\' => array($vendorDir.'/sendgrid/sendgrid/lib/eventwebhook'), |
|
13 | + 'SendGrid\\Contacts\\' => array($vendorDir.'/sendgrid/sendgrid/lib/contacts'), |
|
14 | + 'SendGrid\\' => array($vendorDir.'/sendgrid/php-http-client/lib'), |
|
15 | + 'Psr\\Http\\Message\\' => array($vendorDir.'/psr/http-factory/src', $vendorDir.'/psr/http-message/src'), |
|
16 | + 'Psr\\Http\\Client\\' => array($vendorDir.'/psr/http-client/src'), |
|
17 | + 'GuzzleHttp\\Psr7\\' => array($vendorDir.'/guzzlehttp/psr7/src'), |
|
18 | + 'GuzzleHttp\\Promise\\' => array($vendorDir.'/guzzlehttp/promises/src'), |
|
19 | + 'GuzzleHttp\\' => array($vendorDir.'/guzzlehttp/guzzle/src'), |
|
20 | 20 | ); |
@@ -6,5 +6,5 @@ |
||
6 | 6 | $baseDir = dirname($vendorDir); |
7 | 7 | |
8 | 8 | return array( |
9 | - 'Mailjet' => array($vendorDir . '/mailjet/mailjet-apiv3-php/src'), |
|
9 | + 'Mailjet' => array($vendorDir.'/mailjet/mailjet-apiv3-php/src'), |
|
10 | 10 | ); |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | 'version' => 'dev-master', |
6 | 6 | 'reference' => '8247dda142566f0cc760d2d6e7e87650ef916f3c', |
7 | 7 | 'type' => 'library', |
8 | - 'install_path' => __DIR__ . '/../../', |
|
8 | + 'install_path' => __DIR__.'/../../', |
|
9 | 9 | 'aliases' => array(), |
10 | 10 | 'dev' => true, |
11 | 11 | ), |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | 'version' => 'dev-master', |
16 | 16 | 'reference' => '8247dda142566f0cc760d2d6e7e87650ef916f3c', |
17 | 17 | 'type' => 'library', |
18 | - 'install_path' => __DIR__ . '/../../', |
|
18 | + 'install_path' => __DIR__.'/../../', |
|
19 | 19 | 'aliases' => array(), |
20 | 20 | 'dev_requirement' => false, |
21 | 21 | ), |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | 'version' => '7.4.5.0', |
25 | 25 | 'reference' => '1dd98b0564cb3f6bd16ce683cb755f94c10fbd82', |
26 | 26 | 'type' => 'library', |
27 | - 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', |
|
27 | + 'install_path' => __DIR__.'/../guzzlehttp/guzzle', |
|
28 | 28 | 'aliases' => array(), |
29 | 29 | 'dev_requirement' => false, |
30 | 30 | ), |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | 'version' => '1.5.1.0', |
34 | 34 | 'reference' => 'fe752aedc9fd8fcca3fe7ad05d419d32998a06da', |
35 | 35 | 'type' => 'library', |
36 | - 'install_path' => __DIR__ . '/../guzzlehttp/promises', |
|
36 | + 'install_path' => __DIR__.'/../guzzlehttp/promises', |
|
37 | 37 | 'aliases' => array(), |
38 | 38 | 'dev_requirement' => false, |
39 | 39 | ), |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | 'version' => '2.4.0.0', |
43 | 43 | 'reference' => '13388f00956b1503577598873fffb5ae994b5737', |
44 | 44 | 'type' => 'library', |
45 | - 'install_path' => __DIR__ . '/../guzzlehttp/psr7', |
|
45 | + 'install_path' => __DIR__.'/../guzzlehttp/psr7', |
|
46 | 46 | 'aliases' => array(), |
47 | 47 | 'dev_requirement' => false, |
48 | 48 | ), |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | 'version' => '1.5.7.0', |
52 | 52 | 'reference' => '414650b079dcec86ada225599e73092177e2d8e5', |
53 | 53 | 'type' => 'library', |
54 | - 'install_path' => __DIR__ . '/../mailjet/mailjet-apiv3-php', |
|
54 | + 'install_path' => __DIR__.'/../mailjet/mailjet-apiv3-php', |
|
55 | 55 | 'aliases' => array(), |
56 | 56 | 'dev_requirement' => false, |
57 | 57 | ), |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | 'version' => '1.0.1.0', |
61 | 61 | 'reference' => '2dfb5f6c5eff0e91e20e913f8c5452ed95b86621', |
62 | 62 | 'type' => 'library', |
63 | - 'install_path' => __DIR__ . '/../psr/http-client', |
|
63 | + 'install_path' => __DIR__.'/../psr/http-client', |
|
64 | 64 | 'aliases' => array(), |
65 | 65 | 'dev_requirement' => false, |
66 | 66 | ), |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | 'version' => '1.0.1.0', |
76 | 76 | 'reference' => '12ac7fcd07e5b077433f5f2bee95b3a771bf61be', |
77 | 77 | 'type' => 'library', |
78 | - 'install_path' => __DIR__ . '/../psr/http-factory', |
|
78 | + 'install_path' => __DIR__.'/../psr/http-factory', |
|
79 | 79 | 'aliases' => array(), |
80 | 80 | 'dev_requirement' => false, |
81 | 81 | ), |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | 'version' => '1.0.1.0', |
91 | 91 | 'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363', |
92 | 92 | 'type' => 'library', |
93 | - 'install_path' => __DIR__ . '/../psr/http-message', |
|
93 | + 'install_path' => __DIR__.'/../psr/http-message', |
|
94 | 94 | 'aliases' => array(), |
95 | 95 | 'dev_requirement' => false, |
96 | 96 | ), |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | 'version' => '3.0.3.0', |
106 | 106 | 'reference' => '120b605dfeb996808c31b6477290a714d356e822', |
107 | 107 | 'type' => 'library', |
108 | - 'install_path' => __DIR__ . '/../ralouphie/getallheaders', |
|
108 | + 'install_path' => __DIR__.'/../ralouphie/getallheaders', |
|
109 | 109 | 'aliases' => array(), |
110 | 110 | 'dev_requirement' => false, |
111 | 111 | ), |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | 'version' => '3.14.4.0', |
115 | 115 | 'reference' => '6d589564522be290c7d7c18e51bcd8b03aeaf0b6', |
116 | 116 | 'type' => 'library', |
117 | - 'install_path' => __DIR__ . '/../sendgrid/php-http-client', |
|
117 | + 'install_path' => __DIR__.'/../sendgrid/php-http-client', |
|
118 | 118 | 'aliases' => array(), |
119 | 119 | 'dev_requirement' => false, |
120 | 120 | ), |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | 'version' => '8.0.0.0', |
124 | 124 | 'reference' => '874acb3660c05d7f977095821052d583de9e9800', |
125 | 125 | 'type' => 'library', |
126 | - 'install_path' => __DIR__ . '/../sendgrid/sendgrid', |
|
126 | + 'install_path' => __DIR__.'/../sendgrid/sendgrid', |
|
127 | 127 | 'aliases' => array(), |
128 | 128 | 'dev_requirement' => false, |
129 | 129 | ), |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | 'version' => '0.0.5.0', |
139 | 139 | 'reference' => '484bedac47bac4012dc73df91da221f0a66845cb', |
140 | 140 | 'type' => 'library', |
141 | - 'install_path' => __DIR__ . '/../starkbank/ecdsa', |
|
141 | + 'install_path' => __DIR__.'/../starkbank/ecdsa', |
|
142 | 142 | 'aliases' => array(), |
143 | 143 | 'dev_requirement' => false, |
144 | 144 | ), |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | 'version' => '2.5.2.0', |
148 | 148 | 'reference' => 'e8b495ea28c1d97b5e0c121748d6f9b53d075c66', |
149 | 149 | 'type' => 'library', |
150 | - 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', |
|
150 | + 'install_path' => __DIR__.'/../symfony/deprecation-contracts', |
|
151 | 151 | 'aliases' => array(), |
152 | 152 | 'dev_requirement' => false, |
153 | 153 | ), |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | public static function loadClassLoader($class) |
10 | 10 | { |
11 | 11 | if ('Composer\Autoload\ClassLoader' === $class) { |
12 | - require __DIR__ . '/ClassLoader.php'; |
|
12 | + require __DIR__.'/ClassLoader.php'; |
|
13 | 13 | } |
14 | 14 | } |
15 | 15 | |
@@ -22,13 +22,13 @@ discard block |
||
22 | 22 | return self::$loader; |
23 | 23 | } |
24 | 24 | |
25 | - require __DIR__ . '/platform_check.php'; |
|
25 | + require __DIR__.'/platform_check.php'; |
|
26 | 26 | |
27 | 27 | spl_autoload_register(array('ComposerAutoloaderInitcadbc94d38532d34e4f9ddbab65196b7', 'loadClassLoader'), true, true); |
28 | 28 | self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); |
29 | 29 | spl_autoload_unregister(array('ComposerAutoloaderInitcadbc94d38532d34e4f9ddbab65196b7', 'loadClassLoader')); |
30 | 30 | |
31 | - require __DIR__ . '/autoload_static.php'; |
|
31 | + require __DIR__.'/autoload_static.php'; |
|
32 | 32 | call_user_func(\Composer\Autoload\ComposerStaticInitcadbc94d38532d34e4f9ddbab65196b7::getInitializer($loader)); |
33 | 33 | |
34 | 34 | $loader->register(true); |