|
23 | 23 | Console\Helper\ProcessHelper::class => Factory\ProcessHelperFactory::class, |
24 | 24 |
|
25 | 25 | Service\InstallationCommandsRunner::class => ConfigAbstractFactory::class, |
| 26 | + Service\InstallationRunner::class => ConfigAbstractFactory::class, |
26 | 27 | Service\ShlinkAssetsHandler::class => ConfigAbstractFactory::class, |
27 | 28 | Config\ConfigGenerator::class => ConfigAbstractFactory::class, |
28 | 29 | Config\ConfigOptionsManager::class => Config\ConfigOptionsManagerFactory::class, |
|
61 | 62 | 'URL shortener > Short codes length' => Config\Option\UrlShortener\ShortCodeLengthOption::class, |
62 | 63 | 'URL shortener > Auto resolve titles' |
63 | 64 | => Config\Option\UrlShortener\AutoResolveTitlesConfigOption::class, |
64 | | - 'URL shortener > Append extra path' => Config\Option\UrlShortener\AppendExtraPathConfigOption::class, |
65 | 65 | 'URL shortener > Extra path mode' => Config\Option\UrlShortener\ExtraPathModeConfigOption::class, |
66 | 66 | 'URL shortener > Multi-segment slugs' |
67 | 67 | => Config\Option\UrlShortener\EnableMultiSegmentSlugsConfigOption::class, |
|
90 | 90 | 'Redirects > Invalid short URL' => Config\Option\Redirect\InvalidShortUrlRedirectConfigOption::class, |
91 | 91 | 'Redirects > Regular 404' => Config\Option\Redirect\Regular404RedirectConfigOption::class, |
92 | 92 | ], |
93 | | - 'QR CODES [DEPRECATED]' => [ |
94 | | - 'QR codes > Default size' => Config\Option\QrCode\DefaultSizeConfigOption::class, |
95 | | - 'QR codes > Default margin' => Config\Option\QrCode\DefaultMarginConfigOption::class, |
96 | | - 'QR codes > Default format' => Config\Option\QrCode\DefaultFormatConfigOption::class, |
97 | | - 'QR codes > Default error correction' => Config\Option\QrCode\DefaultErrorCorrectionConfigOption::class, |
98 | | - 'QR codes > Default round block size' => Config\Option\QrCode\DefaultRoundBlockSizeConfigOption::class, |
99 | | - 'QR codes > Default color' => Config\Option\QrCode\DefaultColorConfigOption::class, |
100 | | - 'QR codes > Default background color' => Config\Option\QrCode\DefaultBgColorConfigOption::class, |
101 | | - 'QR codes > Default logo URL' => Config\Option\QrCode\DefaultLogoUrlConfigOption::class, |
102 | | - 'QR codes > Enabled for disabled short URLs' |
103 | | - => Config\Option\QrCode\EnabledForDisabledShortUrlsConfigOption::class, |
104 | | - ], |
105 | 93 | 'ROBOTS' => [ |
106 | 94 | 'Robots.txt > allow all' => Config\Option\Robots\RobotsAllowAllShortUrlsConfigOption::class, |
107 | 95 | 'Robots.txt > user agents' => Config\Option\Robots\RobotsUserAgentsConfigOption::class, |
|
165 | 153 | Config\Option\UrlShortener\ShortDomainHostConfigOption::class => InvokableFactory::class, |
166 | 154 | Config\Option\UrlShortener\ShortDomainSchemaConfigOption::class => InvokableFactory::class, |
167 | 155 | Config\Option\UrlShortener\AutoResolveTitlesConfigOption::class => InvokableFactory::class, |
168 | | - Config\Option\UrlShortener\AppendExtraPathConfigOption::class => InvokableFactory::class, |
169 | 156 | Config\Option\UrlShortener\ExtraPathModeConfigOption::class => InvokableFactory::class, |
170 | 157 | Config\Option\UrlShortener\EnableMultiSegmentSlugsConfigOption::class => InvokableFactory::class, |
171 | 158 | Config\Option\UrlShortener\EnableTrailingSlashConfigOption::class => InvokableFactory::class, |
|
208 | 195 | Config\Option\Cors\CorsAllowOriginConfigOption::class => InvokableFactory::class, |
209 | 196 | Config\Option\Cors\CorsAllowCredentialsConfigOption::class => InvokableFactory::class, |
210 | 197 | Config\Option\Cors\CorsMaxAgeConfigOption::class => InvokableFactory::class, |
211 | | - Config\Option\QrCode\DefaultSizeConfigOption::class => InvokableFactory::class, |
212 | | - Config\Option\QrCode\DefaultMarginConfigOption::class => InvokableFactory::class, |
213 | | - Config\Option\QrCode\DefaultFormatConfigOption::class => InvokableFactory::class, |
214 | | - Config\Option\QrCode\DefaultErrorCorrectionConfigOption::class => InvokableFactory::class, |
215 | | - Config\Option\QrCode\DefaultRoundBlockSizeConfigOption::class => InvokableFactory::class, |
216 | | - Config\Option\QrCode\DefaultColorConfigOption::class => InvokableFactory::class, |
217 | | - Config\Option\QrCode\DefaultBgColorConfigOption::class => InvokableFactory::class, |
218 | | - Config\Option\QrCode\DefaultLogoUrlConfigOption::class => InvokableFactory::class, |
219 | | - Config\Option\QrCode\EnabledForDisabledShortUrlsConfigOption::class => InvokableFactory::class, |
220 | 198 | ], |
221 | 199 | ], |
222 | 200 |
|
|
232 | 210 | PhpExecutableFinder::class, |
233 | 211 | 'config.installer.installation_commands', |
234 | 212 | ], |
235 | | - |
236 | | - Command\InstallCommand::class => [ |
237 | | - ConfigWriter::class, |
238 | | - Service\ShlinkAssetsHandler::class, |
239 | | - Config\ConfigGenerator::class, |
240 | | - ], |
241 | | - Command\UpdateCommand::class => [ |
| 213 | + Service\InstallationRunner::class => [ |
242 | 214 | ConfigWriter::class, |
243 | 215 | Service\ShlinkAssetsHandler::class, |
244 | 216 | Config\ConfigGenerator::class, |
245 | 217 | ], |
| 218 | + |
| 219 | + Command\InstallCommand::class => [Service\InstallationRunner::class], |
| 220 | + Command\UpdateCommand::class => [Service\InstallationRunner::class], |
246 | 221 | Command\SetOptionCommand::class => [ |
247 | 222 | ConfigWriter::class, |
248 | 223 | Service\ShlinkAssetsHandler::class, |
|
0 commit comments