dadadev/phpstan-symfony-routing
最新稳定版本:0.2.0
Composer 安装命令:
composer require dadadev/phpstan-symfony-routing
包简介
A phpstan plugin to analyze generating of routes from symfony routing
README 文档
README
This extension provides following features:
- Notifies you when you try to generate a URL for a non-existing route name.
Installation
To use this extension, require it in Composer:
composer require --dev dadadev/phpstan-symfony-routing
If you also install phpstan/extension-installer then you're all set!
Manual installation
If you don't want to use phpstan/extension-installer, include extension.neon in your project's PHPStan config:
includes:
- vendor/dadadev/phpstan-symfony-routing/extension.neon
To perform framework-specific checks, include also this file:
includes:
- vendor/dadadev/phpstan-symfony-routing/rules.neon
Analysis of generating URLs
You have to provide a path to url_generating_routes.php for the url generating analysis to work.
parameters: dadadev: urlGeneratingRulesFile: var/cache/dev/url_generating_routes.php
统计信息
- 总下载量: 8.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-03-08