Skip to content

Commit

Permalink
Format code by the latest cs-fixer. (#6617)
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed Mar 23, 2024
1 parent 35a7d55 commit 9950abe
Show file tree
Hide file tree
Showing 41 changed files with 46 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/ApplicationInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

use Hyperf\Framework\ApplicationFactory;
Expand Down
1 change: 1 addition & 0 deletions src/Arrayable.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Castable.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface Castable
Expand Down
1 change: 1 addition & 0 deletions src/CastsAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface CastsAttributes
Expand Down
1 change: 1 addition & 0 deletions src/CastsInboundAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface CastsInboundAttributes
Expand Down
1 change: 1 addition & 0 deletions src/CompressInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface CompressInterface
Expand Down
1 change: 1 addition & 0 deletions src/ConfigInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface ConfigInterface
Expand Down
1 change: 1 addition & 0 deletions src/ConnectionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface ConnectionInterface
Expand Down
8 changes: 6 additions & 2 deletions src/ContainerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface as PsrContainerInterface;
use Psr\Container\NotFoundExceptionInterface;
use Throwable;

interface ContainerInterface extends PsrContainerInterface
{
Expand All @@ -25,8 +29,8 @@ interface ContainerInterface extends PsrContainerInterface
* @param array $parameters Optional parameters to use to build the entry. Use this to force specific parameters
* to specific values. Parameters not defined in this array will be resolved using
* the container.
* @throws InvalidArgumentException the name parameter must be of type string
* @throws NotFoundException no entry found for the given name
* @throws ContainerExceptionInterface&Throwable the name parameter must be of type string
* @throws NotFoundExceptionInterface&Throwable no entry found for the given name
*/
public function make(string $name, array $parameters = []);

Expand Down
1 change: 1 addition & 0 deletions src/DispatcherInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface DispatcherInterface
Expand Down
1 change: 1 addition & 0 deletions src/FrequencyInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface FrequencyInterface
Expand Down
1 change: 1 addition & 0 deletions src/IPReaderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface IPReaderInterface
Expand Down
1 change: 1 addition & 0 deletions src/IdGeneratorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface IdGeneratorInterface
Expand Down
1 change: 1 addition & 0 deletions src/JsonDeSerializable.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface JsonDeSerializable
Expand Down
1 change: 1 addition & 0 deletions src/Jsonable.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

use Stringable;
Expand Down
1 change: 1 addition & 0 deletions src/LengthAwarePaginatorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface LengthAwarePaginatorInterface extends PaginatorInterface
Expand Down
1 change: 1 addition & 0 deletions src/MessageBag.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface MessageBag
Expand Down
1 change: 1 addition & 0 deletions src/MessageProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface MessageProvider
Expand Down
1 change: 1 addition & 0 deletions src/MiddlewareInitializerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface MiddlewareInitializerInterface
Expand Down
1 change: 1 addition & 0 deletions src/NormalizerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

use ArrayObject;
Expand Down
1 change: 1 addition & 0 deletions src/OnCloseInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

use Swoole\Http\Response;
Expand Down
1 change: 1 addition & 0 deletions src/OnHandShakeInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

use Swoole\Http\Request;
Expand Down
1 change: 1 addition & 0 deletions src/OnMessageInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

use Swoole\Http\Response;
Expand Down
1 change: 1 addition & 0 deletions src/OnOpenInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

use Swoole\Http\Request;
Expand Down
1 change: 1 addition & 0 deletions src/OnPacketInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

use Swoole\WebSocket\Server;
Expand Down
1 change: 1 addition & 0 deletions src/OnReceiveInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

use Hyperf\Server\Connection as HyperfConnection;
Expand Down
1 change: 1 addition & 0 deletions src/OnRequestInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface OnRequestInterface
Expand Down
1 change: 1 addition & 0 deletions src/PackerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface PackerInterface
Expand Down
1 change: 1 addition & 0 deletions src/PaginatorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface PaginatorInterface
Expand Down
1 change: 1 addition & 0 deletions src/PoolInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface PoolInterface
Expand Down
1 change: 1 addition & 0 deletions src/PoolOptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface PoolOptionInterface
Expand Down
1 change: 1 addition & 0 deletions src/ProcessInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

use Swoole\Coroutine\Http\Server as CoHttpServer;
Expand Down
1 change: 1 addition & 0 deletions src/ResponseEmitterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

use Psr\Http\Message\ResponseInterface;
Expand Down
1 change: 1 addition & 0 deletions src/SessionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

use RuntimeException;
Expand Down
1 change: 1 addition & 0 deletions src/StdoutLoggerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

use Psr\Log\LoggerInterface;
Expand Down
1 change: 1 addition & 0 deletions src/Synchronized.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface Synchronized
Expand Down
1 change: 1 addition & 0 deletions src/TranslatorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

use Countable;
Expand Down
1 change: 1 addition & 0 deletions src/TranslatorLoaderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface TranslatorLoaderInterface
Expand Down
1 change: 1 addition & 0 deletions src/UnCompressInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface UnCompressInterface
Expand Down
1 change: 1 addition & 0 deletions src/ValidatorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

interface ValidatorInterface extends MessageProvider
Expand Down
1 change: 1 addition & 0 deletions src/Xmlable.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @contact [email protected]
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/

namespace Hyperf\Contract;

use Stringable;
Expand Down

0 comments on commit 9950abe

Please sign in to comment.