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
{{ message }}
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.
Hello, i'm getting following error when i try to run
phpstan analyse
:But i didn't find "ext-mbstring" or something like that in your composer.json.
nedir@DESKTOP-1RCLOPG:/mnt/c/Users/tekin/PhpstormProjects/bb-edijet$ php8.0 vendor/bin/phpstan analyse src/ PHP Fatal error: Uncaught Error: Call to undefined function mb_strlen() in phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/hoa/compiler/Llk/Lexer.php:203 Stack trace: #0 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/hoa/compiler/Llk/Lexer.php(154): Hoa\Compiler\Llk\Lexer->matchLexeme() #1 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/hoa/compiler/Llk/Lexer.php(127): Hoa\Compiler\Llk\Lexer->nextToken() #2 [internal function]: Hoa\Compiler\Llk\Lexer->lexMe() #3 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/hoa/iterator/Lookahead.php(132): Generator->rewind() #4 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/hoa/compiler/Llk/Rule/Analyzer.php(117): Hoa\Iterator\Lookahead->rewind() #5 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/hoa/compiler/Llk/Llk.php(77): Hoa\Compiler\Llk\Rule\Analyzer->analyzeRules() #6 /tmp/phpstan/cache/nette.configurator/Container_28519d79ab.php(4755): Hoa\Compiler\Llk\Llk::load() #7 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(157): Container_28519d79ab->createServiceRegexParser() #8 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(90): _HumbugBoxfac515c46e83\Nette\DI\Container->createService() #9 /tmp/phpstan/cache/nette.configurator/Container_28519d79ab.php(3032): _HumbugBoxfac515c46e83\Nette\DI\Container->getService() #10 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(157): Container_28519d79ab->createService034() #11 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(90): _HumbugBoxfac515c46e83\Nette\DI\Container->createService() #12 /tmp/phpstan/cache/nette.configurator/Container_28519d79ab.php(2893): _HumbugBoxfac515c46e83\Nette\DI\Container->getService() #13 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(157): Container_28519d79ab->createService025() #14 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(90): _HumbugBoxfac515c46e83\Nette\DI\Container->createService() #15 /tmp/phpstan/cache/nette.configurator/Container_28519d79ab.php(2995): _HumbugBoxfac515c46e83\Nette\DI\Container->getService() #16 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(157): Container_28519d79ab->createService031() #17 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(90): _HumbugBoxfac515c46e83\Nette\DI\Container->createService() #18 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(177): _HumbugBoxfac515c46e83\Nette\DI\Container->getService() #19 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/src/DependencyInjection/Nette/NetteContainer.php(36): _HumbugBoxfac515c46e83\Nette\DI\Container->getByType() #20 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/src/DependencyInjection/MemoizingContainer.php(37): PHPStan\DependencyInjection\Nette\NetteContainer->getByType() #21 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/src/Command/AnalyseCommand.php(151): PHPStan\DependencyInjection\MemoizingContainer->getByType() #22 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/symfony/console/Command/Command.php(228): PHPStan\Command\AnalyseCommand->execute() #23 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/symfony/console/Application.php(856): _HumbugBoxfac515c46e83\Symfony\Component\Console\Command\Command->run() #24 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/symfony/console/Application.php(237): _HumbugBoxfac515c46e83\Symfony\Component\Console\Application->doRunCommand() #25 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/symfony/console/Application.php(138): _HumbugBoxfac515c46e83\Symfony\Component\Console\Application->doRun() #26 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan(76): _HumbugBoxfac515c46e83\Symfony\Component\Console\Application->run() #27 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan(77): _HumbugBoxfac515c46e83\{closure}() #28 /mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan(8): require('...') #29 {main} thrown in phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/hoa/compiler/Llk/Lexer.php on line 203 Fatal error: Uncaught Error: Call to undefined function mb_strlen() in phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/hoa/compiler/Llk/Lexer.php:203 Stack trace: #0 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/hoa/compiler/Llk/Lexer.php(154): Hoa\Compiler\Llk\Lexer->matchLexeme() #1 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/hoa/compiler/Llk/Lexer.php(127): Hoa\Compiler\Llk\Lexer->nextToken() #2 [internal function]: Hoa\Compiler\Llk\Lexer->lexMe() #3 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/hoa/iterator/Lookahead.php(132): Generator->rewind() #4 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/hoa/compiler/Llk/Rule/Analyzer.php(117): Hoa\Iterator\Lookahead->rewind() #5 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/hoa/compiler/Llk/Llk.php(77): Hoa\Compiler\Llk\Rule\Analyzer->analyzeRules() #6 /tmp/phpstan/cache/nette.configurator/Container_28519d79ab.php(4755): Hoa\Compiler\Llk\Llk::load() #7 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(157): Container_28519d79ab->createServiceRegexParser() #8 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(90): _HumbugBoxfac515c46e83\Nette\DI\Container->createService() #9 /tmp/phpstan/cache/nette.configurator/Container_28519d79ab.php(3032): _HumbugBoxfac515c46e83\Nette\DI\Container->getService() #10 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(157): Container_28519d79ab->createService034() #11 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(90): _HumbugBoxfac515c46e83\Nette\DI\Container->createService() #12 /tmp/phpstan/cache/nette.configurator/Container_28519d79ab.php(2893): _HumbugBoxfac515c46e83\Nette\DI\Container->getService() #13 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(157): Container_28519d79ab->createService025() #14 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(90): _HumbugBoxfac515c46e83\Nette\DI\Container->createService() #15 /tmp/phpstan/cache/nette.configurator/Container_28519d79ab.php(2995): _HumbugBoxfac515c46e83\Nette\DI\Container->getService() #16 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(157): Container_28519d79ab->createService031() #17 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(90): _HumbugBoxfac515c46e83\Nette\DI\Container->createService() #18 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/nette/di/src/DI/Container.php(177): _HumbugBoxfac515c46e83\Nette\DI\Container->getService() #19 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/src/DependencyInjection/Nette/NetteContainer.php(36): _HumbugBoxfac515c46e83\Nette\DI\Container->getByType() #20 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/src/DependencyInjection/MemoizingContainer.php(37): PHPStan\DependencyInjection\Nette\NetteContainer->getByType() #21 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/src/Command/AnalyseCommand.php(151): PHPStan\DependencyInjection\MemoizingContainer->getByType() #22 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/symfony/console/Command/Command.php(228): PHPStan\Command\AnalyseCommand->execute() #23 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/symfony/console/Application.php(856): _HumbugBoxfac515c46e83\Symfony\Component\Console\Command\Command->run() #24 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/symfony/console/Application.php(237): _HumbugBoxfac515c46e83\Symfony\Component\Console\Application->doRunCommand() #25 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/symfony/console/Application.php(138): _HumbugBoxfac515c46e83\Symfony\Component\Console\Application->doRun() #26 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan(76): _HumbugBoxfac515c46e83\Symfony\Component\Console\Application->run() #27 phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan(77): _HumbugBoxfac515c46e83\{closure}() #28 /mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan(8): require('...') #29 {main} thrown in phar:///mnt/c/Users/tekin/PhpstormProjects/bb-edijet/vendor/phpstan/phpstan/phpstan.phar/vendor/hoa/compiler/Llk/Lexer.php on line 203
The text was updated successfully, but these errors were encountered: