pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/phpstan/phpstan/pull/14917

l-requests-be6017ec12798e73.css" /> Update Error Docs by phpstan-bot · Pull Request #14917 · phpstan/phpstan · GitHub
Skip to content

Update Error Docs - #14917

Open
phpstan-bot wants to merge 1 commit into
phpstan:2.2.xfrom
phpstan-bot:create-pull-request/patch-ur2jxlf
Open

Update Error Docs#14917
phpstan-bot wants to merge 1 commit into
phpstan:2.2.xfrom
phpstan-bot:create-pull-request/patch-ur2jxlf

Conversation

@phpstan-bot

Copy link
Copy Markdown
Contributor

The latest website/src/errorsIdentifiers.json update removed the parameter.void identifier.

Investigating the diff showed this was the only meaningful change — every other entry in the diff was just a source line-number shift caused by the PHP-Parser 5.8.0 upgrade, with no rule-class or identifier changes.

The parameter.void rule was removed from phpstan-src in commit c473981 ("Fix build after upgrading to PHP-Parser 5.8.0"). PHP-Parser 5.8.0 now rejects void used as a parameter type at parse time, so PHPStan no longer needs a dedicated rule/identifier for it.

Changes

  • Deleted website/errors/parameter.void.md, since the identifier no longer exists in errorsIdentifiers.json and is no longer produced by any rule.

After the change, the error docs are fully in sync with the identifier list: no identifiers are missing a .md file, and no orphaned .md files remain.

- Removed `website/errors/parameter.void.md` after the identifier was
  dropped from `errorsIdentifiers.json`
- The `parameter.void` rule was removed from phpstan-src (commit c473981,
  "Fix build after upgrading to PHP-Parser 5.8.0") because PHP-Parser
  5.8.0 now rejects `void` as a parameter type at parse time
- All other diff changes were only source line-number shifts, requiring
  no documentation updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy