guanguans/phpstan-rules

A set of phpstan/phpstan rules. - 一套 phpstan/phpstan 规则。

Fund package maintenance!
Sponsors

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 1

pkg:composer/guanguans/phpstan-rules

dev-main / 1.x-dev 2026-01-15 11:02 UTC

This package is auto-updated.

Last update: 2026-01-15 11:03:18 UTC


README

Note

A set of phpstan/phpstan rules. - 一套 phpstan/phpstan 规则。

tests php-cs-fixer codecov Latest Stable Version GitHub release (with filter) Total Downloads License

Requirement

  • PHP >= 7.4

Installation

composer require guanguans/phpstan-rules --dev --ansi -v

Usage

🧐 Rules Overview

In your rector configuration register rules

<?php

Composer scripts

composer checks:required
composer php-cs-fixer:fix
composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.