Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 573342

Summary: dev-php/phpcov bundles its dependencies
Product: Gentoo Linux Reporter: Michael Orlitzky <mjo>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: CONFIRMED ---    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 251464    

Description Michael Orlitzky gentoo-dev 2016-01-29 22:48:27 UTC
The phar that we download is just an executable archive containing bundled copies of phpcov's dependencies:

  $ wget https://phar.phpunit.de/phpcov.phar
  $ php -r '$phar = new Phar("phpcov.phar"); $phar->extractTo("./");'
  $ ls symfony/
  total 16K
  drwxr-xr-x 14 mjo mjo 4.0K 2016-01-29 17:45 console
  drwxr-xr-x  8 mjo mjo 4.0K 2016-01-29 17:45 finder
  drwxr-xr-x  2 mjo mjo 4.0K 2016-01-29 17:45 polyfill-mbstring
  drwxr-xr-x  3 mjo mjo 4.0K 2016-01-29 17:45 yaml
  $ ls phpunit/
  total 28K
  drwxr-xr-x 3 mjo mjo 4.0K 2016-01-29 17:45 php-code-coverage
  drwxr-xr-x 3 mjo mjo 4.0K 2016-01-29 17:45 php-file-iterator
  drwxr-xr-x 3 mjo mjo 4.0K 2016-01-29 17:45 php-text-template
  drwxr-xr-x 3 mjo mjo 4.0K 2016-01-29 17:45 php-timer
  drwxr-xr-x 3 mjo mjo 4.0K 2016-01-29 17:45 php-token-stream
  drwxr-xr-x 3 mjo mjo 4.0K 2016-01-29 17:45 phpunit
  drwxr-xr-x 3 mjo mjo 4.0K 2016-01-29 17:45 phpunit-mock-objects