Skip to content

PHPStan: fix the build#825

Merged
GaryJones merged 1 commit into
developfrom
feature/phpstan-fix
Aug 27, 2024
Merged

PHPStan: fix the build#825
GaryJones merged 1 commit into
developfrom
feature/phpstan-fix

Conversation

@jrfnl

@jrfnl jrfnl commented Aug 27, 2024

Copy link
Copy Markdown
Collaborator

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
@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