Skip to content

docs(activesync): note SPL-based exception classification as 6.1 follow-up - #114

Merged
TDannhauer merged 1 commit into
FRAMEWORK_6_0from
docs/todo-spl-exception-classification
Nov 3, 2026
Merged

TDannhauer merged 1 commit into
FRAMEWORK_6_0from
docs/todo-spl-exception-classification

Conversation

@TDannhauer

Copy link
Copy Markdown
Contributor

Summary

  • Adds one item to doc/todo.md (FRAMEWORK_6_1 → Driver and backend shape): base the src/ app exceptions on the SPL hierarchy (HordeUnexpectedValueException for constraint violations) while keeping the InvalidDataThrowable marker for the retry-policy contract, and let the src/ driver classify on both.

Motivation

Follow-up to the review discussion on horde/Exception#6: the marker interface exists only because the legacy <App>_Exception classes extend Horde_Exception_Wrapped and cannot also extend an SPL type. This records the target state so it is not forgotten when the exceptions move to src/, and notes why the lib/ _importFailure() check must stay narrow on FRAMEWORK_6_0.

Changes

  • doc/todo.md — one bullet, documentation only.

Test plan

  • Documentation change, no code.

…ow-up

Record why Status 6 is currently signalled through the
Horde\Exception\InvalidDataThrowable marker (legacy <App>_Exception
classes cannot extend an SPL type) and the target for the src/ stack:
SPL bases such as HordeUnexpectedValueException plus the marker, with the
driver classifying on both. Keeps the FRAMEWORK_6_0 lib/ check narrow.
Follows the review note on horde/Exception#6.
@TDannhauer
TDannhauer requested a review from ralflang November 3, 2026 08:17
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

🔍 CI Results

Overall: ❌ 12/12 lanes failed

TL;DR: ❌ Quality issues: PHP-CS-Fixer: 49 files.

Summary by PHP Version

PHP dev stable
8.1 ❌ ❌
8.2 ❌ ❌
8.3 ❌ ❌
8.4 ❌ ❌
8.5 ❌ ❌
8.6 ❌ ❌

Quality Metrics

  • PHPUnit: did not run (12 lanes exited non-zero with no test output) ❌
  • PHPStan: No errors found ✅ — 8 advisories at level 2
  • PHP-CS-Fixer: 49 unique files with issues (of 238 checked) ⚠️
❌ Failed Lanes

php8.1-dev

  • PHPUnit: 0 failures, 0 errors

php8.1-stable

  • PHPUnit: 0 failures, 0 errors

php8.2-dev

  • PHPUnit: 0 failures, 0 errors

php8.2-stable

  • PHPUnit: 0 failures, 0 errors

php8.3-dev

  • PHPUnit: 0 failures, 0 errors

php8.3-stable

  • PHPUnit: 0 failures, 0 errors

php8.4-dev

  • PHPUnit: 0 failures, 0 errors
  • PHP-CS-Fixer: 49 files with issues

php8.4-stable

  • PHPUnit: 0 failures, 0 errors

php8.5-dev

  • PHPUnit: 0 failures, 0 errors

php8.5-stable

  • PHPUnit: 0 failures, 0 errors

php8.6-dev

  • PHPUnit: 0 failures, 0 errors

php8.6-stable

  • PHPUnit: 0 failures, 0 errors

CI powered by horde-components • View full results

@TDannhauer
TDannhauer merged commit f0a2d00 into FRAMEWORK_6_0 Nov 3, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant