temirkhan/phpstan-internal-rules

PHPStan rules to prevent prohibited usage of classes marked as @internal

0.1.0 2025-01-31 19:04 UTC

This package is auto-updated.

Last update: 2025-03-29 01:02:20 UTC


README

PHPStan rules to handle @internal tag, preventing prohibited usage of such classes

Usage

This is likely pretty much outdated since it was just a proof of concept.
You can give it a try by installing it via composer

composer require --dev temirkhan/phpstan-internal-rules

then add extension to your phpstan.neon.dist

includes:
  - vendor/temirkhan/phpstan-internal-rule/extension.neon