smartbooster/standard-bundle

捆绑组,包含我们用于测试和编码SMART BOOSTER标准的所有开发供应商

安装: 795

依赖项: 2

建议者: 0

安全性: 0

星级: 1

关注者: 0

分支: 0

类型:symfony-bundle

v1.0.4 2024-01-22 15:22 UTC

README

捆绑组,包含我们用于测试和编码SMARTBOOSTER标准的所有开发供应商。

里面有什么!

  • 我们每天用来检查代码质量的所有开发供应商。
  • 包含QA和测试命令的Makefile,可以轻松运行。

安装

# As this bundle is still in development and not added to the symfony/recipes-contrib repo, you need to manually add the recipe endpoint on your composer.json
composer config --json extra.symfony.endpoint '["https://api.github.com/repos/smartbooster/standard-bundle/contents/recipes.json", "flex://defaults"]'
# Then require the bundle into your dev requirements:
composer require --dev smartbooster/standard-bundle

当其他捆绑程序(Phpstan、Codesnif、Dama、...)提示“您想要执行此配方吗?”时,回答否并按回车键。
standard-bundle有其自己的配方,将覆盖上述捆绑程序(检查点状清单以查看哪些文件)。

别忘了执行配方重置,以便从配方复制文件中获取最新的更改(参见下一节)。

重新安装配方以获取最新更改

如果您需要更高版本或更新项目中的捆绑程序版本,请运行以下命令以执行带有最新更改的配方

composer recipes:install smartbooster/standard-bundle --reset --force

在捆绑程序上工作

更新配方点状清单

如果点状清单需要更改(对于任何配置器),或者捆绑程序的新主要版本,您必须创建一个新的smartbooster.standard-bundle.{major}.{minor}.json文件,具有不同的“ref”值。
使用以下PHP脚本来生成新的随机“ref”值

echo bin2hex(random_bytes(20));

然后将它添加到recipes.json列表中。

贡献

欢迎Pull requests。

感谢所有已经贡献的人

此项目由SmartBooster支持