infinum/eightshift-libs-stubs
最新稳定版本:0.8.0
Composer 安装命令:
composer require --dev infinum/eightshift-libs-stubs
包简介
PHPStan stubs for eightshift-libs project
README 文档
README
This package offers PHPStan stubs for the use with Eightshift Frontend Libs. Currently, it only holds the Helpers
stubs, since those are the only ones needed for inspections inside the block files.
Usage
Install them using composer as
composer require infinum/eightshift-libs-stubs --dev
Then, while developing you should add the stubs to phpstan.neon.dist
parameters: bootstrapFiles: - %currentWorkingDirectory%/vendor/infinum/eightshift-libs-stubs/eightshift-libs-stubs.php
Modification of the stub generation
The stubs are using the PHP Stub Generator. In order to generate
the new or updated stubs, you'll need to update the eightshift-libs inside the composer.json, and then generate
new stubs using
php generate.php
This will create the eightshift-libs-stubs.php file.
License
Eightshift Libs Stubs ©2022 Eightshift and Infinum. It is free software, and may be redistributed under the terms specified in the LICENSE file.
统计信息
- 总下载量: 2.21k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-07-24