lychee-org / phpstan-lychee
Set of rules for all Lychee related php repo
Installs: 878
Dependents: 3
Suggesters: 0
Security: 0
Stars: 1
Watchers: 7
Forks: 1
Open Issues: 2
pkg:composer/lychee-org/phpstan-lychee
Requires
- phpstan/phpstan: ^2.1.22
- phpstan/phpstan-deprecation-rules: ^2.0.1
- phpstan/phpstan-strict-rules: ^2.0.3
- slam/phpstan-extensions: ^6.6
- symplify/phpstan-rules: ^14.4
- thecodingmachine/phpstan-safe-rule: ^1.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.72
- php-parallel-lint/php-parallel-lint: ^1.4
- squizlabs/php_codesniffer: ^3.11.3
- dev-master
- 2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-dependabot/composer/development-dependencies-cfca17e56a
- dev-dependabot/composer/production-dependencies-e1380cbf96
- dev-dependabot/composer/symfony/process-8.0.5
- dev-dependabot/composer/development-dependencies-ace92a6a73
- dev-dependabot/composer/production-dependencies-133d32c880
This package is auto-updated.
Last update: 2026-02-17 09:25:14 UTC
README
PHPStan focuses on finding bugs in your code. But in PHP there's a lot of leeway in how stuff can be written. This repository contains a set of rules that are applied on each LycheeOrg PHP repository.
This includes:
- phpstan/phpstan — obviously...
- phpstan/phpstan-deprecation-rules — avoiding any deprecation
- phpstan/phpstan-strict-rules — strict and opinionated rules
- thecodingmachine/phpstan-safe-rule — Ensure the use of
Safecode - nunomaduro/larastan — stubs for Laravel
- slam/phpstan-extensions — No unused variables
- symplify/phpstan-rules — A lot of stricter rules with regard to coding standards.
Installation
To use this extension, require it in Composer:
composer require --dev lychee-org/phpstan-lychee