Unexpected output: Affected paths: relative - resubmit patch.
⚙ D177 INP-1522 - Adapt error output for CLI
Page MenuHomeIn-Portal Phabricator

INP-1522 - Adapt error output for CLI
ClosedPublic

Authored by alex on Dec 5 2015, 1:24 PM.

Details

Test Plan
  1. throw an exception somewhere deep during application initialization (but not during run)
  2. run in-portal script
  3. confirm, that exception class/message is shown in CLI
  4. confirm, that stack trace is shown
  5. confirm, that no HTML is present in the output
  6. trigger fatal error in place of exception
  7. run in-portal script
  8. confirm, that exception class/message is shown in CLI
  9. confirm, that stack trace is shown
  10. confirm, that no HTML is present in the output

Diff Detail

Repository
rINP In-Portal
Branch
/in-portal/branches/5.3.x
Lint
Lint ErrorsExcuse: Line with errors were just moved in here, so no fixing.
SeverityLocationCodeMessage
Errorcore/kernel/utility/logger.php:928PHPCS.E.Squiz.Strings.DoubleQuoteUsage.ContainsVarSquiz.Strings.DoubleQuoteUsage.ContainsVar
Errorcore/kernel/utility/logger.php:928PHPCS.E.Squiz.Strings.DoubleQuoteUsage.ContainsVarSquiz.Strings.DoubleQuoteUsage.ContainsVar
Errorcore/kernel/utility/logger.php:928PHPCS.E.Squiz.Strings.DoubleQuoteUsage.ContainsVarSquiz.Strings.DoubleQuoteUsage.ContainsVar
Errorcore/kernel/utility/logger.php:963PHPCS.E.CodingStandard.Commenting.FunctionComment.MissingParamTagCodingStandard.Commenting.FunctionComment.MissingParamTag
Errorcore/kernel/utility/logger.php:1205PHPCS.E.Generic.Files.LineLength.MaxExceededGeneric.Files.LineLength.MaxExceeded
Unit
No Unit Test Coverage
Build Status
Buildable 269
Build 269: arc lint + arc unit

Event Timeline

alex updated this revision to Diff 425.Dec 5 2015, 1:24 PM
alex retitled this revision from to INP-1522 - Adapt error output for CLI.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1522.
glebs accepted this revision.Dec 15 2015, 1:38 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.Dec 15 2015, 1:38 AM
This revision was automatically updated to reflect the committed changes.