Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

codappix/CGL-PHP

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Coding Guideline for PHP

Installation

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

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 PHP cgl rules, which are based on PSR-12, via composer. The package uses PHP_CodeSniffer to sniff the configured PHP files and show errors.

How to use

After installation, the standard is available as CDXPHP.

Current state

This is the initial version of this ruleset. We are currently only using the PSR-12 rules. Custom rules and sniffs will follow when needed.

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

About

This contains the PHP_CodeSniffer rules for php that we use.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.