phpstan-symfony:PHPStan的Symfony扩展

时间:2021-02-06 06:39:06
【文件属性】:
文件名称:phpstan-symfony:PHPStan的Symfony扩展
文件大小:44KB
文件格式:ZIP
更新时间:2021-02-06 06:39:06
testing php symfony php7 static-code-analysis PHPStan Symfony Framework扩展和规则 此扩展提供以下功能: 为ContainerInterface::get()和::has()方法提供正确的返回类型。 为Controller::get()和::has()方法提供正确的返回类型。 根据$asResource参数为Request::getContent()方法提供正确的返回类型。 根据$first参数为HeaderBag::get()方法提供正确的返回类型。 根据$stampFqcn参数为Envelope::all()方法提供正确的返回类型。 尝试从容器中获取未注册的服务时通知您。 尝试从容器中获取私有服务
【文件预览】:
phpstan-symfony-master
----extension.neon(6KB)
----README.md(4KB)
----.github()
--------workflows()
--------dependabot.yml(400B)
----LICENSE(1KB)
----composer.json(1KB)
----stubs()
--------NormalizerInterface.stub(334B)
--------Process.stub(152B)
--------FormView.stub(240B)
--------Cookie.stub(3KB)
--------DecoderInterface.stub(476B)
--------Node.stub(131B)
--------DenormalizerInterface.stub(542B)
--------FormTypeExtensionInterface.stub(530B)
--------FormBuilderInterface.stub(183B)
--------ParameterBag.stub(163B)
--------FormInterface.stub(176B)
--------NormalizableInterface.stub(378B)
--------ContextAwareDenormalizerInterface.stub(360B)
--------EncoderInterface.stub(421B)
--------Constraint.stub(241B)
--------ContextAwareDecoderInterface.stub(293B)
--------HeaderBag.stub(273B)
--------FormTypeInterface.stub(521B)
--------Session.stub(259B)
--------ConstraintViolationListInterface.stub(183B)
--------ContainerBuilder.stub(84B)
--------PropertyPathInterface.stub(155B)
--------ConstraintViolationInterface.stub(90B)
--------ExtensionInterface.stub(290B)
--------ContextAwareNormalizerInterface.stub(347B)
--------EventSubscriberInterface.stub(271B)
--------ChoiceLoaderInterface.stub(487B)
--------DenormalizableInterface.stub(418B)
----src()
--------Type()
--------Symfony()
--------Rules()
----build-cs()
--------composer.json(166B)
----rules.neon(336B)
----.editorconfig(120B)

网友评论