| @@ -12,8 +12,9 @@ | ||
| 12 | 12 | * |
| 13 | 13 | * @return array |
| 14 | 14 | */ |
| 15 | 15 | function customize_php_scoper_config( array $config ): array { |
| 16 | + $config['tag-declarations-as-internal'] = false; | |
| 16 | 17 | $config['patchers'][] = static function ( string $filePath, string $prefix, string $content ): string { |
| 17 | 18 | $regexForPrefix = "([\\s\"'\\[(<@|])"; |
| 18 | 19 | if ( str_contains( $filePath, 'latte/latte' ) ) { |
| 19 | 20 | // would not work for other imported namespace |