Unexpected output: Affected paths: relative - resubmit patch.
⚙ D435 INP-1831 - Allow specifying "HookToModule" in hook declarations
Page MenuHomeIn-Portal Phabricator

INP-1831 - Allow specifying "HookToModule" in hook declarations
ClosedPublic

Authored by alex on Oct 7 2022, 5:39 AM.

Details

Test Plan
  1. login to the Admin Console
  2. go to the ConfigurationWebsiteModules section
  3. disable all modules, except In-Portal and In-Commerce
  4. go to the ToolsSystem Tools button
  5. press the Deploy button
  6. go to the Logs & ReportsSystem Log section
  7. confirm, that such warnings weren't added during unit config cache rebuild (happens during deployment):
* Prefix lst doesn't exist when trying to hook from p:OnSaveVirtualProduct in ...\core\kernel\managers\hook_manager.php on line 97`
* Prefix lst doesn't exist when trying to hook from p:OnDeleteListingType in ...\core\kernel\managers\hook_manager.php on line 97
* Prefix lst doesn't exist when trying to hook from p:OnModifyPaidListingConfig in ...\core\kernel\managers\hook_manager.php on line 97

Diff Detail

Repository
rINP In-Portal
Branch
/in-portal/branches/5.2.x
Lint
Lint ErrorsExcuse: Better to keep CS uniformed (even if broken)
SeverityLocationCodeMessage
Errorcore/kernel/utility/unit_config_reader.php:481PHPCS.E.CodingStandard.WhiteSpace.ControlStructureSpacing.SpaceBeforeCloseBraceCodingStandard.WhiteSpace.ControlStructureSpacing.SpaceBeforeCloseBrace
Errorcore/kernel/utility/unit_config_reader.php:481PHPCS.E.CodingStandard.WhiteSpace.ControlStructureSpacing.SpacingAfterOpenBraceCodingStandard.WhiteSpace.ControlStructureSpacing.SpacingAfterOpenBrace
Errormodules/in-commerce/units/products/products_config.php:50PHPCS.E.CodingStandard.Arrays.Array.SpaceAfterKeywordCodingStandard.Arrays.Array.SpaceAfterKeyword
Errormodules/in-commerce/units/products/products_config.php:50PHPCS.E.CodingStandard.Arrays.Array.SpaceAfterOpenCodingStandard.Arrays.Array.SpaceAfterOpen
Errormodules/in-commerce/units/products/products_config.php:50PHPCS.E.CodingStandard.Arrays.Array.SpaceBeforeCloseCodingStandard.Arrays.Array.SpaceBeforeClose
Errormodules/in-commerce/units/products/products_config.php:50PHPCS.E.Generic.PHP.LowerCaseKeyword.FoundGeneric.PHP.LowerCaseKeyword.Found
Errormodules/in-commerce/units/products/products_config.php:62PHPCS.E.CodingStandard.Arrays.Array.SpaceAfterKeywordCodingStandard.Arrays.Array.SpaceAfterKeyword
Errormodules/in-commerce/units/products/products_config.php:62PHPCS.E.Generic.PHP.LowerCaseKeyword.FoundGeneric.PHP.LowerCaseKeyword.Found
Errormodules/in-commerce/units/products/products_config.php:74PHPCS.E.CodingStandard.Arrays.Array.SpaceAfterKeywordCodingStandard.Arrays.Array.SpaceAfterKeyword
Errormodules/in-commerce/units/products/products_config.php:74PHPCS.E.Generic.PHP.LowerCaseKeyword.FoundGeneric.PHP.LowerCaseKeyword.Found
Unit
No Unit Test Coverage
Build Status
Buildable 1140
Build 1140: arc lint + arc unit

Event Timeline

alex created this revision.Oct 7 2022, 5:39 AM
alex requested review of this revision.Oct 7 2022, 5:39 AM
alex edited the test plan for this revision. (Show Details)Oct 7 2022, 5:42 AM
erik accepted this revision.Oct 10 2022, 5:30 AM
This revision is now accepted and ready to land.Oct 10 2022, 5:30 AM
This revision was landed with ongoing or failed builds.Nov 16 2023, 2:33 AM
This revision was automatically updated to reflect the committed changes.