PHPackages                             ongr/ongr-strict-standard - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. ongr/ongr-strict-standard

Abandoned → [ongr/ongr-strict-standard](/?search=ongr%2Fongr-strict-standard)Library[PSR &amp; Standards](/categories/psr-standards)

ongr/ongr-strict-standard
=========================

Strict PHPCS standard for PSR-2 code based on Squiz standards

v2.1.2(10y ago)1358.4k↑566.7%14[21 issues](https://github.com/ongr-archive/ongr-strict-standard/issues)3MITPHPPHP &gt;=5.4

Since Nov 14Pushed 10y ago20 watchersCompare

[ Source](https://github.com/ongr-archive/ongr-strict-standard)[ Packagist](https://packagist.org/packages/ongr/ongr-strict-standard)[ RSS](/packages/ongr-ongr-strict-standard/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (16)Used By (3)

ONGR Strict Coding Standard
===========================

[](#ongr-strict-coding-standard)

[![https://travis-ci.org/ongr-io/ongr-strict-standard.svg?branch=master](https://camo.githubusercontent.com/b8716cb0820cfad13cfc723c0482022ba37fe5123a54e5283bbf771ac7f5032c/68747470733a2f2f7472617669732d63692e6f72672f6f6e67722d696f2f6f6e67722d7374726963742d7374616e646172642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ongr-io/ongr-strict-standard)[![](https://camo.githubusercontent.com/fae45f07330793f5e044f328b5725b38cfb330908bdf1b9f1fc3fb76fe88e33d/68747470733a2f2f706f7365722e707567782e6f72672f6f6e67722f6f6e67722d7374726963742d7374616e646172642f646f776e6c6f6164732e737667)](https://packagist.org/packages/ongr/ongr-strict-standard)[![](https://camo.githubusercontent.com/e5edb851c47b09c37425f39e36ecd43eba4ad2f4969d216ea1c1d1f49234e4b9/68747470733a2f2f706f7365722e707567782e6f72672f6f6e67722f6f6e67722d7374726963742d7374616e646172642f762f737461626c652e737667)](https://packagist.org/packages/ongr/ongr-strict-standard)[![](https://camo.githubusercontent.com/41187db5be98c30f109942d1258c39739fe021c2a437a8cc8cbe741356840187/68747470733a2f2f706f7365722e707567782e6f72672f6f6e67722f6f6e67722d7374726963742d7374616e646172642f762f756e737461626c652e737667)](https://packagist.org/packages/ongr/ongr-strict-standard)[![](https://camo.githubusercontent.com/319de1e99dd626070471ce80559de0756586ec31d1e31c94cf2d5d2010c9201c/68747470733a2f2f706f7365722e707567782e6f72672f6f6e67722f6f6e67722d7374726963742d7374616e646172642f6c6963656e73652e737667)](https://packagist.org/packages/ongr/ongr-strict-standard)This standard provides strict code style checking for whitespace, commenting style and PHPDoc. It is PSR-2 compatible, enforces good programming and documentation practices.

Example
-------

[](#example)

Ever wanted to standardize your team's code style? This is a **PSR-2 compliant code**:

```
