Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 29, 2025

PHPStan type assertion files in /types directories should be excluded from distribution archives.

Changes

  • Add /types export-ignore to all 107 .gitattributes files in src/* directories

This standardizes the configuration across all packages in the monorepo. The /types directories contain PHPStan test files used for validating type inference during development. They serve no purpose in production releases and should be excluded from distribution archives created via git archive.

Original prompt

This section details on the original issue you should resolve

<issue_title>add '/types export-ignore' to 'src/*/.gitattributes'</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: huangdijia <8337659+huangdijia@users.noreply.github.com>
Copilot AI changed the title [WIP] Add '/types export-ignore' to 'src/*/.gitattributes' Add /types export-ignore to .gitattributes Oct 29, 2025
Copilot AI requested a review from huangdijia October 29, 2025 13:52
@huangdijia huangdijia changed the title Add /types export-ignore to .gitattributes Add /types export-ignore to .gitattributes Oct 29, 2025
@huangdijia
Copy link
Member

@copilot add to all .gitattributes in src/*

Co-authored-by: huangdijia <8337659+huangdijia@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Oct 29, 2025

@copilot add to all .gitattributes in src/*

Done! Added /types export-ignore to all 107 .gitattributes files in src/* directories. (cfb7f12)

Copilot AI changed the title Add /types export-ignore to .gitattributes Add /types export-ignore to all .gitattributes in src/* Oct 29, 2025
@huangdijia huangdijia marked this pull request as ready for review October 29, 2025 14:05
@limingxinleo limingxinleo merged commit afaf451 into master Oct 30, 2025
@limingxinleo limingxinleo deleted the copilot/add-types-export-ignore branch October 30, 2025 01:44
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.

add /types export-ignore to src/*/.gitattributes

3 participants