You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit eccaba6
Browse filesBrowse the repository at this point in the historyBrowse files
Twenty-eight commits. The interesting part is that this branch moved most of
Database.php into traits while main added a feature to the monolithic file,
so git produced an eight-thousand-line conflict with nothing aligned. Every
resolution below is main's change re-applied onto this branch's structure
rather than a side taken.
main's drop-unknown-attributes (#946): the property, the two accessors and
removeUnknownAttributes() land on Database.php, and the two change-detection
call sites on Traits\Documents where updateDocument and the batch path now
live. Mirror gains the delegating setter. The helper reads attribute keys
through the value objects this branch introduces -- Attribute, Document or
array -- rather than $attribute['$id'], and asks
supports(Capability::DefinedAttributes) where main asked
getSupportForAttributes(), which this branch replaced.
main's fulltext fix (#826): the unicode-aware sanitiser replaces the
reserved-character list in SQL and Postgres, and the empty-term guards go in
beside it. main patched MariaDB and Postgres separately; this branch had
already consolidated MySQL's search into SQL, so the guard is written once
there and MariaDB inherits it.
Both of main's new tests come across, ported to the value-object API:
createCollection takes a Collection, createAttribute an Attribute,
createIndex an Index, and the capability checks go through supports().
Separately, addressing review: Event\DomainEvent is now Event\Domain. The
namespace already says event, and no consumer has a competing Domain symbol,
so no import needed aliasing. The local variables and createDomainEvent()
keep their names -- they describe the action, and Event\Domain still reads as
"domain event" through the namespace.
phpstan at level max and pint are clean, and the unit suite is 1636 tests /
6259 assertions green.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments