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

Smaller metadata files #60

Merged
merged 2 commits into from
Apr 29, 2024
Merged

Smaller metadata files #60

merged 2 commits into from
Apr 29, 2024

Conversation

giggsey
Copy link
Owner

@giggsey giggsey commented Apr 29, 2024

  • Use symfony/var-exporter to generate better PHP
  • Skip some booleans that match their default value
  • Rename some properties to reduce string size
  • Change METADATA-VERSION.txt to METADATA-VERSION.php
  • Possibly 100KB smaller with raw PHP files

giggsey added 2 commits April 29, 2024 17:07
 - Use symfony/var-exporter to generate better PHP
 - Skip some booleans that match their default value
 - Rename some properties to reduce string size
Prevents people loading the txt file in the vendor directory to see which version of the library is in use.
@giggsey giggsey merged commit 49f59f6 into main Apr 29, 2024
9 checks passed
@giggsey giggsey deleted the smaller-metadata branch April 29, 2024 16:38
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.

1 participant