承接 a9f/lifter-recipes 相关项目开发

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

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

a9f/lifter-recipes

Composer 安装命令:

composer require a9f/lifter-recipes

包简介

README 文档

README

This is a collection of useful small upgrade steps, to make it easier to combine a larger upgrade.

Getting started

Simply add this package to your project:

$ composer require a9f/lifter-recipes

PHP Upgrades with Rector

Use \a9f\LifterRecipes\RectorPhpSteps to get a list of single-version upgrade steps for PHP:

<?php

use a9f\Lifter\Configuration\LifterConfig;
use a9f\LifterRecipes\Rector\PhpVersion;
use a9f\LifterRecipes\RectorPhpSteps;

return static function (LifterConfig $config) {
    // basic Lifter configuration goes here

    $config->withSteps([
        ...RectorPhpSteps::getVersionUpdateSteps(PhpVersion::PHP_74, PhpVersion::PHP_84),
    ]);
};

This will run all Rector set lists for all versions from PHP 7.4 to PHP 8.4 (= 7.4, 8.0, 8.1, 8.2, 8.3, 8.4).

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-10-09