Skip to content

chore: update PHP & JS dependencies and fix frontend asset build (admin-lte v4)#7

Merged
TraXXX86 merged 1 commit into
mainfrom
codex/update-outdated-dependencies
Feb 10, 2026
Merged

chore: update PHP & JS dependencies and fix frontend asset build (admin-lte v4)#7
TraXXX86 merged 1 commit into
mainfrom
codex/update-outdated-dependencies

Conversation

@TraXXX86

Copy link
Copy Markdown
Collaborator

Motivation

  • Bring PHP and JavaScript dependencies up to recent compatible versions and regenerate lockfiles to reduce technical debt and fix frontend build breakages after upgrades.
  • Adjust frontend imports to match admin-lte v4 layout so the webpack build can succeed.

Description

  • Updated package.json to newer JS versions (FullCalendar v6, admin-lte ^4.0.0-rc6, jquery 4.x, webpack 5.105, sass/sass-loader etc.) and added jquery-ui-dist; regenerated package-lock.json.
  • Edited assets/js/adminlte.js to import @popperjs/core, bootstrap bundle and jquery (replacing old admin-lte/plugins/* and jquery/dist/jquery.min references) to match new package layout.
  • Ran composer update --no-interaction and updated PHP packages and recipes, added phpstan.dist.neon, updated .gitignore and refreshed composer.lock and symfony.lock.
  • Committed changes on branch chore/update-dependencies with message chore: update php and js dependencies and prepared the PR.

Testing

  • Ran npm outdated --json which returned {} after updates, indicating no remaining outdated npm deps (success).
  • Executed composer update --no-interaction and the Composer install/update completed and lockfile was written (success).
  • Ran npm run build (webpack Encore production); build completes after the asset import fixes but emits Sass @import deprecation warnings (build OK with warnings).
  • Ran php bin/console about to sanity-check Symfony runtime (success).
  • Ran vendor/bin/simple-phpunit --testdox; PHPUnit executed but the test suite failed with functional errors and failures (Tests: 33, Assertions: 42, Errors: 10, Failures: 10); these appear to be application-level/fixture/route issues in the test environment rather than dependency resolution problems (failure).

Codex Task

@TraXXX86 TraXXX86 merged commit 991e601 into main Feb 10, 2026
1 check passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e43cd30fe7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package.json
"jquery": "^3.6.4",
"highlight.js": "^11.11.1",
"imports-loader": "^5.0.0",
"jquery": "^4.0.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep jQuery on a 3.x line until legacy plugins are migrated

Bumping jquery to ^4.0.0 introduces an incompatible runtime mix with the legacy Bootstrap 3/plugin stack that is still in use (the app entry still imports bootstrap-sass modules, and the updated lockfile now records packages that only support jQuery 1–3, e.g. eonasdan-bootstrap-datetimepicker and jquery-ui-dist). On pages that load these widgets, this can break interactive behavior (modals/dropdowns/date inputs) because those plugins are not validated against jQuery 4 APIs.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant