Passe générale php-cs-fixer

This commit is contained in:
2019-09-24 08:23:19 -04:00
parent 408d88f164
commit dad2b76165
75 changed files with 134 additions and 147 deletions

View File

@ -23,8 +23,8 @@ abstract class AbstractWebServerTest extends \PHPUnit_Framework_TestCase
/**
* @var ProcessBuilder
*/
static protected $webserver;
static protected $websererPortLength;
protected static $webserver;
protected static $websererPortLength;
public static function setUpBeforeClass()
{

View File

@ -4,4 +4,4 @@ namespace BeSimple\SoapClient\Tests\AxisInterop\Fixtures;
class AttachmentRequest extends AttachmentType
{
}
}

View File

@ -6,4 +6,4 @@ class AttachmentType
{
public $fileName;
public $binaryData;
}
}

View File

@ -20,4 +20,4 @@ class TestCase extends \PHPUnit_Framework_TestCase
curl_close($ch);
}
}
}

View File

@ -74,7 +74,7 @@ class WsSecurityUserPassAxisInteropTest extends TestCase
$sc = new BeSimpleSoapClient(__DIR__.'/Fixtures/WsSecurityUserPass.wsdl', $this->options);
$wssFilter = new BeSimpleWsSecurityFilter(true, 600);
$wssFilter->addUserData( 'libuser', 'books', BeSimpleWsSecurityFilter::PASSWORD_TYPE_DIGEST );
$wssFilter->addUserData('libuser', 'books', BeSimpleWsSecurityFilter::PASSWORD_TYPE_DIGEST);
$soapKernel = $sc->getSoapKernel();
$soapKernel->registerFilter($wssFilter);

View File

@ -4,4 +4,4 @@ namespace BeSimple\SoapClient\Tests\ServerInterop\Fixtures;
class AttachmentRequest extends AttachmentType
{
}
}

View File

@ -6,4 +6,4 @@ class AttachmentType
{
public $fileName;
public $binaryData;
}
}

View File

@ -36,7 +36,6 @@ try {
$attachment->binaryData = $b64;
var_dump($sc->attachment($attachment));
} catch (Exception $e) {
var_dump($e);
}
@ -46,4 +45,4 @@ try {
// $sc->__getLastRequest(),
// $sc->__getLastResponseHeaders(),
// $sc->__getLastResponse()
// );
// );

View File

@ -29,7 +29,6 @@ $options = array(
$sc = new BeSimpleSoapClient(__DIR__.'/Fixtures/SwA.wsdl', $options);
try {
$upload = new uploadFile();
$upload->name = 'upload.txt';
$upload->data = 'This is a test. :)';
@ -49,4 +48,4 @@ try {
// $sc->__getLastRequest(),
// $sc->__getLastResponseHeaders(),
// $sc->__getLastResponse()
// );
// );

View File

@ -26,4 +26,4 @@ class TestCase extends \PHPUnit_Framework_TestCase
curl_close($ch);
}
}
}

View File

@ -69,7 +69,6 @@ try {
$ab->type = 'scifi';
var_dump($sc->addBook($ab));
} catch (Exception $e) {
var_dump($e);
}

View File

@ -54,7 +54,6 @@ try {
$ab->type = 'scifi';
var_dump($sc->addBook($ab));
} catch (Exception $e) {
var_dump($e);
}

View File

@ -63,7 +63,7 @@ class WsSecurityUserPassServerInteropTest extends TestCase
$sc = new BeSimpleSoapClient(__DIR__.'/Fixtures/WsSecurityUserPass.wsdl', $this->options);
$wssFilter = new BeSimpleWsSecurityFilter(true, 600);
$wssFilter->addUserData( 'libuser', 'books', BeSimpleWsSecurityFilter::PASSWORD_TYPE_DIGEST );
$wssFilter->addUserData('libuser', 'books', BeSimpleWsSecurityFilter::PASSWORD_TYPE_DIGEST);
$soapKernel = $sc->getSoapKernel();
$soapKernel->registerFilter($wssFilter);

View File

@ -25,9 +25,9 @@ use org\bovigo\vfs\vfsStreamWrapper;
*/
class WsdlDownloaderTest extends AbstractWebserverTest
{
static protected $filesystem;
protected static $filesystem;
static protected $fixturesPath;
protected static $fixturesPath;
/**
* @dataProvider provideDownload