generator icon indicating copy to clipboard operation
generator copied to clipboard

Generate stubs from any PHP code for IDE completion and static analysis.

Results 10 generator issues
Sort by recently updated
recently updated
newest added

Based on the idea that was voiced in https://github.com/szepeviktor/phpstan-wordpress/issues/99#issuecomment-1112996660 It should be safe to not include private constants/properties/methods of classes. And if the class is final, protected ones can be...

The generator uses [`ContainerInterface`](https://github.com/php-fig/container/blob/master/src/ContainerInterface.php) and it excludes loaded interfaces https://github.com/php-stubs/generator/blob/master/src/NodeVisitor.php#L352 so it won't be included in the output. Added in https://github.com/php-stubs/generator/commit/7cbedd8957b7e82eb6e2df9b096d31b760199773 @johnbillion Do you see a solution/work-around?

https://github.com/php-stubs/generator/blob/master/src/StubsGenerator.php#L127

bug

💣 Do not do this. Install nikic/php-parser v4.11.0!

### Changes - Loosen parent check from `Class_` to `ClassLike` to include `Traits`, `Interfaces`, and `Enums`. - Remove protected nodes, regardless if the class is final or not. - Adjust...

The following dependencies have new major versions available (^5.0 and ^7.0 respectively), but they cannot be updated because they're locked by this package. ```json "require": { "nikic/php-parser": "^4.10", "symfony/console": "^5.1...

Currently, the stub generator creates a single file for the entire codebase, which becomes inefficient for larger projects. I request a feature that automatically splits the stub generation into multiple...

Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 4 to 5 Release notes Sourced from actions/checkout's releases. v5.0.0 What's Changed Update actions checkout to use node 24...

dependencies
github_actions