@@ -70,7 +70,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
70
70
if (!$ symfonyLock ->has ($ packageName )) {
71
71
$ io ->writeError ([
72
72
'Package not found inside symfony.lock. It looks like it \'s not installed? ' ,
73
- sprintf ('Try running <info>composer recipes:install %s --force -v</info> to re-install the recipe. ' , $ packageName )
73
+ sprintf ('Try running <info>composer recipes:install %s --force -v</info> to re-install the recipe. ' , $ packageName ),
74
74
]);
75
75
76
76
return 1 ;
@@ -81,7 +81,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
81
81
$ io ->writeError ([
82
82
'It doesn \'t look like this package had a recipe when it was originally installed. ' ,
83
83
'To install the latest version of the recipe, if there is one, run: ' ,
84
- sprintf (' <info>composer recipes:install %s --force -v</info> ' , $ packageName )
84
+ sprintf (' <info>composer recipes:install %s --force -v</info> ' , $ packageName ),
85
85
]);
86
86
87
87
return 1 ;
@@ -94,7 +94,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
94
94
'The version of the installed recipe was not saved into symfony.lock. ' ,
95
95
'This is possible if it was installed by an old version of Symfony Flex. ' ,
96
96
'Update the recipe by re-installing the latest version with: ' ,
97
- sprintf (' <info>composer recipes:install %s --force -v</info> ' , $ packageName )
97
+ sprintf (' <info>composer recipes:install %s --force -v</info> ' , $ packageName ),
98
98
]);
99
99
100
100
return 1 ;
@@ -106,7 +106,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
106
106
$ io ->writeError ([
107
107
'The original recipe version you have installed could not be found, it may be too old. ' ,
108
108
'Update the recipe by re-installing the latest version with: ' ,
109
- sprintf (' <info>composer recipes:install %s --force -v</info> ' , $ packageName )
109
+ sprintf (' <info>composer recipes:install %s --force -v</info> ' , $ packageName ),
110
110
]);
111
111
112
112
return 1 ;
@@ -134,7 +134,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
134
134
$ throwable ->getMessage (),
135
135
'' ,
136
136
'Update the recipe by re-installing the latest version with: ' ,
137
- sprintf (' <info>composer recipes:install %s --force -v</info> ' , $ packageName )
137
+ sprintf (' <info>composer recipes:install %s --force -v</info> ' , $ packageName ),
138
138
]);
139
139
140
140
return 1 ;
@@ -154,7 +154,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
154
154
$ io ->write ([
155
155
' The recipe was updated but with <bg=red;fg=white>one or more conflicts</>. ' ,
156
156
' Run <comment>git status</comment> to see them. ' ,
157
- ' After resolving, commit your changes like normal. '
157
+ ' After resolving, commit your changes like normal. ' ,
158
158
]);
159
159
} else {
160
160
if (!$ patch ->getPatch ()) {
@@ -169,7 +169,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
169
169
}
170
170
}
171
171
172
- if (0 !== count ($ recipeUpdate ->getCopyFromPackagePaths ())) {
172
+ if (0 !== \ count ($ recipeUpdate ->getCopyFromPackagePaths ())) {
173
173
$ io ->write ([
174
174
'' ,
175
175
' <bg=red;fg=white>NOTE:</> ' ,
@@ -181,7 +181,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
181
181
$ io ->write ([
182
182
'' ,
183
183
' The recipe updater has no way of knowing if these files have changed since you originally installed the recipe. ' ,
184
- ' And so, no updates were made to these paths. '
184
+ ' And so, no updates were made to these paths. ' ,
185
185
]);
186
186
}
187
187
@@ -213,7 +213,7 @@ private function getRecipe(string $packageName, string $recipeRef = null, string
213
213
}
214
214
$ recipes = $ this ->downloader ->getRecipes ([$ operation ]);
215
215
216
- if (0 === count ($ recipes ['manifests ' ] ?? [])) {
216
+ if (0 === \ count ($ recipes ['manifests ' ] ?? [])) {
217
217
return null ;
218
218
}
219
219
0 commit comments