Skip to content

Commit

Permalink
drop string dependency from console
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jul 25, 2023
1 parent 497b1d6 commit a88d52a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions patches/symfony-console-helper-helper-php.patch
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,11 @@

if (preg_match('//u', $string)) {
return (new UnicodeString($string))->width(false);
@@ -65,6 +66,7 @@
public static function length(?string $string): int
{
$string ??= '';
+ return strlen($string);

if (preg_match('//u', $string)) {
return (new UnicodeString($string))->length();
2 changes: 2 additions & 0 deletions src/DependencyInjection/NewContainerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ static function ($object, $misc, ECSConfig $ecsConfig): void {
return;
}



$removeMutualCheckersCompilerPass = new RemoveMutualCheckersCompilerPass();
$removeMutualCheckersCompilerPass->process($ecsConfig);

Expand Down

0 comments on commit a88d52a

Please sign in to comment.