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

Fix composer lint: phpstan No error to ignore is reported on line 17. #258

Open
wants to merge 2 commits into
base: 2.5
Choose a base branch
from

Conversation

RafaelKr
Copy link

@RafaelKr RafaelKr commented Nov 14, 2024

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes sulu/sulu#7655
Related issues/PRs #issuenum
License MIT
Documentation PR -

What's in this PR?

We bump phpstan to ^1.12 and remove a @phpstan-ignore-next-line we don't require anymore since phpstan/phpstan#7685 ("Cast to (bool) on string|false !== false should end in non-empty-string") is fixed.

@alexander-schranz Please let me know if we need the bump of phpstan inside of the composer.json or if I should drop the commit and force-push, thanks!

To Do

  • Create a documentation PR
  • Create PR for sulu/sulu test skeleton

This includes a fix to issue phpstan/phpstan#7685 "Cast to (bool) on string|false !== false should end in non-empty-string"
@alexander-schranz
Copy link
Member

@RafaelKr Thx for the pull request, looks like I can not update your branch please make sure to rebase it to the latest version of 2.5 branch:

git remote add sulu [email protected]:sulu/skeleton.git
git fetch sulu
git rebase --interactive sulu/2.5

@RafaelKr
Copy link
Author

RafaelKr commented Nov 16, 2024

Hey @alexander-schranz, strange, the "Allow edits by maintainers" is set and also it seems my branch is already based on the latest 2.5 branch of the skeleton Repo (I named it upstream instead of sulu):

image

566732c is also what I see when going to https://github.com/sulu/skeleton/commits/2.5/

Edit:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants