Browse Source

Code formatting

main
Cédric Belin 2 weeks ago
parent
commit
59a2045ddf
4 changed files with 7 additions and 7 deletions
  1. +3
    -3
      src/Client.php
  2. +1
    -1
      src/ClientException.php
  3. +2
    -2
      src/RequestEvent.php
  4. +1
    -1
      test/ClientTest.php

+ 3
- 3
src/Client.php View File

@@ -1,9 +1,9 @@
<?php declare(strict_types=1);
namespace FreeMobile;

use Psr\Http\Message\{UriInterface};
use Symfony\Component\EventDispatcher\{EventDispatcher};
use Symfony\Component\HttpClient\{Psr18Client};
use Psr\Http\Message\UriInterface;
use Symfony\Component\EventDispatcher\EventDispatcher;
use Symfony\Component\HttpClient\Psr18Client;

/** Sends messages by SMS to a Free Mobile account. */
class Client extends EventDispatcher {


+ 1
- 1
src/ClientException.php View File

@@ -1,7 +1,7 @@
<?php declare(strict_types=1);
namespace FreeMobile;

use Psr\Http\Message\{UriInterface};
use Psr\Http\Message\UriInterface;

/** An exception caused by an error in a `Client` request. */
class ClientException extends \RuntimeException {


+ 2
- 2
src/RequestEvent.php View File

@@ -1,8 +1,8 @@
<?php declare(strict_types=1);
namespace FreeMobile;

use Psr\Http\Message\{RequestInterface};
use Symfony\Contracts\EventDispatcher\{Event};
use Psr\Http\Message\RequestInterface;
use Symfony\Contracts\EventDispatcher\Event;

/** Represents the event parameter used for request events. */
class RequestEvent extends Event {


+ 1
- 1
test/ClientTest.php View File

@@ -1,7 +1,7 @@
<?php declare(strict_types=1);
namespace FreeMobile;

use Nyholm\Psr7\{Uri};
use Nyholm\Psr7\Uri;
use PHPUnit\Framework\{Assert, TestCase};
use function PHPUnit\Framework\{assertThat, isInstanceOf, isNull, stringStartsWith};



Loading…
Cancel
Save