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

help me solve this, i used codeigniter4 framework #453

Closed
yusufsenna opened this issue Mar 11, 2021 · 1 comment
Closed

help me solve this, i used codeigniter4 framework #453

yusufsenna opened this issue Mar 11, 2021 · 1 comment

Comments

@yusufsenna
Copy link

yusufsenna commented Mar 11, 2021

$ phpmetrics --report-html=C:/xampp/htdocs/spmi/HTML-REPORT/myreport.html C:/xampp/htdocs/spmi
Executing system analyzes...

Executing composer analyzes, requesting https://packagist.org...PHP Fatal error: Uncaught UnexpectedValueException: RecursiveDirectoryIterator::__construct(./\AppData\Local\ElevatedDiagnostics,./\AppData\Local\ElevatedDiagnostics): Access is denied. (code: 5) in C:\Users\win 10\AppData\Roaming\Composer\vendor\phpmetrics\phpmetrics\src\Hal\Component\File\Finder.php:88
Stack trace:
#0 [internal function]: RecursiveDirectoryIterator->__construct('./\\AppData\\Loca...', 0)
#1 [internal function]: RecursiveDirectoryIterator->getChildren()
#2 C:\Users\win 10\AppData\Roaming\Composer\vendor\phpmetrics\phpmetrics\src\Hal\Component\File\Finder.php(88): FilterIterator->next()
#3 C:\Users\win 10\AppData\Roaming\Composer\vendor\phpmetrics\phpmetrics\src\Hal\Metric\System\Packages\Composer\Composer.php(76): Hal\Component\File\Finder->fetch(Array)
#4 C:\Users\win 10\AppData\Roaming\Composer\vendor\phpmetrics\phpmetrics\src\Hal\Metric\System\Packages\Composer\Composer.php(39): Hal\Metric\System\Packages\Composer\Composer->getComposerJsonRequirements()
#5 C:\Users\win 10\AppData\Roaming\Composer\vendor\p in C:\Users\win 10\AppData\Roaming\Composer\vendor\phpmetrics\phpmetrics\src\Hal\Component\File\Finder.php on line 88

Fatal error: Uncaught UnexpectedValueException: RecursiveDirectoryIterator::__construct(./\AppData\Local\ElevatedDiagnostics,./\AppData\Local\ElevatedDiagnostics): Access is denied. (code: 5) in C:\Users\win 10\AppData\Roaming\Composer\vendor\phpmetrics\phpmetrics\src\Hal\Component\File\Finder.php:88
Stack trace:
#0 [internal function]: RecursiveDirectoryIterator->__construct('./\\AppData\\Loca...', 0)
#1 [internal function]: RecursiveDirectoryIterator->getChildren()
#2 C:\Users\win 10\AppData\Roaming\Composer\vendor\phpmetrics\phpmetrics\src\Hal\Component\File\Finder.php(88): FilterIterator->next()
#3 C:\Users\win 10\AppData\Roaming\Composer\vendor\phpmetrics\phpmetrics\src\Hal\Metric\System\Packages\Composer\Composer.php(76): Hal\Component\File\Finder->fetch(Array)
#4 C:\Users\win 10\AppData\Roaming\Composer\vendor\phpmetrics\phpmetrics\src\Hal\Metric\System\Packages\Composer\Composer.php(39): Hal\Metric\System\Packages\Composer\Composer->getComposerJsonRequirements()
#5 C:\Users\win 10\AppData\Roaming\Composer\vendor\p in C:\Users\win 10\AppData\Roaming\Composer\vendor\phpmetrics\phpmetrics\src\Hal\Component\File\Finder.php on line 88

@yusufsenna yusufsenna changed the title how can I solve this?, i used codeigniter4 framework help me solve this, i used codeigniter4 framework Mar 15, 2021
@Halleck45
Copy link
Collaborator

Hello,

you've probably no permission to read the directory you're trying to analyse.

We cannot fix this issue, you should fix your local permissions.

Thanks

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