PHPackages                             grano22/code\_quality\_pack - 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. grano22/code\_quality\_pack

ActiveLibrary[Testing &amp; Quality](/categories/testing)

grano22/code\_quality\_pack
===========================

Code quality toolset to help better maintain your code

00PHP

Since Mar 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Grano22/phpstan-code-quality-pack)[ Packagist](https://packagist.org/packages/grano22/code_quality_pack)[ RSS](/packages/grano22-code-quality-pack/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Code Quality Check Pack
=======================

[](#code-quality-check-pack)

This package contains useful rules to support best practises in your codebase.

Actual roles in the package:

- Grano22\\CodeQualityPack\\ReasonRequiredInDeprecationRule - Checks if any deprecated annotation has no **reason**.

### Installation

[](#installation)

You can install the package via composer:

```
composer require --dev grano22/code_quality_pack
```

### Usage

[](#usage)

📂 phpstan.dist.neon

```
services:
    -
        class: Grano22\CodeQualityPack\ReasonRequiredInDeprecationRule
        arguments:
            - @PHPStan\PhpDocParser\Lexer\Lexer
            - @PHPStan\PhpDocParser\Parser\TypeParser
            - @PHPStan\PhpDocParser\Parser\ConstExprParser
        tags:
            - phpstan.rules.rule
```

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25087325?v=4)[Grano22](/maintainers/Grano22)[@Grano22](https://github.com/Grano22)

---

Top Contributors

[![aspimLuis](https://avatars.githubusercontent.com/u/109252018?v=4)](https://github.com/aspimLuis "aspimLuis (5 commits)")

### Embed Badge

![Health badge](/badges/grano22-code-quality-pack/health.svg)

```
[![Health](https://phpackages.com/badges/grano22-code-quality-pack/health.svg)](https://phpackages.com/packages/grano22-code-quality-pack)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14429.2M361](/packages/dms-phpunit-arraysubset-asserts)

PHPackages © 2026

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