PHPackages                             typo3-ci/typo3sniffpool - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. typo3-ci/typo3sniffpool

ActivePhpcodesniffer-standard[Testing &amp; Quality](/categories/testing)

typo3-ci/typo3sniffpool
=======================

This repository contains custom sniffs which are compatible with the PHP\_CodeSniffer. Understand this package as a sniff pool. It contains all custom sniffs for the TYPO3 project.

2.1.1(11y ago)2336.6k4GPL-2.0PHP &gt;=5.2.1

Since May 4Compare

[ Source](https://github.com/Konafets/TYPO3SniffPool)[ Packagist](https://packagist.org/packages/typo3-ci/typo3sniffpool)[ Docs](https://github.com/typo3-ci/TYPO3SniffPool)[ RSS](/packages/typo3-ci-typo3sniffpool/feed)WikiDiscussions Synced yesterday

READMEChangelog (10)Dependencies (3)Versions (12)Used By (4)

The TYPO3 Sniff Pool
====================

[](#the-typo3-sniff-pool)

[![TravisCI Build Status](https://camo.githubusercontent.com/9de72cc8a9d8a30ef87698508858027064df279959947b552a3431699af24385/68747470733a2f2f7472617669732d63692e6f72672f7479706f332d63692f5459504f33536e696666506f6f6c2e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/typo3-ci/TYPO3SniffPool)[![Latest Stable Version](https://camo.githubusercontent.com/f89d829a6e9614d6a9844922501591d3ddb4fe300e938c578f06ddb865ebabb5/68747470733a2f2f706f7365722e707567782e6f72672f7479706f332d63692f7479706f33736e696666706f6f6c2f762f737461626c652e737667)](https://packagist.org/packages/typo3-ci/typo3sniffpool)[![License](https://camo.githubusercontent.com/4a04ba48bd7a7d752be8afbde8ca125a7a875387fe4666187eac982543e6afd1/68747470733a2f2f706f7365722e707567782e6f72672f7479706f332d63692f7479706f33736e696666706f6f6c2f6c6963656e73652e737667)](https://packagist.org/packages/typo3-ci/typo3sniffpool)[![Monthly Downloads](https://camo.githubusercontent.com/6f046684f3e56c9e66b3ea3e08ebfb71d023f90cea4a5d5b8ef67030ad8b4be4/68747470733a2f2f706f7365722e707567782e6f72672f7479706f332d63692f7479706f33736e696666706f6f6c2f642f6d6f6e74686c792e706e67)](https://packagist.org/packages/typo3-ci/typo3sniffpool)[![Stories in Ready](https://camo.githubusercontent.com/8f27ff30420e494114bed14d21f7cad6b4dcfc7b29c027d25951c909de2ad4f1/68747470733a2f2f62616467652e776166666c652e696f2f7479706f332d63692f7479706f33736e696666706f6f6c2e706e673f6c6162656c3d7265616479267469746c653d5265616479)](http://waffle.io/typo3-ci/typo3sniffpool)

[![Flattr this git repo](https://camo.githubusercontent.com/7e3f46a36526479d701ef7f90a0f8c3ac2fbab3087446e2a9fceed75cd1ab802/687474703a2f2f6170692e666c617474722e636f6d2f627574746f6e2f666c617474722d62616467652d6c617267652e706e67)](https://flattr.com/submit/auto?user_id=stefano.kowalke&url=https://github.com/typo3-ci/TYPO3SniffPool&title=TYPO3SniffPool&language=php&tags=github&category=software)

Every big project has its own coding standards for syntax and formatting (Coding Guidelines / CGL). For example [Zend Framework](http://framework.zend.com/manual/en/coding-standard.html), [PEAR](http://pear.php.net/manual/en/standards.php), [Drupal](http://drupal.org/coding-standards), [Symfony2](http://symfony.com/doc/current/contributing/code/standards.html) and so on. [TYPO3 CMS](http://docs.typo3.org/typo3cms/CodingGuidelinesReference/) and [TYPO3 Flow / Neos](http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartV/CodingGuideLines/Index.html) as well.

With the [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) it is possible to detect violations from a defined set of rules (called sniffs) for PHP, JavaScript and CSS files.

This repository contains self developed sniffs based on the [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) for the [TYPO3 Project](http://typo3.org/) to check for the coding guidelines and detect violation. We call this repository the *TYPO3 Sniff Pool*, because it contains all sniffs we use in the separate coding standards like [TYPO3Flow](https://github.com/typo3-ci/TYPO3Flow) and [TYPO3CMS](https://github.com/typo3-ci/TYPO3CMS).

How to install
--------------

[](#how-to-install)

Since this standard is a dependency of [TYPO3CMS](https://github.com/typo3-ci/TYPO3CMS) and [TYPO3Flow](https://github.com/typo3-ci/TYPO3Flow) standard, you don't need to install this standard directly. It will automatically installed when you install one of the mentioned standards.

How to use
----------

[](#how-to-use)

Since it is an own standard it is possible to call it.

**This is not recommended! It will raise weird errors.**

We provide and suggest to use the separate standards who match the coding guidelines of [TYPO3CMS](https://github.com/typo3-ci/TYPO3CMS) and [TYPO3Flow](https://github.com/typo3-ci/TYPO3Flow).

Documentation
-------------

[](#documentation)

We collect the complete documentation of

- this repository
- the self developed sniffs
- how to install our custom standards
- how to contribute to this repository
- where you can find further information

in our [wiki](https://github.com/typo3-ci/TYPO3SniffPool/wiki).

Contribution
------------

[](#contribution)

**Contribution is already welcome!**

During the development of the PHP\_CodeSniffer rules many people take hands on and contributed to this project. Here is a list of all people who were involved in the development. If you are not listed here, but you had contributed something, don`t be angry. We are just humans ;)

- [Laura Thewalt](http://forge.typo3.org/users/4267) (Code / Documentation)
- [Julian Kleinhans](http://forge.typo3.org/users/47) (Code)
- [Bastian Waidelich](http://forge.typo3.org/users/61) (Documentation)
- [Christian Trabold](http://forge.typo3.org/users/599) (CI-Integration/ Documentation)
- [Tim Eilers](http://forge.typo3.org/users/20%3E) (Code / Documentation)
- and many more can be found at our [contributors page](https://github.com/typo3-ci/TYPO3SniffPool/graphs/contributors)

***Thank you! You are awesome!***

If you want to contribute now, we have collected a bunch of information how to contribute to this project in our [wiki](https://github.com/typo3-ci/TYPO3SniffPool/wiki#contribute). There you can find information about the used [branching model](https://github.com/typo3-ci/TYPO3SniffPool/wiki/Branching-model), how to execute [unit tests](https://github.com/typo3-ci/TYPO3SniffPool/wiki/Unit-tests) or about [TravisCI](https://github.com/typo3-ci/TYPO3SniffPool/wiki/TravisCI).

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 88.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~96 days

Recently: every ~11 days

Total

9

Last Release

4032d ago

Major Versions

0.0.6 → 1.0.0-alpha2013-11-08

1.0.1 → 2.0.02015-05-03

2.0.0 → 3.0.x-dev2015-05-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/b6aaf47df633cf9e260061e733e6cb82af4dabde0023bbcd2096dac330f41eb9?d=identicon)[Konafets](/maintainers/Konafets)

![](https://avatars.githubusercontent.com/u/320064?v=4)[Andy Grunwald](/maintainers/andygrunwald)[@andygrunwald](https://github.com/andygrunwald)

---

Top Contributors

[![andygrunwald](https://avatars.githubusercontent.com/u/320064?v=4)](https://github.com/andygrunwald "andygrunwald (64 commits)")[![Konafets](https://avatars.githubusercontent.com/u/363363?v=4)](https://github.com/Konafets "Konafets (4 commits)")[![derhansen](https://avatars.githubusercontent.com/u/2629896?v=4)](https://github.com/derhansen "derhansen (1 commits)")[![funkh](https://avatars.githubusercontent.com/u/5145822?v=4)](https://github.com/funkh "funkh (1 commits)")[![georgringer](https://avatars.githubusercontent.com/u/1905663?v=4)](https://github.com/georgringer "georgringer (1 commits)")[![wouter90](https://avatars.githubusercontent.com/u/1637330?v=4)](https://github.com/wouter90 "wouter90 (1 commits)")

---

Tags

standardsphpcscodesnifferquality assurancetypo3coding guidelines

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/typo3-ci-typo3sniffpool/health.svg)

```
[![Health](https://phpackages.com/badges/typo3-ci-typo3sniffpool/health.svg)](https://phpackages.com/packages/typo3-ci-typo3sniffpool)
```

###  Alternatives

[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

601170.6M2.3k](/packages/dealerdirect-phpcodesniffer-composer-installer)[wp-coding-standards/wpcs

PHP\_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

2.8k45.9M2.0k](/packages/wp-coding-standards-wpcs)[slevomat/coding-standard

Slevomat Coding Standard for PHP\_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

1.5k130.4M2.1k](/packages/slevomat-coding-standard)[phpcompatibility/phpcompatibility-wp

A ruleset for PHP\_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.

22132.9M712](/packages/phpcompatibility-phpcompatibility-wp)[phpcsstandards/phpcsextra

A collection of sniffs and standards for use with PHP\_CodeSniffer.

10327.7M61](/packages/phpcsstandards-phpcsextra)[acquia/coding-standards

PHP\_CodeSniffer rules (sniffs) for Acquia coding standards

204.9M33](/packages/acquia-coding-standards)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
