Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[ErrorHandler] [DebugClassLoader] Do not check Phake mocks classes #41776

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 1 commit into from
Jun 22, 2021
Merged

[ErrorHandler] [DebugClassLoader] Do not check Phake mocks classes #41776

merged 1 commit into from
Jun 22, 2021

Conversation

adoy
Copy link
Contributor

@adoy adoy commented Jun 21, 2021

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Phake Issue #300
License MIT
Doc PR -

Similar issue as #38373 but with Phake mocking framework

@carsonbot
Copy link

Hey!

I see that this is your first PR. That is great! Welcome!

Symfony has a contribution guide which I suggest you to read.

In short:

  • Always add tests
  • Keep backward compatibility (see https://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (see https://symfony.com/releases)
  • Features and deprecations must be submitted against the 5.4 branch.

Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change.

When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

@carsonbot carsonbot changed the title [ErrorHandler][DebugClassLoader] Do not check Phake mocks classes [ErrorHandler] [DebugClassLoader] Do not check Phake mocks classes Jun 21, 2021
@adoy
Copy link
Contributor Author

adoy commented Jun 21, 2021

Psalm is failing because the class Phake\IMock doesn't exists. I could add phake/phake to the require-dev but not sure if this is really a good idea since it's not used anywhere else.

@stof
Copy link
Member

stof commented Jun 22, 2021

Psalm is failing because the class Phake\IMock doesn't exists. I could add phake/phake to the require-dev but not sure if this is really a good idea since it's not used anywhere else.

not needed. We use the existing codebase as a psalm baseline, so this won't bother next changes

@derrabus
Copy link
Member

Thank you @adoy.

@derrabus derrabus merged commit 8391e0b into symfony:4.4 Jun 22, 2021
This was referenced Jun 30, 2021
@adoy adoy deleted the error-handler-debug-class-loader-ignore-phake-classes branch June 30, 2021 11:31
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.

5 participants