[TASK] Use typo3/phar-stream-wrapper package 77/58777/3
authorOliver Hader <oliver@typo3.org>
Sun, 26 Aug 2018 20:38:59 +0000 (22:38 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 30 Oct 2018 08:06:11 +0000 (09:06 +0100)
commit2b59e40d85716bb540881ec0e3368d82fc0d9e51
tree04b798d42e967cf3f2fc837c4d9766397273ddba
parentc7623d4b620475cff3e55fa3b231e26ba3005d1c
[TASK] Use typo3/phar-stream-wrapper package

PharStreamWrapper has been released as standalone package under
the MIT license: https://github.com/TYPO3/phar-stream-wrapper

Stream invocation is handled by the new composer package, previous
classes PharStreamWrapper and PharStreamWrapperException have been
removed from the TYPO3 core but are still kept in class alias maps
for compatibility reasons. Since the standalone package is now
independent from TYPO3 constraints, the TYPO3 specific logic to
intercept Phar invocations has been moved to the new class
PharStreamWrapperInterceptor.

`composer require typo3/phar-stream-wrapper:^3.0.1`

Related: #85984
Resolves: #86666
Releases: 8.7, 7.6
Change-Id: I724c4238d1a8184a8c7c908f16d71c06f87244d8
Reviewed-on: https://review.typo3.org/58777
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
composer.json
composer.lock
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Classes/IO/PharStreamWrapper.php [deleted file]
typo3/sysext/core/Classes/IO/PharStreamWrapperException.php [deleted file]
typo3/sysext/core/Classes/IO/PharStreamWrapperInterceptor.php [new file with mode: 0644]
typo3/sysext/core/Migrations/Code/ClassAliasMap.php [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/IO/PharStreamWrapperInterceptorTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/IO/PharStreamWrapperTest.php [deleted file]
typo3/sysext/core/composer.json