Skip to content

chore: updated brave scaffold implementing wp-acf-registrar#95

Merged
Rovasch merged 4 commits into
mainfrom
feat/wp-acf-registrar
Apr 28, 2026
Merged

chore: updated brave scaffold implementing wp-acf-registrar#95
Rovasch merged 4 commits into
mainfrom
feat/wp-acf-registrar

Conversation

@Rovasch
Copy link
Copy Markdown
Contributor

@Rovasch Rovasch commented Apr 14, 2026

This pull request updates dependencies and adds configuration for new plugins related to ACF (Advanced Custom Fields) registration in the project. The most significant changes are the addition of new packages for ACF management and the introduction of a configuration file for ACF Registrar.

Dependency updates and additions:

  • Added yard/acf-registrar and yard/brave-acf as new dependencies in composer.json to support advanced custom fields registration and management.
  • Updated yard/brave-scaffold dependency from version ^2.0 to ^3.0 in composer.json for improved scaffolding features.

Configuration:

  • Added a new configuration file web/app/themes/sage/config/acf-registrar.php that sets up arrays for field_groups, forms, and option_pages to be used by the ACF Registrar package.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 14, 2026

Composer package changes
Prod Packages Operation Base Target Link License
mck89/peast Upgraded v1.17.5 v1.17.6 Compare BSD-3-Clause
sentry/sentry Upgraded 4.24.0 4.25.0 Compare MIT
spatie/laravel-data Upgraded 4.22.0 4.22.1 Compare MIT
spatie/laravel-google-fonts Upgraded 1.5.0 1.6.0 Compare MIT
symfony/polyfill-ctype Upgraded v1.36.0 v1.37.0 Compare MIT
symfony/polyfill-intl-grapheme Upgraded v1.36.0 v1.37.0 Compare MIT
symfony/polyfill-intl-idn Upgraded v1.36.0 v1.37.0 Compare MIT
symfony/polyfill-intl-normalizer Upgraded v1.36.0 v1.37.0 Compare MIT
symfony/polyfill-mbstring Upgraded v1.36.0 v1.37.0 Compare MIT
symfony/polyfill-php80 Upgraded v1.36.0 v1.37.0 Compare MIT
symfony/polyfill-php83 Upgraded v1.36.0 v1.37.0 Compare MIT
vinkla/extended-acf New - 14.6.2 Compare MIT
voku/portable-ascii Upgraded 2.1.0 2.1.1 Compare MIT
yard/acf-registrar New - v2.0.0 Compare MIT
yard/brave-acf New - v1.1.0 Compare MIT
Dev Packages Operation Base Target Link License
symfony/polyfill-php81 Upgraded v1.36.0 v1.37.0 Compare MIT
symfony/polyfill-php84 Upgraded v1.36.0 v1.37.0 Compare MIT
yard/brave-scaffold Upgraded v2.0.2 v3.0.1 Compare MIT

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Brave’s scaffold/dependencies to support ACF registration via new Yard packages, and adds an initial Sage theme config entrypoint for ACF Registrar.

Changes:

  • Add yard/acf-registrar and yard/brave-acf dependencies for ACF field group/form/option page registration.
  • Bump yard/brave-scaffold from ^2.0 to ^3.0.
  • Introduce config/acf-registrar.php and scaffold a placeholder app/FieldGroups/ directory.

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 1 comment.

File Description
web/app/themes/sage/config/acf-registrar.php Adds initial ACF Registrar configuration arrays (field groups, forms, option pages).
web/app/themes/sage/app/FieldGroups/.gitignore Tracks the new FieldGroups directory via the repo’s .gitignore placeholder convention.
composer.json Adds ACF-related packages and bumps the scaffold dependency major version.
composer.lock Locks newly added ACF packages (and transitive deps) into the dependency graph.

Comment thread web/app/themes/sage/config/acf.php Outdated
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — straightforward dependency additions and empty scaffold config.

Extended reasoning...

Overview

This PR adds two new first-party Composer dependencies ( and ), bumps the dev-only from to , updates accordingly, adds a gitignore to track the empty directory, and introduces a boilerplate config file with empty arrays.

Security risks

None. All new packages are from the same organization (), and the third-party transitive dependency () is a well-established MIT-licensed library. The config file contains no executable logic — only commented-out class references in empty arrays.

Level of scrutiny

Low. This is a scaffold update with no business logic changes. The major version bump is dev-only and does not affect production. The config file is purely declarative and empty by default.

Other factors

No bugs were found by the automated system, no prior reviews exist, and the changes follow established patterns in the codebase (other packages, Acorn service provider registration via ).

@Rovasch Rovasch force-pushed the feat/wp-acf-registrar branch from 2dcbeab to 7118d7f Compare April 14, 2026 11:18
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — straightforward dependency addition and config scaffolding.

Extended reasoning...

Overview

This PR adds two new production Composer dependencies ( v2.0.0 and v1.1.0, plus their transitive dependency ), bumps the dev-only from to , updates the lock file accordingly, and adds a new empty config file at with placeholder arrays for , , and . A is also added to keep the directory tracked.

Security risks

None. The new packages are MIT-licensed libraries from the same organization that owns this project. The config file contains only static PHP arrays with commented-out placeholder values — no user input, no auth logic, no sensitive data.

Level of scrutiny

Low. This is a scaffold update and plugin wiring PR: adding established in-house packages and an empty configuration file. The major version bump is dev-only and already resolved in the lock file. No production logic is changed.

Other factors

Copilot left a style nit about array-bracket placement in (newline before vs. inline). This is cosmetic and does not affect correctness or security. No bugs were found by the automated bug hunter. No prior reviews from me exist on this PR.

Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — straightforward dependency additions and config stub; the inline comment covers the style nit.

Extended reasoning...

Overview

This PR adds two new internal yard packages ( v2.0, v1.1) as production dependencies, bumps the dev-only from to , updates the lock file accordingly, adds a placeholder to keep the directory in git, and introduces as a registration config stub.

Security risks

None. The new dependencies are first-party yard packages with MIT licences. The config file is pure PHP returning an array of empty placeholder arrays — no executable logic, no user input, no auth surface.

Level of scrutiny

Low. The meaningful changes are adding two trusted internal packages and a nearly-empty config stub. The lock file update is mechanical. The only finding is a style nit (comment spacing and bracket placement) in commented-out placeholder code with zero runtime impact.

Other factors

Copilot already left an inline suggestion for the style fix; the bug hunter report echoes the same nit. Both are marked as cosmetic with no functional consequence. The inline comments will surface this to the author. Given the trivial nature of the sole finding and the straightforward intent of the PR, approval is appropriate.

Comment thread web/app/themes/sage/config/acf.php Outdated
@Rovasch Rovasch force-pushed the feat/wp-acf-registrar branch from 4f97a87 to 508f983 Compare April 28, 2026 10:09
Comment thread composer.json Outdated
@Rovasch Rovasch merged commit bded413 into main Apr 28, 2026
3 checks passed
@Rovasch Rovasch deleted the feat/wp-acf-registrar branch April 28, 2026 12:29
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.

5 participants