theseer / Autoload

A lightweight php namespace aware autoload generator and phar archive builder
Other
388 stars 47 forks source link

Warnings and Notices in ComposerIterator #90

Closed sebastianbergmann closed 4 years ago

sebastianbergmann commented 5 years ago
$ php --version
PHP 7.3.11 (cli) (built: Oct 22 2019 08:11:04) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.11, Copyright (c) 1998-2018 Zend Technologies
$ git clone https://github.com/sebastianbergmann/phpunit.git                                 
Cloning into 'phpunit'...
remote: Enumerating objects: 22, done.
remote: Counting objects: 100% (22/22), done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 97669 (delta 6), reused 7 (delta 1), pack-reused 97647
Receiving objects: 100% (97669/97669), 45.98 MiB | 10.23 MiB/s, done.
Resolving deltas: 100% (64681/64681), done.
$ cd phpunit
$ ./tools/phpab --static -o vendor/autoload.php composer.json
phpab 1.25.6 - Copyright (C) 2009 - 2019 by Arne Blankerts and Contributors

PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
PHP Warning:  file_get_contents(): Filename cannot be empty in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 64
Scanning directory /tmp/phpunit/src

Error while processing request:
 - Given basedir '' does not exist or is not a directory
$ ./tools/composer install 
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 28 installs, 0 updates, 0 removals
  - Installing phar-io/version (2.0.1): Loading from cache
  - Installing phar-io/manifest (1.0.3): Loading from cache
  - Installing phpunit/php-timer (2.1.2): Loading from cache
  - Installing sebastian/diff (3.0.2): Loading from cache
  - Installing sebastian/recursion-context (3.0.0): Loading from cache
  - Installing sebastian/object-reflector (1.1.1): Loading from cache
  - Installing sebastian/global-state (3.0.0): Loading from cache
  - Installing sebastian/object-enumerator (3.0.3): Loading from cache
  - Installing sebastian/resource-operations (2.0.1): Loading from cache
  - Installing sebastian/type (1.1.3): Loading from cache
  - Installing myclabs/deep-copy (1.9.3): Loading from cache
  - Installing doctrine/instantiator (1.2.0): Loading from cache
  - Installing sebastian/exporter (3.1.2): Loading from cache
  - Installing sebastian/comparator (3.0.2): Loading from cache
  - Installing symfony/polyfill-ctype (v1.12.0): Loading from cache
  - Installing webmozart/assert (1.5.0): Loading from cache
  - Installing phpdocumentor/reflection-common (2.0.0): Loading from cache
  - Installing phpdocumentor/type-resolver (1.0.1): Loading from cache
  - Installing phpdocumentor/reflection-docblock (4.3.2): Loading from cache
  - Installing phpspec/prophecy (1.9.0): Loading from cache
  - Installing theseer/tokenizer (1.1.3): Loading from cache
  - Installing sebastian/version (2.0.1): Loading from cache
  - Installing sebastian/environment (4.2.2): Loading from cache
  - Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache
  - Installing phpunit/php-text-template (1.2.1): Loading from cache
  - Installing phpunit/php-token-stream (3.1.1): Loading from cache
  - Installing phpunit/php-file-iterator (2.0.2): Loading from cache
  - Installing phpunit/php-code-coverage (7.0.8): Loading from cache
sebastian/global-state suggests installing ext-uopz (*)
phpunit/php-code-coverage suggests installing ext-xdebug (^2.7.2)
Writing lock file
Generating optimized autoload files
$ ./tools/phpab --static -o vendor/autoload.php composer.json
phpab 1.25.6 - Copyright (C) 2009 - 2019 by Arne Blankerts and Contributors

PHP Notice:  Array to string conversion in phar:///tmp/phpunit/tools/phpab/phpab/ComposerIterator.php on line 50
Scanning directory /tmp/phpunit/vendor/doctrine/instantiator/src/Doctrine/Instantiator
Scanning directory /tmp/phpunit/vendor/myclabs/deep-copy/src/DeepCopy
Scanning directory /tmp/phpunit/vendor/phar-io/version/src
Scanning directory /tmp/phpunit/vendor/phar-io/manifest/src
Scanning directory /tmp/phpunit/vendor/phpdocumentor/reflection-common/src
Scanning directory /tmp/phpunit/vendor/phpdocumentor/type-resolver/src
Scanning directory /tmp/phpunit/vendor/symfony/polyfill-ctype
Scanning directory /tmp/phpunit/vendor/webmozart/assert/src
Scanning directory /tmp/phpunit/vendor/sebastian/diff/src
Scanning directory /tmp/phpunit/vendor/sebastian/recursion-context/src
Scanning directory /tmp/phpunit/vendor/sebastian/exporter/src
Scanning directory /tmp/phpunit/vendor/sebastian/comparator/src
Scanning directory /tmp/phpunit/vendor/phpspec/prophecy/src/Prophecy
Scanning directory /tmp/phpunit/vendor/phpunit/php-file-iterator/src
Scanning directory /tmp/phpunit/vendor/phpunit/php-token-stream/src
Scanning directory /tmp/phpunit/vendor/phpunit/php-text-template/src
Scanning directory /tmp/phpunit/vendor/sebastian/code-unit-reverse-lookup/src
Scanning directory /tmp/phpunit/vendor/sebastian/environment/src
Scanning directory /tmp/phpunit/vendor/sebastian/version/src
Scanning directory /tmp/phpunit/vendor/theseer/tokenizer/src
Scanning directory /tmp/phpunit/vendor/phpunit/php-code-coverage/src
Scanning directory /tmp/phpunit/vendor/phpunit/php-timer/src
Scanning directory /tmp/phpunit/vendor/sebastian/object-reflector/src
Scanning directory /tmp/phpunit/vendor/sebastian/global-state/src
Scanning directory /tmp/phpunit/vendor/sebastian/object-enumerator/src
Scanning directory /tmp/phpunit/vendor/sebastian/resource-operations/src
Scanning directory /tmp/phpunit/vendor/sebastian/type/src
Scanning directory /tmp/phpunit/src

Autoload file vendor/autoload.php generated.