Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
/ CGL-TYPO3 Public archive

This contains the PHP_CodeSniffer rules for TYPO3 that we use.

Notifications You must be signed in to change notification settings

codappix/CGL-TYPO3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding Guideline for TYPO3

This standard is named CDXTYPO3 within PHP Code Sniffer.

Installation

You have to require the package via composer composer require codappix/cgl-typo3.

Afterwards, there are multiple ways to install the standard. We recommend to require dealerdirect/phpcodesniffer-composer-installer which handles the installation.

What does it do?

The goal of this package is to provide our TYPO3 coding guideline rules, which are based on CDXPHP, via composer. The package uses PHP Code Sniffer to sniff the configured files and show errors.

How to use

After installation, the standard is available as CDXTYPO3.

Current state

This is the initial version of this ruleset. We are currently using our PHP rules. Custom rules and sniffs will follow when needed.

This is a early version. More information can be taken from Github at current issues.

Credits

The sniffs were originally copied from TYPO3SniffPool which is not managed anymore.

About

This contains the PHP_CodeSniffer rules for TYPO3 that we use.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages