Metrics
0
Watch 101 Star 377 Fork 88

GVPswoft / swoftPHPApache-2.0

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
首个基于 Swoole 原生协程的新时代 PHP 高性能协程全栈框架,内置协程网络服务器及常用的协程客户端,常驻内存,不依赖传统的 PHP-FPM,全异步非阻塞 IO 实现,以类似于同步客户端的写法实现异步客户端的使用,没有复杂的异步回调,没有繁琐的 yield, 有类似 Go 语言的协程、灵活的注解、强大的全局依赖注入容器、完善的服务治理、灵活强大的 AOP、标准的 PSR 规范实现等等,可以用于构建高性能的Web系统、API、中间件、基础服务等等。 spread retract

https://www.swoft.org/

Clone or download
.php_cs 979 Bytes
Copy Edit Web IDE Raw Blame History
inhere authored 2019-06-11 20:31 . add php_cs file
<?php
$header = <<<'EOF'
This file is part of Swoft.
@link https://swoft.org
@document https://swoft.org/docs
@contact group@swoft.org
@license https://github.com/swoft-cloud/swoft/blob/master/LICENSE
EOF;
return PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules([
'@PSR2' => true,
'header_comment' => [
'commentType' => 'PHPDoc',
'header' => $header,
'separate' => 'none'
],
'array_syntax' => [
'syntax' => 'short'
],
'single_quote' => true,
'class_attributes_separation' => true,
'no_unused_imports' => true,
'standardize_not_equals' => true,
])
->setFinder(
PhpCsFixer\Finder::create()
->exclude('public')
->exclude('resources')
->exclude('config')
->exclude('runtime')
->exclude('vendor')
->in(__DIR__)
)
->setUsingCache(false);

Comment ( 0 )

You need to Sign in for post a comment

Help Search

183227_9af5e6a8_1826025 111910_4d91f001_1826025