@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | return implode(' || ', $ranges); |
| 159 | 159 | } |
| 160 | 160 | |
| 161 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
| 161 | + throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed'); |
|
| 162 | 162 | } |
| 163 | 163 | |
| 164 | 164 | /** |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | return $installed['versions'][$packageName]['version']; |
| 180 | 180 | } |
| 181 | 181 | |
| 182 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
| 182 | + throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed'); |
|
| 183 | 183 | } |
| 184 | 184 | |
| 185 | 185 | /** |
@@ -200,7 +200,7 @@ discard block |
||
| 200 | 200 | return $installed['versions'][$packageName]['pretty_version']; |
| 201 | 201 | } |
| 202 | 202 | |
| 203 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
| 203 | + throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed'); |
|
| 204 | 204 | } |
| 205 | 205 | |
| 206 | 206 | /** |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | return $installed['versions'][$packageName]['reference']; |
| 222 | 222 | } |
| 223 | 223 | |
| 224 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
| 224 | + throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed'); |
|
| 225 | 225 | } |
| 226 | 226 | |
| 227 | 227 | /** |
@@ -238,7 +238,7 @@ discard block |
||
| 238 | 238 | return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null; |
| 239 | 239 | } |
| 240 | 240 | |
| 241 | - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); |
|
| 241 | + throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed'); |
|
| 242 | 242 | } |
| 243 | 243 | |
| 244 | 244 | /** |
@@ -267,8 +267,8 @@ discard block |
||
| 267 | 267 | // only require the installed.php file if this file is loaded from its dumped location, |
| 268 | 268 | // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 |
| 269 | 269 | if (substr(__DIR__, -8, 1) !== 'C') { |
| 270 | - self::$installed = include __DIR__ . '/installed.php'; |
|
| 271 | - } else { |
|
| 270 | + self::$installed = include __DIR__.'/installed.php'; |
|
| 271 | + }else { |
|
| 272 | 272 | self::$installed = array(); |
| 273 | 273 | } |
| 274 | 274 | } |
@@ -340,8 +340,8 @@ discard block |
||
| 340 | 340 | // only require the installed.php file if this file is loaded from its dumped location, |
| 341 | 341 | // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 |
| 342 | 342 | if (substr(__DIR__, -8, 1) !== 'C') { |
| 343 | - self::$installed = require __DIR__ . '/installed.php'; |
|
| 344 | - } else { |
|
| 343 | + self::$installed = require __DIR__.'/installed.php'; |
|
| 344 | + }else { |
|
| 345 | 345 | self::$installed = array(); |
| 346 | 346 | } |
| 347 | 347 | } |
@@ -6,17 +6,17 @@ discard block |
||
| 6 | 6 | |
| 7 | 7 | class ComposerStaticInitcadbc94d38532d34e4f9ddbab65196b7 |
| 8 | 8 | { |
| 9 | - public static $files = array ( |
|
| 10 | - '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php', |
|
| 11 | - 'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php', |
|
| 12 | - '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php', |
|
| 13 | - '37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php', |
|
| 14 | - '79f66bc0a1900f77abe4a9a299057a0a' => __DIR__ . '/..' . '/starkbank/ecdsa/src/ellipticcurve.php', |
|
| 9 | + public static $files = array( |
|
| 10 | + '7b11c4dc42b3b3023073cb14e519683c' => __DIR__.'/..'.'/ralouphie/getallheaders/src/getallheaders.php', |
|
| 11 | + 'c964ee0ededf28c96ebd9db5099ef910' => __DIR__.'/..'.'/guzzlehttp/promises/src/functions_include.php', |
|
| 12 | + '6e3fae29631ef280660b3cdad06f25a8' => __DIR__.'/..'.'/symfony/deprecation-contracts/function.php', |
|
| 13 | + '37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__.'/..'.'/guzzlehttp/guzzle/src/functions_include.php', |
|
| 14 | + '79f66bc0a1900f77abe4a9a299057a0a' => __DIR__.'/..'.'/starkbank/ecdsa/src/ellipticcurve.php', |
|
| 15 | 15 | ); |
| 16 | 16 | |
| 17 | - public static $prefixLengthsPsr4 = array ( |
|
| 17 | + public static $prefixLengthsPsr4 = array( |
|
| 18 | 18 | 'S' => |
| 19 | - array ( |
|
| 19 | + array( |
|
| 20 | 20 | 'SendGrid\\Stats\\' => 15, |
| 21 | 21 | 'SendGrid\\Mail\\' => 14, |
| 22 | 22 | 'SendGrid\\Helper\\' => 16, |
@@ -25,86 +25,86 @@ discard block |
||
| 25 | 25 | 'SendGrid\\' => 9, |
| 26 | 26 | ), |
| 27 | 27 | 'P' => |
| 28 | - array ( |
|
| 28 | + array( |
|
| 29 | 29 | 'Psr\\Http\\Message\\' => 17, |
| 30 | 30 | 'Psr\\Http\\Client\\' => 16, |
| 31 | 31 | ), |
| 32 | 32 | 'G' => |
| 33 | - array ( |
|
| 33 | + array( |
|
| 34 | 34 | 'GuzzleHttp\\Psr7\\' => 16, |
| 35 | 35 | 'GuzzleHttp\\Promise\\' => 19, |
| 36 | 36 | 'GuzzleHttp\\' => 11, |
| 37 | 37 | ), |
| 38 | 38 | ); |
| 39 | 39 | |
| 40 | - public static $prefixDirsPsr4 = array ( |
|
| 40 | + public static $prefixDirsPsr4 = array( |
|
| 41 | 41 | 'SendGrid\\Stats\\' => |
| 42 | - array ( |
|
| 43 | - 0 => __DIR__ . '/..' . '/sendgrid/sendgrid/lib/stats', |
|
| 42 | + array( |
|
| 43 | + 0 => __DIR__.'/..'.'/sendgrid/sendgrid/lib/stats', |
|
| 44 | 44 | ), |
| 45 | 45 | 'SendGrid\\Mail\\' => |
| 46 | - array ( |
|
| 47 | - 0 => __DIR__ . '/..' . '/sendgrid/sendgrid/lib/mail', |
|
| 46 | + array( |
|
| 47 | + 0 => __DIR__.'/..'.'/sendgrid/sendgrid/lib/mail', |
|
| 48 | 48 | ), |
| 49 | 49 | 'SendGrid\\Helper\\' => |
| 50 | - array ( |
|
| 51 | - 0 => __DIR__ . '/..' . '/sendgrid/sendgrid/lib/helper', |
|
| 50 | + array( |
|
| 51 | + 0 => __DIR__.'/..'.'/sendgrid/sendgrid/lib/helper', |
|
| 52 | 52 | ), |
| 53 | 53 | 'SendGrid\\EventWebhook\\' => |
| 54 | - array ( |
|
| 55 | - 0 => __DIR__ . '/..' . '/sendgrid/sendgrid/lib/eventwebhook', |
|
| 54 | + array( |
|
| 55 | + 0 => __DIR__.'/..'.'/sendgrid/sendgrid/lib/eventwebhook', |
|
| 56 | 56 | ), |
| 57 | 57 | 'SendGrid\\Contacts\\' => |
| 58 | - array ( |
|
| 59 | - 0 => __DIR__ . '/..' . '/sendgrid/sendgrid/lib/contacts', |
|
| 58 | + array( |
|
| 59 | + 0 => __DIR__.'/..'.'/sendgrid/sendgrid/lib/contacts', |
|
| 60 | 60 | ), |
| 61 | 61 | 'SendGrid\\' => |
| 62 | - array ( |
|
| 63 | - 0 => __DIR__ . '/..' . '/sendgrid/php-http-client/lib', |
|
| 62 | + array( |
|
| 63 | + 0 => __DIR__.'/..'.'/sendgrid/php-http-client/lib', |
|
| 64 | 64 | ), |
| 65 | 65 | 'Psr\\Http\\Message\\' => |
| 66 | - array ( |
|
| 67 | - 0 => __DIR__ . '/..' . '/psr/http-factory/src', |
|
| 68 | - 1 => __DIR__ . '/..' . '/psr/http-message/src', |
|
| 66 | + array( |
|
| 67 | + 0 => __DIR__.'/..'.'/psr/http-factory/src', |
|
| 68 | + 1 => __DIR__.'/..'.'/psr/http-message/src', |
|
| 69 | 69 | ), |
| 70 | 70 | 'Psr\\Http\\Client\\' => |
| 71 | - array ( |
|
| 72 | - 0 => __DIR__ . '/..' . '/psr/http-client/src', |
|
| 71 | + array( |
|
| 72 | + 0 => __DIR__.'/..'.'/psr/http-client/src', |
|
| 73 | 73 | ), |
| 74 | 74 | 'GuzzleHttp\\Psr7\\' => |
| 75 | - array ( |
|
| 76 | - 0 => __DIR__ . '/..' . '/guzzlehttp/psr7/src', |
|
| 75 | + array( |
|
| 76 | + 0 => __DIR__.'/..'.'/guzzlehttp/psr7/src', |
|
| 77 | 77 | ), |
| 78 | 78 | 'GuzzleHttp\\Promise\\' => |
| 79 | - array ( |
|
| 80 | - 0 => __DIR__ . '/..' . '/guzzlehttp/promises/src', |
|
| 79 | + array( |
|
| 80 | + 0 => __DIR__.'/..'.'/guzzlehttp/promises/src', |
|
| 81 | 81 | ), |
| 82 | 82 | 'GuzzleHttp\\' => |
| 83 | - array ( |
|
| 84 | - 0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src', |
|
| 83 | + array( |
|
| 84 | + 0 => __DIR__.'/..'.'/guzzlehttp/guzzle/src', |
|
| 85 | 85 | ), |
| 86 | 86 | ); |
| 87 | 87 | |
| 88 | - public static $prefixesPsr0 = array ( |
|
| 88 | + public static $prefixesPsr0 = array( |
|
| 89 | 89 | 'M' => |
| 90 | - array ( |
|
| 90 | + array( |
|
| 91 | 91 | 'Mailjet' => |
| 92 | - array ( |
|
| 93 | - 0 => __DIR__ . '/..' . '/mailjet/mailjet-apiv3-php/src', |
|
| 92 | + array( |
|
| 93 | + 0 => __DIR__.'/..'.'/mailjet/mailjet-apiv3-php/src', |
|
| 94 | 94 | ), |
| 95 | 95 | ), |
| 96 | 96 | ); |
| 97 | 97 | |
| 98 | - public static $classMap = array ( |
|
| 99 | - 'BaseSendGridClientInterface' => __DIR__ . '/..' . '/sendgrid/sendgrid/lib/BaseSendGridClientInterface.php', |
|
| 100 | - 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', |
|
| 101 | - 'SendGrid' => __DIR__ . '/..' . '/sendgrid/sendgrid/lib/SendGrid.php', |
|
| 102 | - 'TwilioEmail' => __DIR__ . '/..' . '/sendgrid/sendgrid/lib/TwilioEmail.php', |
|
| 98 | + public static $classMap = array( |
|
| 99 | + 'BaseSendGridClientInterface' => __DIR__.'/..'.'/sendgrid/sendgrid/lib/BaseSendGridClientInterface.php', |
|
| 100 | + 'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php', |
|
| 101 | + 'SendGrid' => __DIR__.'/..'.'/sendgrid/sendgrid/lib/SendGrid.php', |
|
| 102 | + 'TwilioEmail' => __DIR__.'/..'.'/sendgrid/sendgrid/lib/TwilioEmail.php', |
|
| 103 | 103 | ); |
| 104 | 104 | |
| 105 | 105 | public static function getInitializer(ClassLoader $loader) |
| 106 | 106 | { |
| 107 | - return \Closure::bind(function () use ($loader) { |
|
| 107 | + return \Closure::bind(function() use ($loader) { |
|
| 108 | 108 | $loader->prefixLengthsPsr4 = ComposerStaticInitcadbc94d38532d34e4f9ddbab65196b7::$prefixLengthsPsr4; |
| 109 | 109 | $loader->prefixDirsPsr4 = ComposerStaticInitcadbc94d38532d34e4f9ddbab65196b7::$prefixDirsPsr4; |
| 110 | 110 | $loader->prefixesPsr0 = ComposerStaticInitcadbc94d38532d34e4f9ddbab65196b7::$prefixesPsr0; |
@@ -6,8 +6,8 @@ |
||
| 6 | 6 | $baseDir = dirname($vendorDir); |
| 7 | 7 | |
| 8 | 8 | return array( |
| 9 | - 'BaseSendGridClientInterface' => $vendorDir . '/sendgrid/sendgrid/lib/BaseSendGridClientInterface.php', |
|
| 10 | - 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', |
|
| 11 | - 'SendGrid' => $vendorDir . '/sendgrid/sendgrid/lib/SendGrid.php', |
|
| 12 | - 'TwilioEmail' => $vendorDir . '/sendgrid/sendgrid/lib/TwilioEmail.php', |
|
| 9 | + 'BaseSendGridClientInterface' => $vendorDir.'/sendgrid/sendgrid/lib/BaseSendGridClientInterface.php', |
|
| 10 | + 'Composer\\InstalledVersions' => $vendorDir.'/composer/InstalledVersions.php', |
|
| 11 | + 'SendGrid' => $vendorDir.'/sendgrid/sendgrid/lib/SendGrid.php', |
|
| 12 | + 'TwilioEmail' => $vendorDir.'/sendgrid/sendgrid/lib/TwilioEmail.php', |
|
| 13 | 13 | ); |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | [ |
| 74 | 74 | 'enable' => $this->getEnable() |
| 75 | 75 | ], |
| 76 | - function ($value) { |
|
| 76 | + function($value) { |
|
| 77 | 77 | return $value !== null; |
| 78 | 78 | } |
| 79 | 79 | ) ?: null; |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | 'key' => $this->getKey(), |
| 102 | 102 | 'value' => $this->getValue() |
| 103 | 103 | ], |
| 104 | - function ($value) { |
|
| 104 | + function($value) { |
|
| 105 | 105 | return $value !== null; |
| 106 | 106 | } |
| 107 | 107 | ) ?: null; |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | [ |
| 74 | 74 | 'enable' => $this->getEnable() |
| 75 | 75 | ], |
| 76 | - function ($value) { |
|
| 76 | + function($value) { |
|
| 77 | 77 | return $value !== null; |
| 78 | 78 | } |
| 79 | 79 | ) ?: null; |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | 'key' => $this->getKey(), |
| 102 | 102 | 'value' => $this->getValue() |
| 103 | 103 | ], |
| 104 | - function ($value) { |
|
| 104 | + function($value) { |
|
| 105 | 105 | return $value !== null; |
| 106 | 106 | } |
| 107 | 107 | ) ?: null; |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | [ |
| 74 | 74 | 'enable' => $this->getEnable() |
| 75 | 75 | ], |
| 76 | - function ($value) { |
|
| 76 | + function($value) { |
|
| 77 | 77 | return $value !== null; |
| 78 | 78 | } |
| 79 | 79 | ) ?: null; |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | [ |
| 74 | 74 | 'enable' => $this->getEnable() |
| 75 | 75 | ], |
| 76 | - function ($value) { |
|
| 76 | + function($value) { |
|
| 77 | 77 | return $value !== null; |
| 78 | 78 | } |
| 79 | 79 | ) ?: null; |