承接 frosh/shopware-rector 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

frosh/shopware-rector

最新稳定版本:0.5.8

Composer 安装命令:

composer require frosh/shopware-rector

包简介

Shopware specific Rector

README 文档

README

This project extends Rector with multiple Rules for Shopware specific.

See available Shopware rules

Install

Make sure to install both frosh/shopware-rector as well as rector/rector.

composer req frosh/shopware-rector --dev

Use Sets

To add a set to your config, use Frosh\Rector\Set\ShopwareSetList class and pick one of constants:

use Rector\Config\RectorConfig;
use Frosh\Rector\Set\ShopwareSetList;

return RectorConfig::configure()
    ->withSets([
        ShopwareSetList::SHOPWARE_6_7_0,
    ]);

Use directly the config

# Clone this repo

composer install

# Dry Run
./vendor/bin/rector process --config config/shopware-6.7.0.php --autoload-file [SHOPWARE]/vendor/autoload.php [SHOPWARE]/custom/plugins/MyPlugin --dry-run

# Normal Run
./vendor/bin/rector process --config config/shopware-6.7.0.php --autoload-file [SHOPWARE]/vendor/autoload.php [SHOPWARE]/custom/plugins/MyPlugin

统计信息

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

GitHub 信息

  • Stars: 45
  • Watchers: 3
  • Forks: 18
  • 开发语言: PHP

其他信息

  • 授权协议: mit
  • 更新时间: 2022-05-15