承接 pluswerk/grumphp-typoscript-task 相关项目开发

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

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

pluswerk/grumphp-typoscript-task

Composer 安装命令:

composer require pluswerk/grumphp-typoscript-task

包简介

Connects the TypoScript linter from Martin Helmich with grumphp and adds some sniffer.

README 文档

README

Packagist Packagist Build Status Coverage Status Quality Score

grumphp-typoscript-task

GrumPHP task to lint TYPO3 CMS TypoScript files.

This package adds a TYPO3 CMS TypoScript file linter task to grumphp based on martin-helmich/typo3-typoscript-lint of Martin Helmich.

Quick guide

grumphp.yml

Basic inclusion in grumphp.yml:

parameters:
    tasks:
        typoscriptlint: ~ 
    extensions:
        - Pluswerk\TypoScriptLinter\ExtensionLoader

Composer

composer require --dev pluswerk/grumphp-typoscript-task

Configuration

typoscript linter

The linter can be configured in the grumphp.yml file in the same way as without grumphp see TypoScript Linter configuration

Example:

parameters:
  tasks:
    typoscriptlint:
      sniffs:
        - class: Indentation
          parameters:
            useSpaces: true
            indentPerLevel: 2
            indentConditions: true
        - class: DeadCode
  extensions:
    - Pluswerk\TypoScriptLinter\ExtensionLoader

triggered_by

The file extensions, which trigger the linter.

parameters:
  tasks:
    typoscriptlint:
      triggered_by:
        - 'typoscript'

ignore_patterns

Ignore file with grumphp ignore patterns.

parameters:
  tasks:
    typoscriptlint:
      ignore_patterns:
        - 'pattern'

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2019-11-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固