Packagist · packagist:tomasvotruba/cognitive-complexity
tomasvotruba/cognitive-complexity 活跃
PHPStan rules to measure cognitive complexity of your classes and methods
| 最新稳定版本 | 1.3.0 |
|---|---|
| 发布时间 | 2026-09-29 20:40:25+00:00 |
| 安装 | composer require tomasvotruba/cognitive-complexity |
| 所需 PHP 版本 (composer.json) | PHP >=7.4 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-10-09 15:03:46 UTC |
| 来源 | api.osv.dev, repo.packagist.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-09-29 20:40:25 UTC · 9 天前 |
| 过去 12 个月的稳定版本数 | 4 |
| 已发布版本数 | 17 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
1.3.0 | 2026-09-29 20:40:25 UTC |
1.2.0 | 2026-06-08 08:16:55 UTC |
1.1.1 | 2026-05-25 12:12:55 UTC |
1.1.0 | 2026-03-30 14:54:38 UTC |
1.0.0 | 2024-12-13 10:28:54 UTC |
0.2.3 | 2024-01-03 13:13:16 UTC |
0.2.2 | 2023-09-08 09:56:00 UTC |
0.2.1 | 2023-09-08 09:52:59 UTC |
0.2.0 | 2023-09-08 09:47:00 UTC |
0.1.2 | 2023-09-08 09:46:50 UTC |
0.1.1 | 2023-03-12 10:18:06 UTC |
0.1.0 | 2023-03-12 10:16:16 UTC |
0.0.5 | 2022-12-29 13:35:06 UTC |
0.0.4 | 2022-12-29 13:30:55 UTC |
0.0.3 | 2022-12-29 13:29:56 UTC |
0.0.2 | 2022-12-29 13:25:21 UTC |
0.0.1 | 2022-12-23 12:48:03 UTC |
显示 17 个版本中最新的 17 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
php 7.4 | 1.3.0 |
php 8.0 | 1.3.0 |
php 8.1 | 1.3.0 |
php 8.2 | 1.3.0 |
php 8.3 | 1.3.0 |
php 8.4 | 1.3.0 |
把这些数据交给你的 AI 智能体
Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
添加到 Cursor添加到 VS Code★ 在 GitHub 上加星
任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }常见问题
tomasvotruba/cognitive-complexity 的最新版本是什么?
tomasvotruba/cognitive-complexity 的最新稳定版本是 1.3.0,发布于 2026-09-29。Vigia 于 2026-10-09 核实。
如何安装 tomasvotruba/cognitive-complexity 的最新版本?
运行 composer require tomasvotruba/cognitive-complexity。最新稳定版本是 1.3.0(2026-10-09 核实)。
tomasvotruba/cognitive-complexity 是否已弃用?
否。注册表中 tomasvotruba/cognitive-complexity 未被标记为已弃用。
tomasvotruba/cognitive-complexity 需要哪个版本的 PHP?
tomasvotruba/cognitive-complexity 1.3.0 声明的要求为:PHP >=7.4。
tomasvotruba/cognitive-complexity 1.3.0 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 tomasvotruba/cognitive-complexity 1.3.0。
tomasvotruba/cognitive-complexity 是否仍在维护?
tomasvotruba/cognitive-complexity 在过去 12 个月内发布了 4 个稳定版本,最近一次在 9 天前。活跃度:活跃。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- laracasts/flash
- getbrevo/brevo-php
- spatie/test-time
- authorizenet/authorizenet
- automattic/jetpack-autoloader
- dbrekelmans/bdi
- nette/component-model
- magento/zend-memory
- illuminate/auth
- symfony/webhook
- magento/zend-cache
- magento/magento-composer-installer
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/packagist/tomasvotruba/cognitive-complexity) [](https://vigia.coredls.cloud/packagist/tomasvotruba/cognitive-complexity) [](https://vigia.coredls.cloud/packagist/tomasvotruba/cognitive-complexity)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/packagist/tomasvotruba/cognitive-complexity
GET https://vigia.coredls.cloud/v1/packages/packagist/tomasvotruba/cognitive-complexity/versions/{version}