mirror of
https://github.com/php/php-src.git
synced 2026-04-27 01:48:26 +02:00
95eeee9156
conversion is now split into 3 separate methods 1\) convertToZip\(\) convertToTar\(\) and convertToPhar\(\) exclusively change file format 2\) compress\(\) sets compression, accepting Phar::GZ, Phar::BZ2, or Phar::NONE 3\) convertToExecutable\(\) allows stub creation in tar/zip, convertToData\(\) prevents it all methods return either Phar or PharData objects, allowing fluent interface. only 1 test has been converted to the new format, but the API works