trypost/app/Rules
Paulo Castellano 6949ee4ec3 refactor: derive sibling key in content-type rules without regex
Both ContentTypeMatchesPlatform and ContentTypeMatchesPostPlatform
were using preg_replace to swap the leaf segment of a dotted attribute
path ("platforms.0.content_type" -> "platforms.0.social_account_id").
Cleaner with Str::beforeLast: derive the parent path once, then look
up the sibling under it. Same intent, no regex, and the rule no longer
encodes its own attribute name.
2026-05-04 13:06:13 -03:00
..
ContentTypeCompatibleWithMedia.php refactor: unify social analytics, reorganize workspace settings, and implement content validation rules 2026-05-02 12:22:42 -03:00
ContentTypeMatchesPlatform.php refactor: derive sibling key in content-type rules without regex 2026-05-04 13:06:13 -03:00
ContentTypeMatchesPostPlatform.php refactor: derive sibling key in content-type rules without regex 2026-05-04 13:06:13 -03:00
Timezone.php refactor: restructure to Actions, subdomain routes (app/api), API tokens 2026-03-29 19:24:28 -03:00