@@ -3806,7 +3806,7 @@ discard block |
||
3806 | 3806 | { |
3807 | 3807 | $this->RecipientsQueue = array_filter( |
3808 | 3808 | $this->RecipientsQueue, |
3809 | - static function ($params) use ($kind) { |
|
3809 | + static function($params) use ($kind) { |
|
3810 | 3810 | return $params[0] !== $kind; |
3811 | 3811 | } |
3812 | 3812 | ); |
@@ -4569,8 +4569,7 @@ discard block |
||
4569 | 4569 | return ''; |
4570 | 4570 | } |
4571 | 4571 | $privKeyStr = !empty($this->DKIM_private_string) ? |
4572 | - $this->DKIM_private_string : |
|
4573 | - file_get_contents($this->DKIM_private); |
|
4572 | + $this->DKIM_private_string : file_get_contents($this->DKIM_private); |
|
4574 | 4573 | if ('' !== $this->DKIM_passphrase) { |
4575 | 4574 | $privKey = openssl_pkey_get_private($privKeyStr, $this->DKIM_passphrase); |
4576 | 4575 | } else { |
@@ -343,7 +343,7 @@ discard block |
||
343 | 343 | //Get any announcement |
344 | 344 | $this->last_reply = $this->get_lines(); |
345 | 345 | $this->edebug('SERVER -> CLIENT: ' . $this->last_reply, self::DEBUG_SERVER); |
346 | - $responseCode = (int)substr($this->last_reply, 0, 3); |
|
346 | + $responseCode = (int) substr($this->last_reply, 0, 3); |
|
347 | 347 | if ($responseCode === 220) { |
348 | 348 | return true; |
349 | 349 | } |
@@ -429,7 +429,7 @@ discard block |
||
429 | 429 | //SMTP server can take longer to respond, give longer timeout for first read |
430 | 430 | //Windows does not have support for this timeout function |
431 | 431 | if (strpos(PHP_OS, 'WIN') !== 0) { |
432 | - $max = (int)ini_get('max_execution_time'); |
|
432 | + $max = (int) ini_get('max_execution_time'); |
|
433 | 433 | //Don't bother if unlimited, or if set_time_limit is disabled |
434 | 434 | if (0 !== $max && $timeout > $max && strpos(ini_get('disable_functions'), 'set_time_limit') === false) { |
435 | 435 | @set_time_limit($timeout); |
@@ -20,7 +20,7 @@ |
||
20 | 20 | $PHPMAILER_LANG['mailer_not_supported'] = ' برنامج الإرسال غير مدعوم.'; |
21 | 21 | $PHPMAILER_LANG['provide_address'] = 'يجب توفير عنوان البريد الإلكتروني لمستلم واحد على الأقل.'; |
22 | 22 | $PHPMAILER_LANG['recipients_failed'] = 'خطأ SMTP: الأخطاء التالية ' . |
23 | - 'فشل في الارسال لكل من : '; |
|
23 | + 'فشل في الارسال لكل من : '; |
|
24 | 24 | $PHPMAILER_LANG['signing'] = 'خطأ في التوقيع: '; |
25 | 25 | $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() غير ممكن.'; |
26 | 26 | $PHPMAILER_LANG['smtp_error'] = 'خطأ على مستوى الخادم SMTP: '; |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php return array ( |
2 | - 'root' => |
|
3 | - array ( |
|
2 | + 'root' => |
|
3 | + array ( |
|
4 | 4 | 'pretty_version' => 'dev-main', |
5 | 5 | 'version' => 'dev-main', |
6 | 6 | 'aliases' => |
@@ -8,26 +8,26 @@ discard block |
||
8 | 8 | ), |
9 | 9 | 'reference' => 'd9e0489e1656c21739c0e681c615d834e25952f9', |
10 | 10 | 'name' => 'rafansilva/emailsender', |
11 | - ), |
|
12 | - 'versions' => |
|
13 | - array ( |
|
11 | + ), |
|
12 | + 'versions' => |
|
13 | + array ( |
|
14 | 14 | 'phpmailer/phpmailer' => |
15 | 15 | array ( |
16 | - 'pretty_version' => 'v6.4.0', |
|
17 | - 'version' => '6.4.0.0', |
|
18 | - 'aliases' => |
|
19 | - array ( |
|
20 | - ), |
|
21 | - 'reference' => '050d430203105c27c30efd1dce7aa421ad882d01', |
|
16 | + 'pretty_version' => 'v6.4.0', |
|
17 | + 'version' => '6.4.0.0', |
|
18 | + 'aliases' => |
|
19 | + array ( |
|
20 | + ), |
|
21 | + 'reference' => '050d430203105c27c30efd1dce7aa421ad882d01', |
|
22 | 22 | ), |
23 | 23 | 'rafansilva/emailsender' => |
24 | 24 | array ( |
25 | - 'pretty_version' => 'dev-main', |
|
26 | - 'version' => 'dev-main', |
|
27 | - 'aliases' => |
|
28 | - array ( |
|
29 | - ), |
|
30 | - 'reference' => 'd9e0489e1656c21739c0e681c615d834e25952f9', |
|
25 | + 'pretty_version' => 'dev-main', |
|
26 | + 'version' => 'dev-main', |
|
27 | + 'aliases' => |
|
28 | + array ( |
|
29 | + ), |
|
30 | + 'reference' => 'd9e0489e1656c21739c0e681c615d834e25952f9', |
|
31 | + ), |
|
31 | 32 | ), |
32 | - ), |
|
33 | 33 | ); |
@@ -1,31 +1,31 @@ |
||
1 | -<?php return array ( |
|
1 | +<?php return array( |
|
2 | 2 | 'root' => |
3 | - array ( |
|
3 | + array( |
|
4 | 4 | 'pretty_version' => 'dev-main', |
5 | 5 | 'version' => 'dev-main', |
6 | 6 | 'aliases' => |
7 | - array ( |
|
7 | + array( |
|
8 | 8 | ), |
9 | 9 | 'reference' => 'd9e0489e1656c21739c0e681c615d834e25952f9', |
10 | 10 | 'name' => 'rafansilva/emailsender', |
11 | 11 | ), |
12 | 12 | 'versions' => |
13 | - array ( |
|
13 | + array( |
|
14 | 14 | 'phpmailer/phpmailer' => |
15 | - array ( |
|
15 | + array( |
|
16 | 16 | 'pretty_version' => 'v6.4.0', |
17 | 17 | 'version' => '6.4.0.0', |
18 | 18 | 'aliases' => |
19 | - array ( |
|
19 | + array( |
|
20 | 20 | ), |
21 | 21 | 'reference' => '050d430203105c27c30efd1dce7aa421ad882d01', |
22 | 22 | ), |
23 | 23 | 'rafansilva/emailsender' => |
24 | - array ( |
|
24 | + array( |
|
25 | 25 | 'pretty_version' => 'dev-main', |
26 | 26 | 'version' => 'dev-main', |
27 | 27 | 'aliases' => |
28 | - array ( |
|
28 | + array( |
|
29 | 29 | ), |
30 | 30 | 'reference' => 'd9e0489e1656c21739c0e681c615d834e25952f9', |
31 | 31 | ), |
@@ -342,7 +342,7 @@ discard block |
||
342 | 342 | return false; |
343 | 343 | } |
344 | 344 | if (null !== $this->apcuPrefix) { |
345 | - $file = apcu_fetch($this->apcuPrefix.$class, $hit); |
|
345 | + $file = apcu_fetch($this->apcuPrefix . $class, $hit); |
|
346 | 346 | if ($hit) { |
347 | 347 | return $file; |
348 | 348 | } |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | } |
357 | 357 | |
358 | 358 | if (null !== $this->apcuPrefix) { |
359 | - apcu_add($this->apcuPrefix.$class, $file); |
|
359 | + apcu_add($this->apcuPrefix . $class, $file); |
|
360 | 360 | } |
361 | 361 | |
362 | 362 | if (false === $file) { |
@@ -6,35 +6,35 @@ |
||
6 | 6 | |
7 | 7 | class ComposerStaticInitb0a9c553fc53e6322e84a4f72e365d89 |
8 | 8 | { |
9 | - public static $prefixLengthsPsr4 = array ( |
|
9 | + public static $prefixLengthsPsr4 = array( |
|
10 | 10 | 'R' => |
11 | - array ( |
|
11 | + array( |
|
12 | 12 | 'RafaNSilva\\Support\\' => 19, |
13 | 13 | ), |
14 | 14 | 'P' => |
15 | - array ( |
|
15 | + array( |
|
16 | 16 | 'PHPMailer\\PHPMailer\\' => 20, |
17 | 17 | ), |
18 | 18 | ); |
19 | 19 | |
20 | - public static $prefixDirsPsr4 = array ( |
|
20 | + public static $prefixDirsPsr4 = array( |
|
21 | 21 | 'RafaNSilva\\Support\\' => |
22 | - array ( |
|
22 | + array( |
|
23 | 23 | 0 => __DIR__ . '/../..' . '/src', |
24 | 24 | ), |
25 | 25 | 'PHPMailer\\PHPMailer\\' => |
26 | - array ( |
|
26 | + array( |
|
27 | 27 | 0 => __DIR__ . '/..' . '/phpmailer/phpmailer/src', |
28 | 28 | ), |
29 | 29 | ); |
30 | 30 | |
31 | - public static $classMap = array ( |
|
31 | + public static $classMap = array( |
|
32 | 32 | 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', |
33 | 33 | ); |
34 | 34 | |
35 | 35 | public static function getInitializer(ClassLoader $loader) |
36 | 36 | { |
37 | - return \Closure::bind(function () use ($loader) { |
|
37 | + return \Closure::bind(function() use ($loader) { |
|
38 | 38 | $loader->prefixLengthsPsr4 = ComposerStaticInitb0a9c553fc53e6322e84a4f72e365d89::$prefixLengthsPsr4; |
39 | 39 | $loader->prefixDirsPsr4 = ComposerStaticInitb0a9c553fc53e6322e84a4f72e365d89::$prefixDirsPsr4; |
40 | 40 | $loader->classMap = ComposerStaticInitb0a9c553fc53e6322e84a4f72e365d89::$classMap; |
@@ -22,8 +22,8 @@ discard block |
||
22 | 22 | class InstalledVersions |
23 | 23 | { |
24 | 24 | private static $installed = array ( |
25 | - 'root' => |
|
26 | - array ( |
|
25 | + 'root' => |
|
26 | + array ( |
|
27 | 27 | 'pretty_version' => 'dev-main', |
28 | 28 | 'version' => 'dev-main', |
29 | 29 | 'aliases' => |
@@ -31,28 +31,28 @@ discard block |
||
31 | 31 | ), |
32 | 32 | 'reference' => 'd9e0489e1656c21739c0e681c615d834e25952f9', |
33 | 33 | 'name' => 'rafansilva/emailsender', |
34 | - ), |
|
35 | - 'versions' => |
|
36 | - array ( |
|
34 | + ), |
|
35 | + 'versions' => |
|
36 | + array ( |
|
37 | 37 | 'phpmailer/phpmailer' => |
38 | 38 | array ( |
39 | - 'pretty_version' => 'v6.4.0', |
|
40 | - 'version' => '6.4.0.0', |
|
41 | - 'aliases' => |
|
42 | - array ( |
|
43 | - ), |
|
44 | - 'reference' => '050d430203105c27c30efd1dce7aa421ad882d01', |
|
39 | + 'pretty_version' => 'v6.4.0', |
|
40 | + 'version' => '6.4.0.0', |
|
41 | + 'aliases' => |
|
42 | + array ( |
|
43 | + ), |
|
44 | + 'reference' => '050d430203105c27c30efd1dce7aa421ad882d01', |
|
45 | 45 | ), |
46 | 46 | 'rafansilva/emailsender' => |
47 | 47 | array ( |
48 | - 'pretty_version' => 'dev-main', |
|
49 | - 'version' => 'dev-main', |
|
50 | - 'aliases' => |
|
51 | - array ( |
|
52 | - ), |
|
53 | - 'reference' => 'd9e0489e1656c21739c0e681c615d834e25952f9', |
|
48 | + 'pretty_version' => 'dev-main', |
|
49 | + 'version' => 'dev-main', |
|
50 | + 'aliases' => |
|
51 | + array ( |
|
52 | + ), |
|
53 | + 'reference' => 'd9e0489e1656c21739c0e681c615d834e25952f9', |
|
54 | + ), |
|
54 | 55 | ), |
55 | - ), |
|
56 | 56 | ); |
57 | 57 | |
58 | 58 |
@@ -21,34 +21,34 @@ |
||
21 | 21 | |
22 | 22 | class InstalledVersions |
23 | 23 | { |
24 | -private static $installed = array ( |
|
24 | +private static $installed = array( |
|
25 | 25 | 'root' => |
26 | - array ( |
|
26 | + array( |
|
27 | 27 | 'pretty_version' => 'dev-main', |
28 | 28 | 'version' => 'dev-main', |
29 | 29 | 'aliases' => |
30 | - array ( |
|
30 | + array( |
|
31 | 31 | ), |
32 | 32 | 'reference' => 'd9e0489e1656c21739c0e681c615d834e25952f9', |
33 | 33 | 'name' => 'rafansilva/emailsender', |
34 | 34 | ), |
35 | 35 | 'versions' => |
36 | - array ( |
|
36 | + array( |
|
37 | 37 | 'phpmailer/phpmailer' => |
38 | - array ( |
|
38 | + array( |
|
39 | 39 | 'pretty_version' => 'v6.4.0', |
40 | 40 | 'version' => '6.4.0.0', |
41 | 41 | 'aliases' => |
42 | - array ( |
|
42 | + array( |
|
43 | 43 | ), |
44 | 44 | 'reference' => '050d430203105c27c30efd1dce7aa421ad882d01', |
45 | 45 | ), |
46 | 46 | 'rafansilva/emailsender' => |
47 | - array ( |
|
47 | + array( |
|
48 | 48 | 'pretty_version' => 'dev-main', |
49 | 49 | 'version' => 'dev-main', |
50 | 50 | 'aliases' => |
51 | - array ( |
|
51 | + array( |
|
52 | 52 | ), |
53 | 53 | 'reference' => 'd9e0489e1656c21739c0e681c615d834e25952f9', |
54 | 54 | ), |
@@ -14,9 +14,9 @@ |
||
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( |