| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 277 | 
| Code Lines | 239 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 4 | ||
| Bugs | 0 | Features | 0 | 
Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.
For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.
Commonly applied refactorings include:
If many parameters/temporary variables are present:
| 1 | <?php | ||
| 213 | protected function getConsoleCommands(Container $container): array | ||
| 214 |     { | ||
| 215 | $commands = [ | ||
| 216 | new OpentelemetryGeneratorConsole(), | ||
| 217 | new CacheWarmerConsole(), | ||
| 218 | new TwigTemplateWarmerConsole(), | ||
| 219 | new BuildNavigationConsole(), | ||
| 220 | new RemoveNavigationCacheConsole(), | ||
| 221 | new BuildRestApiValidationCacheConsole(), | ||
| 222 | new RemoveRestApiValidationCacheConsole(), | ||
| 223 | new EmptyAllCachesConsole(), | ||
| 224 | new TransferGeneratorConsole(), | ||
| 225 | new RemoveTransferConsole(), | ||
| 226 | new EntityTransferGeneratorConsole(), | ||
| 227 | new RemoveEntityTransferConsole(), | ||
| 228 | new InitializeDatabaseConsole(), | ||
| 229 | new SearchConsole(), | ||
| 230 | new GenerateSourceMapConsole(), | ||
| 231 | new RemoveSourceMapConsole(), | ||
| 232 | new SearchSetupSourcesConsole(), | ||
| 233 | new OmsCheckConditionConsole(), | ||
| 234 | new OmsCheckTimeoutConsole(), | ||
| 235 | new OmsClearLocksConsole(), | ||
| 236 | new OmsProcessCacheWarmUpConsole(), | ||
| 237 | new StateMachineCheckTimeoutConsole(), | ||
| 238 | new StateMachineCheckConditionConsole(), | ||
| 239 | new StateMachineClearLocksConsole(), | ||
| 240 | new ImportOrderItemsStatusConsole(), | ||
| 241 | new SessionRemoveLockConsole(), | ||
| 242 | new QueueTaskConsole(), | ||
| 243 | new QueueWorkerConsole(), | ||
| 244 | new ProductRelationUpdaterConsole(), | ||
| 245 | new ProductLabelValidityConsole(), | ||
| 246 | new ProductLabelRelationUpdaterConsole(), | ||
| 247 | new ProductValidityConsole(), | ||
| 248 | new OauthTokenConsole(), | ||
| 249 | new DataImportConsole(), | ||
| 250 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_STORE), | ||
| 251 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_CURRENCY), | ||
| 252 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . CategoryDataImportConfig::IMPORT_TYPE_CATEGORY), | ||
| 253 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CategoryDataImportConfig::IMPORT_TYPE_CATEGORY_STORE), | ||
| 254 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_CATEGORY_TEMPLATE), | ||
| 255 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_CUSTOMER), | ||
| 256 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_GLOSSARY), | ||
| 257 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_NAVIGATION), | ||
| 258 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_NAVIGATION_NODE), | ||
| 259 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_CMS_TEMPLATE), | ||
| 260 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_CMS_BLOCK), | ||
| 261 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_CMS_BLOCK_STORE), | ||
| 262 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_DISCOUNT), | ||
| 263 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_DISCOUNT_STORE), | ||
| 264 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_DISCOUNT_VOUCHER), | ||
| 265 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_PRODUCT_ABSTRACT), | ||
| 266 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_PRODUCT_ABSTRACT_STORE), | ||
| 267 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_PRODUCT_CONCRETE), | ||
| 268 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_PRODUCT_IMAGE), | ||
| 269 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_PRODUCT_STOCK), | ||
| 270 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_PRODUCT_ATTRIBUTE_KEY), | ||
| 271 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_PRODUCT_MANAGEMENT_ATTRIBUTE), | ||
| 272 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_PRODUCT_GROUP), | ||
| 273 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_PRODUCT_OPTION), | ||
| 274 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_PRODUCT_OPTION_PRICE), | ||
| 275 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_PRODUCT_REVIEW), | ||
| 276 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . ProductLabelDataImportConfig::IMPORT_TYPE_PRODUCT_LABEL), | ||
| 277 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . ProductLabelDataImportConfig::IMPORT_TYPE_PRODUCT_LABEL_STORE), | ||
| 278 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_PRODUCT_SET), | ||
| 279 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_PRODUCT_SEARCH_ATTRIBUTE_MAP), | ||
| 280 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_PRODUCT_SEARCH_ATTRIBUTE), | ||
| 281 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . ShipmentDataImportConfig::IMPORT_TYPE_SHIPMENT), | ||
| 282 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . ShipmentDataImportConfig::IMPORT_TYPE_SHIPMENT_PRICE), | ||
| 283 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_TAX), | ||
| 284 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_DISCOUNT_AMOUNT), | ||
| 285 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . ProductAlternativeDataImportConfig::IMPORT_TYPE_PRODUCT_ALTERNATIVE), #ProductAlternativeFeature | ||
| 286 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . ProductDiscontinuedDataImportConfig::IMPORT_TYPE_PRODUCT_DISCONTINUED), | ||
| 287 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . PriceProductScheduleDataImportConfig::IMPORT_TYPE_PRODUCT_PRICE_SCHEDULE), | ||
| 288 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_ABSTRACT_GIFT_CARD_CONFIGURATION), #GiftCardFeature | ||
| 289 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . DataImportConfig::IMPORT_TYPE_CONCRETE_GIFT_CARD_CONFIGURATION), | ||
| 290 | |||
| 291 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . ShipmentDataImportConfig::IMPORT_TYPE_SHIPMENT), | ||
| 292 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . ShipmentDataImportConfig::IMPORT_TYPE_SHIPMENT_PRICE), | ||
| 293 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . ShipmentDataImportConfig::IMPORT_TYPE_SHIPMENT_METHOD_STORE), | ||
| 294 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . StockDataImportConfig::IMPORT_TYPE_STOCK), | ||
| 295 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . StockDataImportConfig::IMPORT_TYPE_STOCK_STORE), | ||
| 296 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . ContentNavigationDataImportConfig::IMPORT_TYPE_CONTENT_NAVIGATION), | ||
| 297 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . PaymentDataImportConfig::IMPORT_TYPE_PAYMENT_METHOD), | ||
| 298 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . PaymentDataImportConfig::IMPORT_TYPE_PAYMENT_METHOD_STORE), | ||
| 299 | |||
| 300 | //core data importers | ||
| 301 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . PriceProductDataImportConfig::IMPORT_TYPE_PRODUCT_PRICE), | ||
| 302 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . ProductQuantityDataImportConfig::IMPORT_TYPE_PRODUCT_QUANTITY), | ||
| 303 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . ProductRelationDataImportConfig::IMPORT_TYPE_PRODUCT_RELATION), | ||
| 304 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . ':' . ProductRelationDataImportConfig::IMPORT_TYPE_PRODUCT_RELATION_STORE), | ||
| 305 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . AclDataImportConfig::IMPORT_TYPE_ACL_GROUP), | ||
| 306 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . AclDataImportConfig::IMPORT_TYPE_ACL_ROLE), | ||
| 307 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . AclDataImportConfig::IMPORT_TYPE_ACL_GROUP_ROLE), | ||
| 308 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . AclEntityDataImportConfig::IMPORT_TYPE_ACL_ENTITY_RULE), | ||
| 309 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . AclEntityDataImportConfig::IMPORT_TYPE_ACL_ENTITY_SEGMENT), | ||
| 310 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . AclEntityDataImportConfig::IMPORT_TYPE_ACL_ENTITY_SEGMENT_CONNECTOR), | ||
| 311 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantProductApprovalDataImportConfig::IMPORT_TYPE_MERCHANT_PRODUCT_APPROVAL_STATUS_DEFAULT), | ||
| 312 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductApprovalDataImportConfig::IMPORT_TYPE_PRODUCT_APPROVAL_STATUS), | ||
| 313 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CountryDataImportConfig::IMPORT_TYPE_COUNTRY_STORE), | ||
| 314 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . CurrencyDataImportConfig::IMPORT_TYPE_CURRENCY_STORE), | ||
| 315 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . LocaleDataImportConfig::IMPORT_TYPE_LOCALE_STORE), | ||
| 316 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . LocaleDataImportConfig::IMPORT_TYPE_DEFAULT_LOCALE_STORE), | ||
| 317 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . StoreContextDataImportConfig::IMPORT_TYPE_STORE_CONTEXT), | ||
| 318 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . StoreDataImportConfig::IMPORT_TYPE_STORE), | ||
| 319 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ServicePointDataImportConfig::IMPORT_TYPE_SERVICE_TYPE), | ||
| 320 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ServicePointDataImportConfig::IMPORT_TYPE_SERVICE_POINT), | ||
| 321 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ServicePointDataImportConfig::IMPORT_TYPE_SERVICE_POINT_STORE), | ||
| 322 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ServicePointDataImportConfig::IMPORT_TYPE_SERVICE_POINT_ADDRESS), | ||
| 323 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ServicePointDataImportConfig::IMPORT_TYPE_SERVICE), | ||
| 324 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductOfferServicePointDataImportConfig::IMPORT_TYPE_PRODUCT_OFFER_SERVICE), | ||
| 325 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShipmentTypeDataImportConfig::IMPORT_TYPE_SHIPMENT_TYPE), | ||
| 326 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShipmentTypeDataImportConfig::IMPORT_TYPE_SHIPMENT_TYPE_STORE), | ||
| 327 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShipmentTypeDataImportConfig::IMPORT_TYPE_SHIPMENT_METHOD_SHIPMENT_TYPE), | ||
| 328 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ShipmentTypeServicePointDataImportConfig::IMPORT_TYPE_SHIPMENT_TYPE_SERVICE_TYPE), | ||
| 329 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . ProductOfferShipmentTypeDataImportConfig::IMPORT_TYPE_PRODUCT_OFFER_SHIPMENT_TYPE), | ||
| 330 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantCommissionDataImportConfig::IMPORT_TYPE_MERCHANT_COMMISSION_GROUP), | ||
| 331 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantCommissionDataImportConfig::IMPORT_TYPE_MERCHANT_COMMISSION), | ||
| 332 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantCommissionDataImportConfig::IMPORT_TYPE_MERCHANT_COMMISSION_AMOUNT), | ||
| 333 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantCommissionDataImportConfig::IMPORT_TYPE_MERCHANT_COMMISSION_STORE), | ||
| 334 | new DataImportConsole(DataImportConsole::DEFAULT_NAME . static::COMMAND_SEPARATOR . MerchantCommissionDataImportConfig::IMPORT_TYPE_MERCHANT_COMMISSION_MERCHANT), | ||
| 335 | |||
| 336 | // Publish and Synchronization | ||
| 337 | new EventBehaviorTriggerTimeoutConsole(), | ||
| 338 | new PublisherTriggerEventsConsole(), | ||
| 339 | new ExportSynchronizedDataConsole(), | ||
| 340 | |||
| 341 | // Setup commands | ||
| 342 | new RunnerConsole(), | ||
|  | |||
| 343 | new DeployPreparePropelConsole(), | ||
| 344 | |||
| 345 | new DatabaseDropConsole(), | ||
| 346 | new DatabaseDropTablesConsole(), | ||
| 347 | new DeleteMigrationFilesConsole(), | ||
| 348 | |||
| 349 | new DeleteLogFilesConsole(), | ||
| 350 | new StorageRedisExportRdbConsole(), | ||
| 351 | new StorageRedisImportRdbConsole(), | ||
| 352 | new StorageDeleteAllConsole(), | ||
| 353 | new ElasticsearchCloseIndexConsole(), | ||
| 354 | new ElasticsearchCopyIndexConsole(), | ||
| 355 | new ElasticsearchDeleteIndexConsole(), | ||
| 356 | new ElasticsearchOpenIndexConsole(), | ||
| 357 | new ElasticsearchSnapshotRegisterRepositoryConsole(), | ||
| 358 | new ElasticsearchSnapshotDeleteConsole(), | ||
| 359 | new ElasticsearchSnapshotCreateConsole(), | ||
| 360 | new ElasticsearchSnapshotRestoreConsole(), | ||
| 361 | |||
| 362 | new InstallPackageManagerConsole(), | ||
| 363 | new CleanUpDependenciesConsole(), | ||
| 364 | new InstallProjectDependenciesConsole(), | ||
| 365 | |||
| 366 | new YvesInstallDependenciesConsole(), | ||
| 367 | new YvesBuildFrontendConsole(), | ||
| 368 | |||
| 369 | new ZedInstallDependenciesConsole(), | ||
| 370 | new ZedBuildFrontendConsole(), | ||
| 371 | |||
| 372 | new DeleteAllQueuesConsole(), | ||
| 373 | new PurgeAllQueuesConsole(), | ||
| 374 | new DeleteAllExchangesConsole(), | ||
| 375 | new QueueSetupConsole(), | ||
| 376 | new SetUserPermissionsConsole(), | ||
| 377 | |||
| 378 | new DeactivateDiscontinuedProductsConsole(), #ProductDiscontinuedFeature | ||
| 379 | |||
| 380 | new PriceProductStoreOptimizeConsole(), | ||
| 381 | |||
| 382 | new UuidGeneratorConsole(), | ||
| 383 | new DeleteExpiredGuestQuoteConsole(), | ||
| 384 | new DeleteExpiredCustomerInvalidatedRecordsConsole(), | ||
| 385 | new BuildRestApiValidationCacheConsole(), | ||
| 386 | new RemoveRestApiValidationCacheConsole(), | ||
| 387 | |||
| 388 | new CleanTranslationCacheConsole(), | ||
| 389 | new GenerateTranslationCacheConsole(), | ||
| 390 | |||
| 391 | new PriceProductScheduleApplyConsole(), | ||
| 392 | new PriceProductScheduleCleanupConsole(), | ||
| 393 | |||
| 394 | new SchedulerSetupConsole(), | ||
| 395 | new SchedulerCleanConsole(), | ||
| 396 | new SchedulerSuspendConsole(), | ||
| 397 | new SchedulerResumeConsole(), | ||
| 398 | |||
| 399 | new RouterCacheWarmUpConsole(), | ||
| 400 | |||
| 401 | new BackofficeRouterCacheWarmUpConsole(), | ||
| 402 | new BackendGatewayRouterCacheWarmUpConsole(), | ||
| 403 | new MerchantPortalRouterCacheWarmUpConsole(), | ||
| 404 | new ResolvableClassCacheConsole(), | ||
| 405 | |||
| 406 | new DataExportConsole(), | ||
| 407 | new CustomerPasswordResetConsole(), | ||
| 408 | new CustomerPasswordSetConsole(), | ||
| 409 | |||
| 410 | new OrderInvoiceSendConsole(), | ||
| 411 | |||
| 412 | new ProductOfferValidityConsole(), | ||
| 413 | |||
| 414 | new TriggerEventFromCsvFileConsole(), | ||
| 415 | |||
| 416 | new MerchantPortalBuildFrontendConsole(), | ||
| 417 | new MerchantPortalInstallDependenciesConsole(), | ||
| 418 | new MessageBrokerWorkerConsole(), | ||
| 419 | new ScopeCacheCollectorConsole(), | ||
| 420 | new DateTimeProductConfiguratorBuildFrontendConsole(), | ||
| 421 | new DeleteExpiredPushNotificationSubscriptionConsole(), | ||
| 422 | new SendPushNotificationConsole(), | ||
| 423 | new OrderMatrixConsole(), | ||
| 424 | new AclEntitySynchronizeConsole(), | ||
| 425 | new StorageRedisDataReSaveConsole(), | ||
| 426 | new SitemapGenerateConsole(), | ||
| 427 | new DataImportMerchantImportConsole(), | ||
| 428 | ]; | ||
| 429 | |||
| 430 | $propelCommands = $container->getLocator()->propel()->facade()->getConsoleCommands(); | ||
| 431 | $commands = array_merge($commands, $propelCommands); | ||
| 432 | |||
| 433 |         if ($this->getConfig()->isDevelopmentConsoleCommandsEnabled()) { | ||
| 434 | $commands[] = new EventListenerDumpConsole(); | ||
| 435 | $commands[] = new CodeTestConsole(); | ||
| 436 | $commands[] = new CodeFixturesConsole(); | ||
| 437 | $commands[] = new AcceptanceCodeTestConsole(); | ||
| 438 | $commands[] = new FunctionalCodeTestConsole(); | ||
| 439 | $commands[] = new ApiCodeTestConsole(); | ||
| 440 | $commands[] = new CodeStyleSnifferConsole(); | ||
| 441 | $commands[] = new CodeArchitectureSnifferConsole(); | ||
| 442 | $commands[] = new CodePhpstanConsole(); | ||
| 443 | $commands[] = new ValidatorConsole(); | ||
| 444 | $commands[] = new GenerateZedIdeAutoCompletionConsole(); | ||
| 445 | $commands[] = new RemoveZedIdeAutoCompletionConsole(); | ||
| 446 | $commands[] = new GenerateClientIdeAutoCompletionConsole(); | ||
| 447 | $commands[] = new RemoveClientIdeAutoCompletionConsole(); | ||
| 448 | $commands[] = new GenerateServiceIdeAutoCompletionConsole(); | ||
| 449 | $commands[] = new RemoveServiceIdeAutoCompletionConsole(); | ||
| 450 | $commands[] = new GenerateYvesIdeAutoCompletionConsole(); | ||
| 451 | $commands[] = new RemoveYvesIdeAutoCompletionConsole(); | ||
| 452 | $commands[] = new GenerateIdeAutoCompletionConsole(); | ||
| 453 | $commands[] = new RemoveIdeAutoCompletionConsole(); | ||
| 454 | $commands[] = new GenerateGlueIdeAutoCompletionConsole(); | ||
| 455 | $commands[] = new RemoveGlueIdeAutoCompletionConsole(); | ||
| 456 | $commands[] = new DataBuilderGeneratorConsole(); | ||
| 457 | $commands[] = new RemoveDataBuilderConsole(); | ||
| 458 | $commands[] = new DataBuilderGeneratorConsole(); | ||
| 459 | $commands[] = new PropelSchemaValidatorConsole(); | ||
| 460 | $commands[] = new PropelSchemaXmlNameValidatorConsole(); | ||
| 461 | $commands[] = new DataImportDumpConsole(); | ||
| 462 | $commands[] = new GenerateGlueIdeAutoCompletionConsole(); | ||
| 463 | $commands[] = new GenerateGlueBackendIdeAutoCompletionConsole(); | ||
| 464 | $commands[] = new RemoveGlueBackendIdeAutoCompletionConsole(); | ||
| 465 | $commands[] = new RemoveGlueIdeAutoCompletionConsole(); | ||
| 466 | $commands[] = new PluginUsageFinderConsole(); | ||
| 467 | $commands[] = new PostgresIndexGeneratorConsole(); | ||
| 468 | $commands[] = new PostgresIndexRemoverConsole(); | ||
| 469 | $commands[] = new GenerateRestApiDocumentationConsole(); | ||
| 470 | $commands[] = new QueueDumpConsole(); | ||
| 471 | $commands[] = new EventTriggerListenerConsole(); | ||
| 472 | |||
| 473 | $commands[] = new ComposerConstraintConsole(); | ||
| 474 | |||
| 475 | $commands[] = new MessageBrokerDebugConsole(); | ||
| 476 | $commands[] = new MessageBrokerAwsSqsQueuesCreatorConsole(); | ||
| 477 | $commands[] = new MessageBrokerAwsSnsTopicsCreatorConsole(); | ||
| 478 | $commands[] = new MessageBrokerSqsToSnsSubscriberConsole(); | ||
| 479 | $commands[] = new MultiProcessRunConsole(); | ||
| 480 | |||
| 481 |             if (class_exists(SecurityCheckerCommand::class)) { | ||
| 482 | $commands[] = new SecurityCheckerCommand(); | ||
| 483 | } | ||
| 484 | |||
| 485 | $commands[] = new MaintenanceEnableConsole(); | ||
| 486 | $commands[] = new MaintenanceDisableConsole(); | ||
| 487 | } | ||
| 488 | |||
| 489 | return $commands; | ||
| 490 | } | ||
| 536 |