Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add file mapping to phpstan#4685

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@EdwinHuijsing
Copy link
Contributor

This should solve issue#4372 "phpstan filename mappings not respected when running via docker".

Vim 8 caused a problem in one test, because the error vim returns is not the same as the other three.

@EdwinHuijsing
Copy link
ContributorAuthor

I just rerun the docker test./run-tests -q and no problems where reported.
"continuous-integration/appveyor/pr" runs on windows, looks like there is the cause of the test problem.
Will the patch work on windows? If the mapping is filled correct, i see no reason why it would give an problem

Any ideas who to fixes this? I can't test on windows (i don't have windows), so i am out of options.
I need a way to give the buffer a fixed full path, i have search before but i can't find way to give the buffer a fixed full path.

Regards,
Edwin

@EdwinHuijsing
Copy link
ContributorAuthor

Yesterday while working on an other linter, i found that we do not need the filename.
So i need to review the changes i did, locally i now have an version running that only
added two lines and changes one line.

More testing is needed before i can push the changes

Regards,
Edwin

We only needed to refactor the processing loop.No extra test are needed.
@EdwinHuijsingEdwinHuijsing changed the titleAdd file mapping to php stanAdd file mapping to phpstanFeb 2, 2024
Copy link
Contributor

@hsansonhsanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM.

@hsansonhsanson merged commitf38a802 intodense-analysis:masterFeb 22, 2024
cyyever pushed a commit to cyyever/ale that referenced this pull requestMar 24, 2025
* PHPStan is now working with filename-mappingSee help ale-lint-other-machines for more info about filename-mapping.* Add two tests to show and test what is expected* Missed this update while creating previous commit* Simplified the updateWe only needed to refactor the processing loop.No extra test are needed.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@hsansonhsansonhsanson approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@EdwinHuijsing@hsanson

[8]ページ先頭

©2009-2025 Movatter.jp