mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-29 18:27:44 +08:00
Format all files. (#1562)
This commit is contained in:
parent
112e27157c
commit
aa27e7eed0
1
.php_cs
1
.php_cs
@ -81,6 +81,7 @@ return PhpCsFixer\Config::create()
|
||||
])
|
||||
->setFinder(
|
||||
PhpCsFixer\Finder::create()
|
||||
->exclude('bin')
|
||||
->exclude('public')
|
||||
->exclude('runtime')
|
||||
->exclude('vendor')
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
! defined('BASE_PATH') && define('BASE_PATH', __DIR__);
|
||||
! defined('SWOOLE_HOOK_FLAGS') && define('SWOOLE_HOOK_FLAGS', SWOOLE_HOOK_ALL);
|
||||
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
return [
|
||||
'default' => [
|
||||
'host' => env('AMQP_HOST', 'localhost'),
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Annotation;
|
||||
|
||||
use Hyperf\Di\Annotation\AbstractAnnotation;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Annotation;
|
||||
|
||||
use Hyperf\Di\Annotation\AbstractAnnotation;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp;
|
||||
|
||||
use Hyperf\Amqp\Message\MessageInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Builder;
|
||||
|
||||
use PhpAmqpLib\Wire\AMQPTable;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Builder;
|
||||
|
||||
class ExchangeBuilder extends Builder
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Builder;
|
||||
|
||||
class QueueBuilder extends Builder
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp;
|
||||
|
||||
use Hyperf\Amqp\Listener\BeforeMainServerStartListener;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp;
|
||||
|
||||
use Hyperf\Amqp\Connection\AMQPSwooleConnection;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Connection;
|
||||
|
||||
use PhpAmqpLib\Connection\AbstractConnection;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Connection;
|
||||
|
||||
use InvalidArgumentException;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Connection;
|
||||
|
||||
use Hyperf\Contract\StdoutLoggerInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Connection;
|
||||
|
||||
use InvalidArgumentException;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp;
|
||||
|
||||
class Constants
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp;
|
||||
|
||||
use Hyperf\Amqp\Event\AfterConsume;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp;
|
||||
|
||||
use Hyperf\Amqp\Pool\PoolFactory;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp;
|
||||
|
||||
use Hyperf\Amqp\Annotation\Consumer as ConsumerAnnotation;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp;
|
||||
|
||||
use Hyperf\Contract\ConnectionInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Event;
|
||||
|
||||
use Hyperf\Amqp\Message\ConsumerMessageInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Event;
|
||||
|
||||
class BeforeConsume extends ConsumeEvent
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Event;
|
||||
|
||||
use Hyperf\Amqp\Message\ConsumerMessageInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Event;
|
||||
|
||||
use Hyperf\Amqp\Message\ConsumerMessageInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Exception;
|
||||
|
||||
use Exception;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Listener;
|
||||
|
||||
use Hyperf\Amqp\ConsumerManager;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Listener;
|
||||
|
||||
use Doctrine\Instantiator\Instantiator;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Message;
|
||||
|
||||
use Hyperf\Amqp\Builder\QueueBuilder;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Message;
|
||||
|
||||
use Hyperf\Amqp\Builder\QueueBuilder;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Message;
|
||||
|
||||
use Hyperf\Amqp\Builder\ExchangeBuilder;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Message;
|
||||
|
||||
use Hyperf\Amqp\Builder\ExchangeBuilder;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Message;
|
||||
|
||||
use Hyperf\Amqp\Constants;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Message;
|
||||
|
||||
interface ProducerMessageInterface extends MessageInterface
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Message;
|
||||
|
||||
class Type
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Packer;
|
||||
|
||||
use Hyperf\Contract\PackerInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp;
|
||||
|
||||
class Params
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Pool;
|
||||
|
||||
use Hyperf\Amqp\Connection;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Pool;
|
||||
|
||||
use Hyperf\Pool\Frequency as DefaultFrequency;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp\Pool;
|
||||
|
||||
use Hyperf\Di\Container;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp;
|
||||
|
||||
use Hyperf\Amqp\Message\ProducerMessageInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Amqp;
|
||||
|
||||
class Result
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\Amqp;
|
||||
|
||||
use Hyperf\Amqp\Annotation\Consumer;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\Amqp;
|
||||
|
||||
use Hyperf\Amqp\Connection\KeepaliveIO;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\Amqp\Message;
|
||||
|
||||
use Hyperf\Amqp\Consumer;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\Amqp\Message;
|
||||
|
||||
use HyperfTest\Amqp\Stub\DemoConsumer;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\Amqp;
|
||||
|
||||
use Hyperf\Amqp\Params;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\Amqp\Stub;
|
||||
|
||||
use Hyperf\Amqp\Consumer;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\Amqp\Stub;
|
||||
|
||||
use Hyperf\Amqp\Message\ConsumerMessage;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\Amqp\Stub;
|
||||
|
||||
use Hyperf\Amqp\Message\ProducerMessage;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\Amqp\Stub;
|
||||
|
||||
use Hyperf\Amqp\Message\ConsumerMessage;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\Amqp\Stub;
|
||||
|
||||
use Hyperf\Amqp\Connection\Socket;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\Amqp\Stub;
|
||||
|
||||
use Hyperf\Amqp\Connection\Socket;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
return [
|
||||
'default' => [
|
||||
'driver' => \Hyperf\AsyncQueue\Driver\RedisDriver::class,
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Annotation;
|
||||
|
||||
use Hyperf\Di\Annotation\AbstractAnnotation;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue;
|
||||
|
||||
use Hyperf\Contract\CompressInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Aspect;
|
||||
|
||||
use Hyperf\AsyncQueue\Annotation\AsyncQueueMessage;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Command;
|
||||
|
||||
use Hyperf\AsyncQueue\Driver\DriverFactory;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Command;
|
||||
|
||||
use Hyperf\AsyncQueue\Driver\DriverFactory;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Command;
|
||||
|
||||
use Hyperf\AsyncQueue\Driver\DriverFactory;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue;
|
||||
|
||||
class ConfigProvider
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Driver;
|
||||
|
||||
use Hyperf\AsyncQueue\Exception\InvalidQueueException;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Driver;
|
||||
|
||||
use Hyperf\AsyncQueue\Environment;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Driver;
|
||||
|
||||
use Hyperf\AsyncQueue\Exception\InvalidDriverException;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Driver;
|
||||
|
||||
use Hyperf\AsyncQueue\JobInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Driver;
|
||||
|
||||
use Hyperf\AsyncQueue\Exception\InvalidQueueException;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue;
|
||||
|
||||
class Environment
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Event;
|
||||
|
||||
class AfterHandle extends Event
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Event;
|
||||
|
||||
class BeforeHandle extends Event
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Event;
|
||||
|
||||
use Hyperf\AsyncQueue\MessageInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Event;
|
||||
|
||||
use Hyperf\AsyncQueue\MessageInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Event;
|
||||
|
||||
use Hyperf\AsyncQueue\Driver\DriverInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Event;
|
||||
|
||||
use Hyperf\AsyncQueue\MessageInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Exception;
|
||||
|
||||
class InvalidDriverException extends \RuntimeException
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Exception;
|
||||
|
||||
class InvalidPackerException extends \RuntimeException
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Exception;
|
||||
|
||||
class InvalidQueueException extends \RuntimeException
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue;
|
||||
|
||||
use Hyperf\Contract\CompressInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue;
|
||||
|
||||
interface JobInterface
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Listener;
|
||||
|
||||
use Hyperf\AsyncQueue\Event\QueueLength;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue;
|
||||
|
||||
use Hyperf\Contract\CompressInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue;
|
||||
|
||||
interface MessageInterface
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\AsyncQueue\Process;
|
||||
|
||||
use Hyperf\AsyncQueue\Driver\DriverFactory;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\AsyncQueue;
|
||||
|
||||
use Hyperf\AsyncQueue\Annotation\AsyncQueueMessage;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\AsyncQueue;
|
||||
|
||||
use Hyperf\AsyncQueue\Driver\ChannelConfig;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\AsyncQueue;
|
||||
|
||||
use Hyperf\AsyncQueue\Driver\ChannelConfig;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\AsyncQueue\Stub;
|
||||
|
||||
use Hyperf\AsyncQueue\Job;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\AsyncQueue\Stub;
|
||||
|
||||
use Hyperf\Contract\CompressInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\AsyncQueue\Stub;
|
||||
|
||||
use Hyperf\Contract\CompressInterface;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\AsyncQueue\Stub;
|
||||
|
||||
use Hyperf\AsyncQueue\Annotation\AsyncQueueMessage;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\AsyncQueue\Stub;
|
||||
|
||||
use Hyperf\Utils\Context;
|
||||
|
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace HyperfTest\AsyncQueue\Stub;
|
||||
|
||||
use Hyperf\AsyncQueue\Driver\RedisDriver;
|
||||
|
1
src/cache/publish/cache.php
vendored
1
src/cache/publish/cache.php
vendored
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
return [
|
||||
'default' => [
|
||||
'driver' => Hyperf\Cache\Driver\RedisDriver::class,
|
||||
|
1
src/cache/src/Annotation/CacheEvict.php
vendored
1
src/cache/src/Annotation/CacheEvict.php
vendored
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Cache\Annotation;
|
||||
|
||||
use Hyperf\Di\Annotation\AbstractAnnotation;
|
||||
|
1
src/cache/src/Annotation/CachePut.php
vendored
1
src/cache/src/Annotation/CachePut.php
vendored
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Cache\Annotation;
|
||||
|
||||
use Hyperf\Di\Annotation\AbstractAnnotation;
|
||||
|
1
src/cache/src/Annotation/Cacheable.php
vendored
1
src/cache/src/Annotation/Cacheable.php
vendored
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Cache\Annotation;
|
||||
|
||||
use Hyperf\Cache\CacheListenerCollector;
|
||||
|
1
src/cache/src/Annotation/FailCache.php
vendored
1
src/cache/src/Annotation/FailCache.php
vendored
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Cache\Annotation;
|
||||
|
||||
use Hyperf\Cache\CacheListenerCollector;
|
||||
|
1
src/cache/src/AnnotationManager.php
vendored
1
src/cache/src/AnnotationManager.php
vendored
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Cache;
|
||||
|
||||
use Hyperf\Cache\Annotation\Cacheable;
|
||||
|
1
src/cache/src/Aspect/CacheEvictAspect.php
vendored
1
src/cache/src/Aspect/CacheEvictAspect.php
vendored
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Cache\Aspect;
|
||||
|
||||
use Hyperf\Cache\Annotation\CacheEvict;
|
||||
|
1
src/cache/src/Aspect/CachePutAspect.php
vendored
1
src/cache/src/Aspect/CachePutAspect.php
vendored
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Cache\Aspect;
|
||||
|
||||
use Hyperf\Cache\Annotation\CachePut;
|
||||
|
1
src/cache/src/Aspect/CacheableAspect.php
vendored
1
src/cache/src/Aspect/CacheableAspect.php
vendored
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Cache\Aspect;
|
||||
|
||||
use Hyperf\Cache\Annotation\Cacheable;
|
||||
|
1
src/cache/src/Aspect/FailCacheAspect.php
vendored
1
src/cache/src/Aspect/FailCacheAspect.php
vendored
@ -9,7 +9,6 @@ declare(strict_types=1);
|
||||
* @contact group@hyperf.io
|
||||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace Hyperf\Cache\Aspect;
|
||||
|
||||
use Hyperf\Cache\Annotation\FailCache;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user