Content-Length: 268727 | pFad | http://github.com/Payum/PaypalRest/commit/9ac3acfe07824940a0d7f556ee1a46b3b6c7cc0f

25 Fix CS · Payum/PaypalRest@9ac3acf · GitHub
Skip to content

Commit 9ac3acf

Browse files
committed
Fix CS
1 parent 54f5baf commit 9ac3acf

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Tests/PaypalRestGatewayFactoryTest.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,9 @@ public function testShouldThrowIfRequiredOptionsNotPassed()
107107
public function testShouldThrowIfConfigPathOptionsNotEqualPaypalPath()
108108
{
109109
define('PP_CONFIG_PATH', __DIR__);
110-
$this->expectException(InvalidArgumentException::class);
111110

112-
if (method_exists($this, 'expectExceptionMessageRegExp')) {
113-
$this->expectExceptionMessageRegExp('/Given \"config_path\" is invalid. \w+/');
114-
} else {
115-
$this->expectExceptionMessageMatches('/Given \"config_path\" is invalid. \w+/');
116-
}
111+
$this->expectException(InvalidArgumentException::class);
112+
$this->expectExceptionMessageMatches('/Given \"config_path\" is invalid. \w+/');
117113

118114
$factory = new PaypalRestGatewayFactory();
119115
$factory->create([

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Payum/PaypalRest/commit/9ac3acfe07824940a0d7f556ee1a46b3b6c7cc0f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy