Skip to content

(feat): acorn 5.0#22

Open
rivanuff wants to merge 15 commits into
mainfrom
feat/acorn-5
Open

(feat): acorn 5.0#22
rivanuff wants to merge 15 commits into
mainfrom
feat/acorn-5

Conversation

@rivanuff
Copy link
Copy Markdown

@rivanuff rivanuff commented Aug 20, 2025

Voorbeeld van implementatie:

https://github.com/yardinternet/UMCNL/pull/68

@rivanuff rivanuff requested review from a team, Rovasch, SimonvanWijhe, YvetteNikolov, dtakken, hnccox-yard, ictbeheer, mvdhoek1 and robertbossaert and removed request for a team August 20, 2025 13:18
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Aug 20, 2025

Composer package changes
Prod Packages Operation Base Target Link License
brick/math Upgraded 0.12.3 0.14.8 Compare MIT
carbonphp/carbon-doctrine-types Upgraded 2.1.0 3.2.0 Compare MIT
dragonmantank/cron-expression Upgraded v3.5.0 v3.6.0 Compare MIT
guzzlehttp/guzzle Upgraded 7.9.3 7.10.0 Compare MIT
guzzlehttp/promises Upgraded 2.2.0 2.3.0 Compare MIT
laravel/framework Upgraded 10.50.2 v12.56.0 Compare MIT
laravel/prompts Upgraded v0.1.25 v0.3.16 Compare MIT
laravel/serializable-closure Upgraded v1.3.7 v2.0.10 Compare MIT
league/uri New - 7.8.1 Compare MIT
league/uri-interfaces New - 7.8.1 Compare MIT
nesbot/carbon Upgraded 2.73.0 3.11.3 Compare MIT
nette/utils Upgraded v4.0.10 v4.1.3 Compare BSD-3-Clause, GPL-2.0-only, GPL-3.0-only
nunomaduro/termwind Upgraded v1.17.0 v2.4.0 Compare MIT
roots/acorn Upgraded v4.3.1 v5.1.1 Compare MIT
sentry/sentry Upgraded 4.23.1 4.24.0 Compare MIT
spatie/laravel-package-tools Upgraded 1.92.4 1.93.0 Compare MIT
symfony/clock New - v7.4.8 Compare MIT
symfony/console Upgraded v6.4.35 v7.4.8 Compare MIT
symfony/css-selector Upgraded v6.4.34 v7.4.8 Compare MIT
symfony/error-handler Upgraded v6.4.32 v7.4.8 Compare MIT
symfony/event-dispatcher Upgraded v6.4.32 v7.4.8 Compare MIT
symfony/finder Upgraded v6.4.34 v7.4.8 Compare MIT
symfony/http-foundation Upgraded v6.4.35 v7.4.8 Compare MIT
symfony/http-kernel Upgraded v6.4.35 v7.4.8 Compare MIT
symfony/mailer Upgraded v6.4.34 v7.4.8 Compare MIT
symfony/mime Upgraded v6.4.35 v7.4.8 Compare MIT
symfony/options-resolver Upgraded v6.4.30 v7.4.8 Compare MIT
symfony/polyfill-php84 New - v1.33.0 Compare MIT
symfony/polyfill-php85 New - v1.33.0 Compare MIT
symfony/process Upgraded v6.4.33 v7.4.8 Compare MIT
symfony/psr-http-message-bridge Upgraded v6.4.32 v7.4.8 Compare MIT
symfony/routing Upgraded v6.4.34 v7.4.8 Compare MIT
symfony/string Upgraded v6.4.34 v7.4.8 Compare MIT
symfony/translation Upgraded v6.4.34 v7.4.8 Compare MIT
symfony/uid Upgraded v6.4.32 v7.4.8 Compare MIT
symfony/var-dumper Upgraded v6.4.32 v7.4.8 Compare MIT
php Changed >=8.1 >=8.2
Dev Packages Operation Base Target Link License
filp/whoops Upgraded 2.18.3 2.18.4 Compare MIT
friendsofphp/php-cs-fixer Upgraded v3.89.0 v3.94.2 Compare MIT
iamcal/sql-parser Upgraded v0.5 v0.7 Compare MIT
larastan/larastan Upgraded v2.11.2 v3.9.3 Compare MIT
laravel/pail New - v1.2.6 Compare MIT
laravel/tinker Upgraded v2.10.1 v2.11.1 Compare MIT
nunomaduro/collision Upgraded v7.12.0 v8.9.2 Compare MIT
orchestra/canvas Upgraded v8.12.0 v10.2.0 Compare MIT
orchestra/canvas-core Upgraded v8.10.2 v10.2.0 Compare MIT
orchestra/sidekick Upgraded v1.2.12 v1.2.20 Compare MIT
orchestra/testbench Upgraded v8.36.0 v10.11.0 Compare MIT
orchestra/testbench-core Upgraded v8.38.0 v10.12.1 Compare MIT
orchestra/workbench Upgraded v8.17.5 v10.1.0 Compare MIT
php-stubs/wordpress-stubs Upgraded v6.8.1 v6.9.1 Compare MIT
phpstan/phpstan Upgraded 1.12.27 2.1.46 MIT
phpunit/php-code-coverage Upgraded 10.1.16 11.0.12 Compare BSD-3-Clause
phpunit/php-file-iterator Upgraded 4.1.0 5.1.1 Compare BSD-3-Clause
phpunit/php-invoker Upgraded 4.0.0 5.0.1 Compare BSD-3-Clause
phpunit/php-text-template Upgraded 3.0.1 4.0.1 Compare BSD-3-Clause
phpunit/php-timer Upgraded 6.0.0 7.0.1 Compare BSD-3-Clause
phpunit/phpunit Upgraded 10.5.63 11.5.55 Compare BSD-3-Clause
psy/psysh Upgraded v0.12.19 v0.12.22 Compare MIT
react/child-process Upgraded v0.6.6 v0.6.7 Compare MIT
react/dns Upgraded v1.13.0 v1.14.0 Compare MIT
react/event-loop Upgraded v1.5.0 v1.6.0 Compare MIT
react/socket Upgraded v1.16.0 v1.17.0 Compare MIT
sebastian/cli-parser Upgraded 2.0.1 3.0.2 Compare BSD-3-Clause
sebastian/code-unit Upgraded 2.0.0 3.0.3 Compare BSD-3-Clause
sebastian/code-unit-reverse-lookup Upgraded 3.0.0 4.0.1 Compare BSD-3-Clause
sebastian/comparator Upgraded 5.0.5 6.3.3 Compare BSD-3-Clause
sebastian/complexity Upgraded 3.2.0 4.0.1 Compare BSD-3-Clause
sebastian/diff Upgraded 5.1.1 6.0.2 Compare BSD-3-Clause
sebastian/environment Upgraded 6.1.0 7.2.1 Compare BSD-3-Clause
sebastian/exporter Upgraded 5.1.4 6.3.2 Compare BSD-3-Clause
sebastian/global-state Upgraded 6.0.2 7.0.2 Compare BSD-3-Clause
sebastian/lines-of-code Upgraded 2.0.2 3.0.1 Compare BSD-3-Clause
sebastian/object-enumerator Upgraded 5.0.0 6.0.1 Compare BSD-3-Clause
sebastian/object-reflector Upgraded 3.0.0 4.0.1 Compare BSD-3-Clause
sebastian/recursion-context Upgraded 5.0.1 6.0.3 Compare BSD-3-Clause
sebastian/type Upgraded 4.0.0 5.1.3 Compare BSD-3-Clause
sebastian/version Upgraded 4.0.1 5.0.2 Compare BSD-3-Clause
staabm/side-effects-detector New - 1.0.5 Compare MIT
symfony/filesystem Upgraded v6.4.24 v7.4.8 Compare MIT
symfony/stopwatch Upgraded v6.4.24 v7.4.8 Compare MIT
symfony/yaml Upgraded v6.4.21 v7.4.8 Compare MIT
szepeviktor/phpstan-wordpress Upgraded v1.3.5 v2.0.3 Compare MIT
symfony/polyfill-php73 Removed v1.33.0 - Compare MIT
symfony/polyfill-php84 Removed v1.33.0 - Compare MIT

@rivanuff rivanuff changed the title (feat): acorn 5.0 + php 8.2 @rivanuff (feat): acorn 5.0 + php 8.2 Aug 20, 2025
Comment thread .github/workflows/format-php.yml Outdated
Comment thread .github/workflows/phpstan.yml Outdated
@SimonvanWijhe
Copy link
Copy Markdown
Member

SimonvanWijhe commented Aug 25, 2025

#260

Comment thread src/helpers.php
->withMiddleware(function (Middleware $middleware) {
$middleware->append(AddCspHeaders::class);
})
->withRouting(wordpress: true)
Copy link
Copy Markdown
Author

@rivanuff rivanuff Aug 30, 2025

Choose a reason for hiding this comment

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

Heb wat getest hiermee, wordpress: true zorgt er iig voor dat de CSP headers niet meer via brave-hooks dmv de send_headers hook moeten worden toegevoegd.

@dtakken
Copy link
Copy Markdown
Contributor

dtakken commented Oct 3, 2025

Bij deze even opletten dat deze commit er ook in verwerkt wordt: 5113678

Copilot AI review requested due to automatic review settings March 13, 2026 15:26
@rivanuff rivanuff requested a review from a team as a code owner March 13, 2026 15:26
@rivanuff rivanuff requested review from ShunLuk and SimonvanWijhe and removed request for hnccox-yard and robertbossaert March 13, 2026 15:26
Copy link
Copy Markdown

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 this package to support Roots Acorn v5 and PHP 8.2, replacing the prior Acorn v4 bootloader customization approach with the new configuration/builder style used by Acorn 5.

Changes:

  • Upgrade platform/runtime requirements to PHP 8.2 and bump Acorn + dev tooling dependencies.
  • Rework bootloader() to use Application::configure() with exception + middleware configuration hooks.
  • Remove now-redundant custom Kernel/Handler/Vite wrapper classes and adjust view composer attachment logic.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/helpers.php Switch bootstrapping to Acorn 5 Application::configure() and configure bindings/exceptions/middleware.
src/View/ViewServiceProvider.php Simplify composer config check when attaching view composers.
src/Http/Kernel.php Remove custom HTTP kernel (CSP now configured via middleware hook).
src/Exceptions/Handler.php Remove custom exception handler (Sentry now configured via exceptions hook).
src/Assets/Vite.php Remove custom Vite wrapper class.
composer.json Bump PHP + Acorn requirements and update dev tooling versions.
README.md Update documented PHP requirement and bootloader usage example.
.github/workflows/phpstan.yml YAML formatting/quoting update for PR path filters.
.github/workflows/format-php.yml YAML formatting/quoting update for PR path filters.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines 15 to 17
/** @var array<Composer> */
$composers = $this->app->get('config')->get('view.composers', []);

Comment thread README.md
Comment thread src/helpers.php Outdated
@rivanuff rivanuff force-pushed the feat/acorn-5 branch 2 times, most recently from 72a8032 to 3290497 Compare March 13, 2026 15:43
@rivanuff rivanuff changed the base branch from main to feat/php8.2 April 3, 2026 12:16
@rivanuff rivanuff changed the title (feat): acorn 5.0 + php 8.2 (feat): acorn 5.0 Apr 3, 2026
Base automatically changed from feat/php8.2 to main April 3, 2026 13:30
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.

6 participants