Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from squizlabs:master #116

Merged
merged 41 commits into from
Dec 2, 2023
Merged

[pull] master from squizlabs:master #116

merged 41 commits into from
Dec 2, 2023

Conversation

pull[bot]
Copy link

@pull pull bot commented Jul 11, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

axlon and others added 21 commits November 21, 2022 14:29
After we change into the files directory, invocation of git blame with full path will end in fatal error.
…ion-comment

Fix PHP Fatal error in `Squiz.Commenting.FunctionComment`
Documentation for the following PSR2 sniffs:
* `PSR2.Files.ClosingTag`
* `PSR2.Methods.FunctionCallSignature`
* `PSR2.Methods.FunctionClosingBrace`
Ignore array unpacking when determining whether an array is a list- or dict-shaped.

Includes tests.

Fixes #3557
@pull pull bot added the ⤵️ pull label Jul 11, 2023
jrfnl and others added 8 commits July 11, 2023 21:53
Make InnerFunctionsSniff detect functions inside closures
Handle `@param` in docblock for variables passed by reference
Fix `Squiz.Commenting.FunctionComment.InvalidNoReturn` false positive when return type is `never`
... and update the version number in the Config class.
Fix gitblame to not use full path when `chdir`
jrfnl and others added 12 commits August 1, 2023 18:27
The filter names are case-sensitive (depending on OS), so the help texts should display the case which will be accepted on all OS-es.
…t of PHP/HTML (#3770)

Ignore HTML whitespace and PHP re-open tags when determining whether code should be flagged as non executable.
... causing a rogue "closing tag" token being inserted, which leads to problematic output when a fixer tries to manipulate the token.

Includes test via the sniff which led to discovery of the issue.
…ng-after

Auto-fix PEAR.Commenting.FunctionComment.SpacingAfter
@pull pull bot merged commit 7763e2e into rhorber:master Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants