承接 wyrihaximus/phpstan-no-safe 相关项目开发

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

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

wyrihaximus/phpstan-no-safe

Composer 安装命令:

composer require wyrihaximus/phpstan-no-safe

包简介

⛔🔐 PHPStan extension that detects and blocks any usage of `thecodingmachine/safe`

README 文档

README

PHPStan extension that detects and blocks any usage of thecodingmachine/safe

ReactPHP Extension for PHPStan

Continuous Integration Latest Stable Version Total Downloads License

Install

To install via Composer, use the command below, it will automatically detect the latest version and bind it with ^.

composer require wyrihaximus/phpstan-no-safe

Why

Main reason for this package is to prevent usage of thecodingmachine/safe in your codebase. And in my personal specific situation: I'm removing all usage of thecodingmachine/safe from my packages. This is something I started back when the packages wasn't maintained for a while and the decision was made to remove it. This package is purely a way to ensure there is nothing lingering around. It's the counterpart of thecodingmachine/phpstan-safe-rule. Also would like to note that I don't think thecodingmachine/safe is a bad package.

Usage

The rules in this package are automatically loaded by PHPStan when phpstan/extension-installer is installed.

Alternatively including the extension file from the root of this package will do the same:

includes:
	- vendor/wyrihaximus/phpstan-no-safe/extension.neon

License

The MIT License (MIT)

Copyright (c) 2026 Cees-Jan Kiewiet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Makefile

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固