Skip to content

Commit b4945ec

Browse files
committed
Do not prefix polyfill-mbstring
1 parent 6c852bf commit b4945ec

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

bin/phpstan

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ use Symfony\Component\Console\Helper\ProgressBar;
2828
!array_key_exists('e88992873b7765f9b5710cab95ba5dd7', $composerAutoloadFiles)
2929
|| !array_key_exists('3e76f7f02b41af8cea96018933f6b7e3', $composerAutoloadFiles)
3030
|| !array_key_exists('a4a119a56e50fbb293281d9a48007e0e', $composerAutoloadFiles)
31+
|| !array_key_exists('0e6d7bf4a5811bfa5cf40c5ccd6fae6a', $composerAutoloadFiles)
3132
) {
3233
echo "Composer autoloader changed\n";
3334
exit(1);
@@ -41,6 +42,9 @@ use Symfony\Component\Console\Helper\ProgressBar;
4142

4243
// vendor/symfony/polyfill-php80/bootstrap.php
4344
'a4a119a56e50fbb293281d9a48007e0e' => true,
45+
46+
// vendor/symfony/polyfill-mbstring/bootstrap.php
47+
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => true,
4448
];
4549

4650
$autoloaderInWorkingDirectory = getcwd() . '/vendor/autoload.php';

compiler/build/scoper.inc.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
'../../vendor/jetbrains/phpstorm-stubs',
1818
'../../vendor/phpstan/php-8-stubs/stubs',
1919
'../../vendor/symfony/polyfill-php80',
20+
'../../vendor/symfony/polyfill-mbstring',
2021
]) as $file) {
2122
if ($file->getPathName() === '../../vendor/jetbrains/phpstorm-stubs/PhpStormStubsMap.php') {
2223
continue;
@@ -257,6 +258,7 @@ function (string $filePath, string $prefix, string $content): string {
257258
'PhpParser\*',
258259
'Hoa\*',
259260
'Symfony\Polyfill\Php80\*',
261+
'Symfony\Polyfill\Mbstring\*',
260262
],
261263
'whitelist-global-functions' => false,
262264
'whitelist-global-classes' => false,

conf/config.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ parameters:
9595
- '#^PHPStan\\#'
9696
- '#^Hoa\\#'
9797
- '#^Symfony\\Polyfill\\Php80\\#'
98+
- '#^Symfony\\Polyfill\\Mbstring\\#'
9899
- '#^Composer\\#'
99100
dynamicConstantNames:
100101
- ICONV_IMPL

0 commit comments

Comments
 (0)