You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I wanted to install PHPLOC on a project, and it is suggested to use phive for the dependency handling. But installing PHPLOC via phive results in the following error:
$ phive install phploc
Phive 0.14.3 - Copyright (C) 2015-2020 by Arne Blankerts, Sebastian Heuer and Contributors
[ERROR] An error occurred while processing your request:
unlink(phive.xml): No such file or directory
#0 vendor/phar-io/filesystem/src/Filename.php(67)#1 unknown file(0): PharIo\Phive\Cli\Runner->errorHandler()#2 vendor/phar-io/filesystem/src/Filename.php(67): unlink()#3 src/services/resolver/PharIoAliasResolver.php(57): PharIo\FileSystem\Filename->delete()#4 src/services/resolver/AbstractRequestedPharResolver.php(22): PharIo\Phive\PharIoAliasResolver->resolve()#5 src/services/resolver/PharIoAliasResolver.php(33): PharIo\Phive\AbstractRequestedPharResolver->tryNext()#6 src/services/resolver/AbstractRequestedPharResolver.php(22): PharIo\Phive\PharIoAliasResolver->resolve()#7 src/services/resolver/GitlabAliasResolver.php(20): PharIo\Phive\AbstractRequestedPharResolver->tryNext()#8 src/services/resolver/AbstractRequestedPharResolver.php(22): PharIo\Phive\GitlabAliasResolver->resolve()#9 src/services/resolver/GithubAliasResolver.php(31): PharIo\Phive\AbstractRequestedPharResolver->tryNext()#10 src/services/resolver/AbstractRequestedPharResolver.php(22): PharIo\Phive\GithubAliasResolver->resolve()#11 src/services/resolver/PharIoAliasResolver.php(33): PharIo\Phive\AbstractRequestedPharResolver->tryNext()#12 src/services/resolver/AbstractRequestedPharResolver.php(22): PharIo\Phive\PharIoAliasResolver->resolve()#13 src/services/resolver/LocalAliasResolver.php(26): PharIo\Phive\AbstractRequestedPharResolver->tryNext()#14 src/services/resolver/RequestedPharResolverService.php(28): PharIo\Phive\LocalAliasResolver->resolve()#15 src/commands/install/InstallCommand.php(53): PharIo\Phive\RequestedPharResolverService->resolve()#16 src/commands/install/InstallCommand.php(42): PharIo\Phive\InstallCommand->resolveToRelease()#17 src/commands/install/InstallCommand.php(37): PharIo\Phive\InstallCommand->installRequestedPhar()#18 src/shared/cli/Runner.php(215): PharIo\Phive\InstallCommand->execute()#19 src/shared/cli/Runner.php(70): PharIo\Phive\Cli\Runner->execute()#20 (349): PharIo\Phive\Cli\Runner->run()#21 {main}
Environment: PHP 7.4.6 (on Linux 5.4.44-050444-generic)
Phive Version: 0.14.3
This should not have happened and is most likely a bug.
Please report it at https://github.com/phar-io/phive/issues, make sure you include
the full output of this error message. Thank you!
I don't know if I should be happy about finding that bug, but as a fellow developer I can appreciate every bug report one can.
Anyhow, thanks for the work!
For what it's worth: I updated phpstan and adjusted the config to work with the latest version. All the errors and warnings it reports are useless, false positives or plain wrong. For me, phpstan doesn't work or I'm using it wrong.
I'm considering to add psalm to CI sometime soon though.
Hello, I wanted to install PHPLOC on a project, and it is suggested to use phive for the dependency handling. But installing PHPLOC via
phive
results in the following error:Here's a list of enabled php modules:
$ php -m [PHP Modules] bcmath calendar Core ctype curl date dom exif FFI fileinfo filter ftp gettext hash iconv json libxml mbstring openssl pcntl pcre PDO Phar posix readline Reflection session shmop SimpleXML sockets sodium SPL standard sysvmsg sysvsem sysvshm tokenizer xdebug xml xmlreader xmlwriter xsl Zend OPcache zip zlib [Zend Modules] Xdebug Zend OPcache
Did I do something wrong? Or is it really a bug?
Thanks in advance
The text was updated successfully, but these errors were encountered: