定制 bristol-su/portal-pipeline 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

bristol-su/portal-pipeline

Composer 安装命令:

composer require bristol-su/portal-pipeline

包简介

Styles for the Bristol SU Portal

README 文档

README

Bring your coding style in line with the Bristol SU Portal Guidelines

Installation

Pull in this project

composer require bristol-su/portal-code-style

Create a .php_cs.dist file in your project. You can find an example in ./vendor/bristol-su/portal-code-style/examples/.php_cs.dist.example

Create a rector.php file in your project. You can find an example in ./vendor/bristol-su/portal-code-style/examples/rector.php

Add the following to your composer scripts

    "scripts": {
        "test": "vendor/bin/phpunit --colors=always --process-isolation --verbose --configuration phpunit.xml",
        "code-style": [
            "vendor/bin/php-cs-fixer fix --config .php_cs --dry-run --verbose --using-cache=no",
            "vendor/bin/rector process --dry-run --output-format=console"
        ],
        "fix-code-style": "vendor/bin/php-cs-fixer fix --config .php_cs --verbose --using-cache=no"
    }

Github Actions

You can now set up a github workflow using the actions we provide. See examples of all these at ./vendor/bristol-su/portal-code-style/examples/workflow.php

Commands

You can also run the following commands locally

composer run test: Run the entire testsuite composer run code-style: Dry run all our coding checks to make sure your code will pass the pipeline composer run fix-code-style: Fix any minor formatting issues automatically

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2021-02-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固