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

Internal error: Internal error: Class "SoapHeader" not found in file /home/user/env/xxx/vendor/xxx/stdlib/src/SoapHeader.php #8375

Closed
jonathan-hill-CCG opened this issue Nov 15, 2022 · 3 comments

Comments

@jonathan-hill-CCG
Copy link

0 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/vendor/composer/ClassLoader.php(571): include()
#1 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#2 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/src/Reflection/BetterReflection/SourceLocator/AutoloadFunctionsSourceLocator.php(41): Composer\Autoload\ClassLoader->loadClass()
#3 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/vendor/ondrejmirtes/better-reflection/src/SourceLocator/Type/AggregateSourceLocator.php(26):
PHPStan\Reflection\BetterReflection\SourceLocator\AutoloadFunctionsSourceLocator->locateIdentifier()
#4 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/vendor/ondrejmirtes/better-reflection/src/SourceLocator/Type/MemoizingSourceLocator.php(33):
PHPStan\BetterReflection\SourceLocator\Type\AggregateSourceLocator->locateIdentifier()
#5 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/vendor/ondrejmirtes/better-reflection/src/Reflector/DefaultReflector.php(32):
PHPStan\BetterReflection\SourceLocator\Type\MemoizingSourceLocator->locateIdentifier()
#6 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/src/Reflection/BetterReflection/Reflector/MemoizingReflector.php(45):
PHPStan\BetterReflection\Reflector\DefaultReflector->reflectClass()
#7 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/src/Reflection/BetterReflection/BetterReflectionProvider.php(163):
PHPStan\Reflection\BetterReflection\Reflector\MemoizingReflector->reflectClass()
#8 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/src/Reflection/ReflectionProvider/MemoizingReflectionProvider.php(43):
PHPStan\Reflection\BetterReflection\BetterReflectionProvider->getClass()
#9 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/src/Dependency/DependencyResolver.php(443): PHPStan\Reflection\ReflectionProvider\MemoizingReflectionProvider->getClass()
#10 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/src/Dependency/DependencyResolver.php(61): PHPStan\Dependency\DependencyResolver->addClassToDependencies()
#11 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/src/Analyser/FileAnalyser.php(158): PHPStan\Dependency\DependencyResolver->resolveDependencies()
#12 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/src/Analyser/NodeScopeResolver.php(412): PHPStan\Analyser\FileAnalyser->PHPStan\Analyser{closure}()
#13 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/src/Analyser/NodeScopeResolver.php(357): PHPStan\Analyser\NodeScopeResolver->processStmtNode()
#14 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/src/Analyser/NodeScopeResolver.php(568): PHPStan\Analyser\NodeScopeResolver->processStmtNodes()
#15 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/src/Analyser/NodeScopeResolver.php(327): PHPStan\Analyser\NodeScopeResolver->processStmtNode()
#16 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/src/Analyser/FileAnalyser.php(175): PHPStan\Analyser\NodeScopeResolver->processNodes()
#17 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/src/Command/WorkerCommand.php(147): PHPStan\Analyser\FileAnalyser->analyseFile()
#18 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php(97): PHPStan\Command\WorkerCommand->PHPStan\Command{closure}()
#19 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/vendor/clue/ndjson-react/src/Decoder.php(110): _PHPStan_582a9cb8b\Evenement\EventEmitter->emit()
#20 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php(97): _PHPStan_582a9cb8b\Clue\React\NDJson\Decoder->handleData()
#21 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/vendor/react/stream/src/Util.php(62): _PHPStan_582a9cb8b\Evenement\EventEmitter->emit()
#22 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php(97):
_PHPStan_582a9cb8b\React\Stream\Util::_PHPStan_582a9cb8b\React\Stream{closure}()
#23 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/vendor/react/stream/src/DuplexResourceStream.php(154): _PHPStan_582a9cb8b\Evenement\EventEmitter->emit()
#24 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/vendor/react/event-loop/src/StreamSelectLoop.php(201): _PHPStan_582a9cb8b\React\Stream\DuplexResourceStream->handleData()
#25 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/vendor/react/event-loop/src/StreamSelectLoop.php(173):
_PHPStan_582a9cb8b\React\EventLoop\StreamSelectLoop->waitForStreamActivity()
#26 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/src/Command/WorkerCommand.php(107): _PHPStan_582a9cb8b\React\EventLoop\StreamSelectLoop->run()
#27 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/vendor/symfony/console/Command/Command.php(259): PHPStan\Command\WorkerCommand->execute()
#28 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/vendor/symfony/console/Application.php(868): _PHPStan_582a9cb8b\Symfony\Component\Console\Command\Command->run()
#29 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/vendor/symfony/console/Application.php(259): _PHPStan_582a9cb8b\Symfony\Component\Console\Application->doRunCommand()
#30 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/vendor/symfony/console/Application.php(157): _PHPStan_582a9cb8b\Symfony\Component\Console\Application->doRun()
#31 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan(124): _PHPStan_582a9cb8b\Symfony\Component\Console\Application->run()
#32 phar:///home/user/.composer/vendor/phpstan/phpstan/phpstan.phar/bin/phpstan(125): _PHPStan_582a9cb8b{closure}()
#33 /home/user/.composer/vendor/phpstan/phpstan/phpstan(8): require('...')
#34 {main}

The code:

SoapHeader($namespace, $name, $data); } }
@mergeable
Copy link

mergeable bot commented Nov 15, 2022

Hi there! 👋

Looks like you opened an issue without following one of the issue templates:

Bug report 🐛 (open an issue)

If something isn't working as expected 🤔.

Feature request 🚀 (open an issue)

I have a suggestion (and may want to implement it 🙂)!

Support question ❓ (open a discussion)

I need some help with my code because PHPStan doesn't like it.


The current issue will be closed. This is a precaution to save maintainer's time, I hope you'll understand.

Sincerely, the bot 🤖

@mergeable mergeable bot closed this as completed Nov 15, 2022
@jonathan-hill-CCG jonathan-hill-CCG changed the title Internal error: Internal error: Class "SoapHeader" not found in file /home/user/env/cg-communication-service/vendor/channelgrabber/stdlib/src/SoapHeader.php Internal error: Internal error: Class "SoapHeader" not found in file /home/user/env/xxx/vendor/xxx/stdlib/src/SoapHeader.php Nov 15, 2022
@staabm
Copy link
Contributor

staabm commented Nov 15, 2022

Sounds like your php is missing the soap extension but the code beeing analyzed requires it

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants