Intl polyfill not installed
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 28
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
See https://github.com/symfony/symfony/issues/42089 and https://github.com/phpro/soap-client/pull/383 for context:
PHP Fatal error: Uncaught Error: Call to undefined function normalizer_is_normalized() in phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/vendor/symfony/string/UnicodeString.php:35
Stack trace:
#0 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/vendor/symfony/console/Helper/Helper.php(56): _HumbugBox9b65161bc655\Symfony\Component\String\UnicodeString->__construct()
#1 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/vendor/symfony/console/Helper/Helper.php(122): _HumbugBox9b65161bc655\Symfony\Component\Console\Helper\Helper::width()
#2 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/vendor/symfony/console/Style/SymfonyStyle.php(69): _HumbugBox9b65161bc655\Symfony\Component\Console\Helper\Helper::strlenWithoutDecoration()
#3 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/src/Runner/Middleware/GroupByPriorityMiddleware.php(30): _HumbugBox9b65161bc655\Symfony\Component\Console\Style\SymfonyStyle->title()
#4 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/src/Runner/MiddlewareStack.php(42): GrumPHP\Runner\Middleware\GroupByPriorityMiddleware->handle()
#5 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/src/Runner/Middleware/EventDispatchingRunnerMiddleware.php(26): GrumPHP\Runner\MiddlewareStack::GrumPHP\Runner\{closure}()
#6 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/src/Runner/MiddlewareStack.php(42): GrumPHP\Runner\Middleware\EventDispatchingRunnerMiddleware->handle()
#7 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/src/Runner/Middleware/ReportingRunnerMiddleware.php(22): GrumPHP\Runner\MiddlewareStack::GrumPHP\Runner\{closure}()
#8 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/src/Runner/MiddlewareStack.php(42): GrumPHP\Runner\Middleware\ReportingRunnerMiddleware->handle()
#9 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/src/Runner/Middleware/TasksFilteringRunnerMiddleware.php(13): GrumPHP\Runner\MiddlewareStack::GrumPHP\Runner\{closure}()
#10 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/src/Runner/MiddlewareStack.php(42): GrumPHP\Runner\Middleware\TasksFilteringRunnerMiddleware->handle()
#11 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/src/Runner/Middleware/FixCodeMiddleware.php(22): GrumPHP\Runner\MiddlewareStack::GrumPHP\Runner\{closure}()
#12 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/src/Runner/MiddlewareStack.php(42): GrumPHP\Runner\Middleware\FixCodeMiddleware->handle()
#13 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/src/Runner/MiddlewareStack.php(31): GrumPHP\Runner\MiddlewareStack::GrumPHP\Runner\{closure}()
#14 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/src/Runner/TaskRunner.php(25): GrumPHP\Runner\MiddlewareStack->handle()
#15 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/src/Console/Command/RunCommand.php(67): GrumPHP\Runner\TaskRunner->run()
#16 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/vendor/symfony/console/Command/Command.php(228): GrumPHP\Console\Command\RunCommand->execute()
#17 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/vendor/symfony/console/Application.php(840): _HumbugBox9b65161bc655\Symfony\Component\Console\Command\Command->run()
#18 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/vendor/symfony/console/Application.php(251): _HumbugBox9b65161bc655\Symfony\Component\Console\Application->doRunCommand()
#19 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/vendor/symfony/console/Application.php(152): _HumbugBox9b65161bc655\Symfony\Component\Console\Application->doRun()
#20 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/bin/grumphp(35): _HumbugBox9b65161bc655\Symfony\Component\Console\Application->run()
#21 phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/bin/grumphp(36): _HumbugBox9b65161bc655\{closure}()
#22 D:\a\soap-client\soap-client\vendor\bin\grumphp(21) : eval()'d code(12): require('...')
#23 D:\a\soap-client\soap-client\vendor\bin\grumphp(21): eval()
#24 {main}
thrown in phar://D:/a/soap-client/soap-client/vendor/phpro/grumphp-shim/grumphp.phar/vendor/symfony/string/UnicodeString.php on line 35
Error: Process completed with exit code 1.
Feedback:
The component requires
symfony/polyfill-intl-normalizerso thatext-intlis not needed.
You should find whysymfony/polyfill-intl-normalizeris not installed.
I suppose it's listed in the "replace" section of a composer.json file.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the relevant composer.json dependency and replace sections, using the reported GrumPHP invocation to reproduce the missing normalizer_is_normalized() failure. Trace why symfony/polyfill-intl-normalizer is not installed; done means the shim installs it and the reported GrumPHP run no longer fails with this undefined function.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100