承接 phpdevsr/rector-codeigniter4 相关项目开发

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

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

phpdevsr/rector-codeigniter4

最新稳定版本:1.0.0

Composer 安装命令:

composer require phpdevsr/rector-codeigniter4

包简介

Rector upgrades rules for Codeigniter4

README 文档

README

Tests Code Analysis Packagist Downloads Packagist Version

See available Codeigniter4 rules

Requirement

Minimum PHP 8.1

Install

This package is a Rector extension developed by the PHPDevsr based on Codeigniter4 Community. In set 4.5 required PHPStan, you needed create phpstan.neon.dist in root project.

Install the PHPDevsr\Rector\Codeigniter4 package as dependency:

composer require phpdevsr/rector-codeigniter4 --dev

Use Sets

To add a set to your config, use PHPDevsr\Rector\Codeigniter4\Set\CodeigniterSetList class and pick one of the constants:

<?php

declare(strict_types=1);

use Rector\Config\RectorConfig;
use PHPDevsr\Rector\Codeigniter4\Set\CodeigniterSetList;

return RectorConfig::configure()
    ->withSets([
        CodeigniterSetList::CODEIGNITER_45
    ]);

Learn Rector Faster

Rector is a tool that we develop and share for free, so anyone can save hundreds of hours on refactoring. But not everyone has time to understand Rector and AST complexity. You have 2 ways to speed this process up:

Both ways support us to and improve Rector in sustainable way by learning from practical projects.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-04-01