You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Helper::determineBaseFile($path) is only capable of resolving files that are actually available in the system's file system. Since Phar allows to set internal alias names - in order to be used inside of Phar archives only - the real system path cannot be resolved any more.
Alias names either could be defined using
Phar::setAlias($alias) - persisted to Phar Manifest
Phar::mapPhar($alias) - only in-memory during runtime and executed in Phar's Stub section
Inside Phar archives Phar::running could be used, but this won't work "outside", e.g. in PharStreamWrapper or interceptors (http://php.net/manual/en/phar.running.php) - thus, not an option here.
The text was updated successfully, but these errors were encountered:
Based on
Description
Helper::determineBaseFile($path)
is only capable of resolving files that are actually available in the system's file system. Since Phar allows to set internal alias names - in order to be used inside of Phar archives only - the real system path cannot be resolved any more.Alias names either could be defined using
Phar::setAlias($alias)
- persisted to Phar ManifestPhar::mapPhar($alias)
- only in-memory during runtime and executed in Phar's Stub sectionInside Phar archives
Phar::running
could be used, but this won't work "outside", e.g. inPharStreamWrapper
or interceptors (http://php.net/manual/en/phar.running.php) - thus, not an option here.The text was updated successfully, but these errors were encountered: