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

PHPStan: fix the build #825

Merged
merged 1 commit into from
Aug 27, 2024
Merged

PHPStan: fix the build #825

merged 1 commit into from
Aug 27, 2024

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Aug 27, 2024

The last few builds (well, the last three months of builds) were failing due to the below PHPStan error:

 ------ ---------------------------------
  Line   tests/RulesetTest.php
 ------ ---------------------------------
  146    Left side of && is always true.
 ------ ---------------------------------

Fixed now.

Note: the condition could possibly be removed, but I have a feeling I added it for a reason, so I left it in under the guise of "better safe than sorry".

The last few builds were failing due to the below PHPStan error:
```
 ------ ---------------------------------
  Line   tests/RulesetTest.php
 ------ ---------------------------------
  146    Left side of && is always true.
 ------ ---------------------------------
```

Fixed now.

Note: the condition could possibly be removed, but I have a feeling I added it for a reason, so I left it in under the guise of "better safe than sorry".
@jrfnl jrfnl added this to the 3.x Next milestone Aug 27, 2024
@jrfnl jrfnl requested a review from a team as a code owner August 27, 2024 15:50
@GaryJones GaryJones merged commit 8db56ec into develop Aug 27, 2024
40 checks passed
@GaryJones GaryJones deleted the feature/phpstan-fix branch August 27, 2024 15:58
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.

2 participants