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

Add psalm and phpcs files to .gitattributes #1688

Merged
merged 2 commits into from
Jul 29, 2023
Merged

Add psalm and phpcs files to .gitattributes #1688

merged 2 commits into from
Jul 29, 2023

Conversation

VincentLanglet
Copy link
Contributor

Last one I have in mind @greg0ire

.gitattributes Outdated
@@ -3,5 +3,7 @@
.gitignore export-ignore
.travis.yml export-ignore
Copy link
Member

@greg0ire greg0ire Jul 29, 2023

Choose a reason for hiding this comment

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

While you're at it, I think you can remove this line.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done,

Also, this bundle download a lot of UPGRADE-*.md file.
Seems like all doctrine lib are not excluded which can be understood ; but shouldn't at least old files be removed ?

What about a PR which remove the UPGRADE-2.x or UPGRADE-1.x files where x is a non-anymore-supported version ?

Copy link
Member

Choose a reason for hiding this comment

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

all doctrine lib are not excluded which can be understood

I don't quite understand that bit…

Ignoring old UPGRADE files while generating the archive sounds good to me 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

all doctrine lib are not excluded which can be understood

I don't quite understand that bit…

My sentence is awful
I meant:
All doctrine lib are not excluding the Upgrade-* files, which "may" be understood like some developer will read them directly in the vendor (in the same way docs folders are not excluded too)

Ignoring old UPGRADE files while generating the archive sounds good to me 👍

Do you mean adding export-ignore for all the old UPGRADE file in the .gitattributes ?

When I said "What about a PR which remove the UPGRADE-2.x or UPGRADE-1.x files where x is a non-anymore-supported version ?", I thought about deleting those files from the doctrine repository. Because on the 2.10.x branch I don't need the UPGRADE-2.9 or UPGRADE-2.8 (etc) files ; juste the UPGRADE-2.10. And if someone need the UPGRADE-2.9 file it can still be found on the 2.9 branch. (Like we do for https://github.com/sonata-project/SonataAdminBundle)

@greg0ire greg0ire added this to the 2.10.2 milestone Jul 29, 2023
@ostrolucky ostrolucky merged commit 612b4cf into doctrine:2.10.x Jul 29, 2023
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants