shinepress / stub-divider
Tool for dividing stub files for static analysis
Installs: 1 165
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=8.1
- nikic/php-parser: ^5.5
- symfony/console: ^6.1
- symfony/filesystem: ^6.1
- symfony/finder: ^6.1
Requires (Dev)
- php-cs-fixer/shim: ^3.75
- phpstan/phpstan: ^2.1
- phpstan/phpstan-strict-rules: ^2.0
- shinepress/coding-standard: dev-main
This package is auto-updated.
Last update: 2025-06-05 16:08:28 UTC
README
Description
A tool for dividing up large stub files to speed up static analysis.
Installation
The recommendend installation method is with composer:
$ composer require shinepress/stub-divider
Usage
Point the script at the stub file you want to divide:
$ ./vendor/bin/divide-stubs ./path/to/my-stubfile.php
Then register the autoloader as a bootstrap file in your phpstan config:
parameters: bootstrapFiles: - ./my-stubfile/autoload.php