Metrics
0
Watch 102 Star 403 Fork 96

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
phpstan.neon.dist 2.99 KB
Copy Edit Web IDE Raw Blame History
includes:
- phar://phpstan.phar/conf/bleedingEdge.neon
parameters:
level: max
inferPrivatePropertyTypeFromConstructor: true
paths:
- %currentWorkingDirectory%/app/
autoload_files:
- %currentWorkingDirectory%/test/bootstrap.php
autoload_directories:
- %currentWorkingDirectory%/vendor/swoft/swoole-ide-helper/src/namespace/
dynamicConstantNames:
- APP_DEBUG
ignoreErrors:
# Variable type
- '#^Call to an undefined method Swoft\\Contract\\ContextInterface::get\S+\(\)\.$#'
# These are ignored for now
-
path: %currentWorkingDirectory%/app/Exception/Handler/WsMessageExceptionHandler.php
message: '#^Call to an undefined method Swoft\\Server\\Server::push\(\)\.$#'
-
path: %currentWorkingDirectory%/app/Http/Controller/DbModelController.php
message: '#^Method App\\Http\\Controller\\DbModelController::getId\(\) should return int but returns int\|null\.$#'
-
path: %currentWorkingDirectory%/app/Http/Controller/DbModelController.php
message: '#^Argument of an invalid type App\\Model\\Entity\\User supplied for foreach, only iterables are supported\.$#'
-
path: %currentWorkingDirectory%/app/Http/Controller/DbTransactionController.php
message: '#^Method App\\Http\\Controller\\DbTransactionController::getId\(\) should return int but returns int\|null\.$#'
-
path: %currentWorkingDirectory%/app/Http/Controller/RpcController.php
message: '#^Unreachable statement - code above always terminates\.$#'
-
path: %currentWorkingDirectory%/app/Http/Controller/SelectDbController.php
message: '#^Method App\\Http\\Controller\\SelectDbController::getId\(\) should return int but returns int\|null\.$#'
-
path: %currentWorkingDirectory%/app/Http/Controller/ValidatorController.php
message: '#^Method App\\Http\\Controller\\ValidatorController::(validateAll|validateType|validatePassword|validateCustomer)\(\) should return array but returns array\|object\|null\.$#'
-
path: %currentWorkingDirectory%/app/Task/Task/SyncTask.php
message: '#^Method App\\Task\\Task\\SyncTask::testNull\(\) should return bool but returns null\.$#'
-
path: %currentWorkingDirectory%/app/Validator/Rule/AlphaDashRule.php
message: '#^Call to an undefined method object::getMessage\(\)\.$#'
-
path: %currentWorkingDirectory%/app/WebSocket/Chat/HomeController.php
message: '#^Call to an undefined method Swoft\\Session\\SessionInterface::push\(\)\.$#'
-
path: %currentWorkingDirectory%/app/WebSocket/ChatModule.php
message: '#^Call to an undefined method Swoft\\Server\\Server::push\(\)\.$#'
-
path: %currentWorkingDirectory%/app/WebSocket/EchoModule.php
message: '#^Call to an undefined method Swoft\\Server\\Server::push\(\)\.$#'

Comment ( 0 )

You need to Sign in for post a comment

PHP
1
https://gitee.com/swoft/swoft.git
git@gitee.com:swoft/swoft.git

Help Search