承接 ghostwriter/psalm-plugin 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ghostwriter/psalm-plugin

最新稳定版本:0.2.0

Composer 安装命令:

composer require --dev ghostwriter/psalm-plugin

包简介

Provides a plugin for Psalm

README 文档

README

GitHub Sponsors Automation Supported PHP Version Downloads

Provides an ALL-IN-ONE plugin for Psalm

Usage

composer require ghostwriter/psalm-plugin --dev
vendor/bin/psalm-plugin enable ghostwriter/psalm-plugin
vendor/bin/psalm

Feature

  • PHP Standards Recommendations
    • Cache
    • Container
      • Resolve return type for the get method.
    • Clock
    • Event Dispatcher
    • Link
    • Log
    • Http
  • PHPUnit
    • Suppress MissingThrowsDocblock for classes that extending TestCase
    • Suppress UnusedClass for classes that extending TestCase
    • Suppress PropertyNotSetInConstructor for classes that extending TestCase
      • Using assertPreConditions method
      • Using setUp method
      • Using setUpBeforeClass method
      • Using @before docblock
      • Using @beforeClass docblock
      • Using #[Before] attribute
      • Using #[BeforeClass] attribute
      • Using #[PreCondition] attribute
  • Privatization
    • Finalize every class that has no children (!isAbstract && !isAnonymous)
    • Finalize every class method on an abstract class if possible (!isAbstract && !isPrivate)
    • Change protected class method to private if possible
    • Change protected class property to private if possible
  • Strict Types
  • [Request a Feature]

Changelog

Please see CHANGELOG.md for more information on what has changed recently.

Security

If you discover any security-related issues, please use Security Advisories instead of using the issue tracker.

Credits

License

The BSD-4-Clause. Please see License File for more information.

统计信息

  • 总下载量: 2.18M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2023-08-03