@@ -70,7 +70,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
70
70
aborted:
71
71
72
72
$ output ->writeln ('' );
73
- $ output ->writeln ('<error>Aborting download and cleaning up temporary directories.</error > ' );
73
+ $ output ->writeln ('<error>Aborting download and cleaning up temporary directories.</> ' );
74
74
75
75
$ this ->cleanUp ();
76
76
@@ -105,11 +105,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
105
105
*/
106
106
protected function checkSymfonyVersionIsInstallable ()
107
107
{
108
- // Available at the moment of installing Symfony with this installer.
109
108
// 'latest' is a special version name that refers to the latest stable version
110
109
// 'lts' is a special version name that refers to the current long term support version
111
- // 'dev' is a special version name that refers to the current development version
112
- if (in_array ($ this ->version , array ('latest ' , 'lts ' , 'dev ' ))) {
110
+ if (in_array ($ this ->version , array ('latest ' , 'lts ' ))) {
113
111
return $ this ;
114
112
}
115
113
@@ -176,31 +174,6 @@ protected function checkSymfonyVersionIsInstallable()
176
174
return $ this ;
177
175
}
178
176
179
- /**
180
- * @param InputInterface $input
181
- * @param OutputInterface $output
182
- *
183
- * @return NewCommand
184
- *
185
- * @throws AbortException If the user wants to stop the download process in case of dev/BETA versions
186
- */
187
- protected function askUserConfirmation (InputInterface $ input , OutputInterface $ output )
188
- {
189
- if (preg_match ('/^(\d\.\d)(\.\d{1,2})?-(dev|BETA)\d*$/ ' , $ this ->version )) {
190
- $ helper = $ this ->getHelper ('question ' );
191
- $ question = new ConfirmationQuestion (
192
- sprintf ('<question>You are trying to install an unstable version (%s). Do you confirm this action? [y/n]</question> ' , $ this ->version ),
193
- false
194
- );
195
-
196
- if (!$ helper ->ask ($ input , $ output , $ question )) {
197
- throw new AbortException ();
198
- }
199
- }
200
-
201
- return $ this ;
202
- }
203
-
204
177
/**
205
178
* Removes all the temporary files and directories created to
206
179
* download the project and removes Symfony-related files that don't make
0 commit comments