8000 [HttpClient][Translation][Workflow] [Service] Exclude tests from classmaps by danog · Pull Request #46134 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[HttpClient][Translation][Workflow] [Service] Exclude tests from classmaps #46134

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

Closed
wants to merge 6 commits into from

Conversation

danog
Copy link
Contributor
@danog danog commented Apr 21, 2022
Q A
Branch? 6.1
Bug fix? yes
New feature? no
Deprecations? no

This excludes test directories from production classmaps.

@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 6.1 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 [Workflow] [HttpClient] [Service] [Translation] Exclude tests from classmaps [HttpClient][Translation][Workflow] [Service] Exclude tests from classmaps Apr 21, 2022
@carsonbot
Copy link

It looks like you unchecked the "Allow edits from maintainer" box. That is fine, but please note that if you have multiple commits, you'll need to squash your commits into one before this can be merged. Or, you can check the "Allow edits from maintainers" box and the maintainer can squash for you.

Cheers!

Carsonbot

@nicolas-grekas
Copy link
Member

Thank you @danog.

nicolas-grekas added a commit that referenced this pull request Apr 22, 2022
…sts from classmaps (danog)

This PR was squashed before being merged into the 6.1 branch.

Discussion
----------

[HttpClient][Translation][Workflow] [Service]  Exclude tests from classmaps

| Q             | A
| ------------- | ---
| Branch?       | 6.1
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no

This excludes test directories from production classmaps.

Commits
-------

c5880a2 [HttpClient][Translation][Workflow] [Service]  Exclude tests from classmaps
@GromNaN
Copy link
Member
GromNaN commented Apr 22, 2022

I think this is a breaking change for projects that use this classes and install dependencies with authoritative class maps, which is a good practice for performances.

@nicolas-grekas
Copy link
Member

Tests + authoritative class maps looks like a mismatch to me. I don't think this will affect anyone. Let's see if anyone reports it later on :)

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
0