Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No output after php warning #612

Open
gemal opened this issue Jan 15, 2024 · 1 comment
Open

No output after php warning #612

gemal opened this issue Jan 15, 2024 · 1 comment

Comments

@gemal
Copy link

gemal commented Jan 15, 2024

Describe the bug

I get these warnings and the nothing happens. It just keeps on runinng for multiple hours until I stop the command

PHP Warning:  file_get_contents(\lib/cakephp/cakephp/lib\Cake\Console): failed to open stream: Permission denied in phar:///composer-unused.phar/vendor/composer-unused/symbol-parser/src/File/FileContentProvider.php on line 18
PHP Warning:  file_get_contents(\lib/cakephp/cakephp/lib\Cake\Model): failed to open stream: Permission denied in phar:///composer-unused.phar/vendor/composer-unused/symbol-parser/src/File/FileContentProvider.php on line 18
PHP Warning:  file_get_contents(\lib/cakephp/cakephp/lib\Cake\Routing\Filter): failed to open stream: Permission denied in phar:///composer-unused.phar/vendor/composer-unused/symbol-parser/src/File/FileContentProvider.php on line 18
PHP Warning:  file_get_contents(\lib/cakephp/cakephp/lib\Cake\Routing\Filter): failed to open stream: Permission denied in phar:///composer-unused.phar/vendor/composer-unused/symbol-parser/src/File/FileContentProvider.php on line 18

Additional information

If you encounter environment problems, such as memory limit, provide some information
about your php -i
PHP Version => 7.4.33
composer-unused 0.8.11

If you encounter a false-positive unused packages give some debug information:

composer-unused debug:consumed-symbols ``` ```
composer-unused debug:defined-symbols [package] ``` ```

Box Requirements Checker

> Using PHP 7.4.33
> PHP is using the following php.ini file:
  \php\php.ini

> Checking Box requirements:
  ✔ The application requires the version "^7.4 || ^8.0" or greater.
  ✔ The application requires the extension "json".
  ✔ The package "nikic/php-parser" requires the extension "tokenizer".


 [OK] Your system is ready to run the application.

how can I debug more?

@icanhazstring
Copy link
Member

Hi. I guess you are using any cakephp dependency in your application?

Is this open source so I can take a look. If not, can you prepare a reproducible repository which has the minimum required packages needed to replicate this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants