Skip to content

Add and address PHPStan strict rules #1006

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

Merged
merged 4 commits into from
Jun 16, 2025
Merged

Add and address PHPStan strict rules #1006

merged 4 commits into from
Jun 16, 2025

Conversation

jeromegamez
Copy link
Member

:octocat:

While refactoring the Auth class, I wanted to add a method to get the
first user record of an `/accounts:lookUp` API call. I noticed that
there already was a `getUserRecordFromResponse()` method, but it was
related to responses after calls to other API endpoints.

Renaming it to `getUserRecordFromResponseAfterUserUpdate()` makes the
intent clearer.
Copy link

codecov bot commented Jun 16, 2025

Codecov Report

Attention: Patch coverage is 80.20833% with 38 lines in your changes missing coverage. Please review.

Project coverage is 71.60%. Comparing base (3f74dcd) to head (c0604f7).
Report is 4 commits behind head on 7.x.

❗ There is a different number of reports uploaded between BASE (3f74dcd) and HEAD (c0604f7). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (3f74dcd) HEAD (c0604f7)
integration 1 0
Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##                7.x    #1006       +/-   ##
=============================================
- Coverage     90.05%   71.60%   -18.45%     
- Complexity     1446     1455        +9     
=============================================
  Files           140      140               
  Lines          4203     4258       +55     
=============================================
- Hits           3785     3049      -736     
- Misses          418     1209      +791     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jeromegamez
Copy link
Member Author

Failing tests are flaky :/

@jeromegamez jeromegamez merged commit aa7ceb2 into 7.x Jun 16, 2025
12 of 14 checks passed
@jeromegamez jeromegamez deleted the phpstan-strict-rules branch June 16, 2025 10:32
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