Skip to content

Conversation

jvillafanez
Copy link
Member

Description

Phar wrapper won't be allowed by default. If needed, consider to enable it, do your thing, and disable it again; limiting the exposure to what is strictly needed.

Related Issue

  • Fixes <issue_link>

Motivation and Context

How Has This Been Tested?

Manually tested, weird things with ".phar" files don't happen.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@jvillafanez jvillafanez self-assigned this Sep 16, 2025
Copy link

update-docs bot commented Sep 16, 2025

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

This is needed because phpstan seems to require the phar wrapper to
work. Phpstan is currently bootstrapping the lib/kernel.php file, so we
can't disable the phar wrapper there.
Copy link

@jvillafanez jvillafanez mentioned this pull request Sep 17, 2025
11 tasks
@DeepDiver1975 DeepDiver1975 merged commit 9bf9194 into master Sep 18, 2025
6 checks passed
@jvillafanez jvillafanez deleted the disable_phar_wrapper branch September 18, 2025 10:04
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.

2 participants