Skip to content

chore(lib): update bundled vendor libraries - #265

Merged
mambax7 merged 1 commit into
XOOPS:masterfrom
mambax7:chore/vendor-library-updates
Oct 9, 2026
Merged

mambax7 merged 1 commit into
XOOPS:masterfrom
mambax7:chore/vendor-library-updates

Conversation

@mambax7

@mambax7 mambax7 commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

HTML Purifier 4.19.1, firebase/php-jwt 7.2.1, Monolog 3.12.1, Punic 3.8.2, Smarty 4.5.8, symfony/polyfill-mbstring 1.43.0, symfony/var-dumper 7.4.18, symfony/yaml 7.4.20, TCPDF 6.11.4 and webmozart/assert 2.5.0. All fit the existing composer.dist.json constraints; only the lock file and vendor/ change.

Summary by Sourcery

Update the bundled PHP dependencies to current compatible versions.

Enhancements:

  • Refresh the bundled PHP vendor libraries to newer compatible releases, including HTML Purifier, Firebase JWT, Monolog, Punic, Smarty, Symfony components, TCPDF, and Webmozart Assert.

Build:

  • Regenerate the Composer lockfile and bundled autoload and package metadata.

Chores:

  • Record the dependency refresh in the changelog.

HTML Purifier 4.19.1, firebase/php-jwt 7.2.1, Monolog 3.12.1,
Punic 3.8.2, Smarty 4.5.8, symfony/polyfill-mbstring 1.43.0,
symfony/var-dumper 7.4.18, symfony/yaml 7.4.20, TCPDF 6.11.4 and
webmozart/assert 2.5.0. All fit the existing composer.dist.json
constraints; only the lock file and vendor/ change.
Copilot AI balanced review requested due to automatic review settings October 9, 2026 05:35
@sourcery-ai

sourcery-ai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR updates ten bundled third-party PHP libraries to newer constraint-compatible patch/minor releases by refreshing composer.dist.lock and the committed vendor tree, regenerating Composer metadata, and documenting the update; no application dependency constraints are changed.

File-Level Changes

Change Details Files
Refresh the committed Composer dependency resolution and generated vendor tree to newer compatible releases.
  • Update the lockfile package versions and metadata for ten bundled libraries while retaining existing composer.dist.json constraints.
  • Replace corresponding vendor sources, package metadata, changelogs, and newly included files for HTML Purifier, firebase/php-jwt, Monolog, Punic, Smarty, Symfony polyfill-mbstring/var-dumper/yaml, TCPDF, and webmozart/assert.
  • Regenerate Composer autoload and installed-package metadata to match the updated vendor contents.
  • Record the dependency refresh in the project changelog.
htdocs/xoops_lib/composer.dist.lock
htdocs/xoops_lib/vendor/composer/autoload_classmap.php
htdocs/xoops_lib/vendor/composer/autoload_static.php
htdocs/xoops_lib/vendor/composer/installed.json
htdocs/xoops_lib/vendor/composer/installed.php
htdocs/xoops_lib/vendor/ezyang/htmlpurifier/**
htdocs/xoops_lib/vendor/firebase/php-jwt/**
htdocs/xoops_lib/vendor/monolog/monolog/**
htdocs/xoops_lib/vendor/punic/punic/**
htdocs/xoops_lib/vendor/smarty/smarty/**
htdocs/xoops_lib/vendor/symfony/polyfill-mbstring/**
htdocs/xoops_lib/vendor/symfony/var-dumper/**
htdocs/xoops_lib/vendor/symfony/yaml/**
htdocs/xoops_lib/vendor/tecnickcom/tcpdf/**
htdocs/xoops_lib/vendor/webmozart/assert/**
docs/changelog.270.txt

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai

coderabbitai Bot commented Oct 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository: XOOPS/XoopsCore27/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 80560ff7-d842-4a91-8b2a-8f4af1f537dc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@gitar-bot

gitar-bot Bot commented Oct 9, 2026

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@codecov

codecov Bot commented Oct 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 22.54%. Comparing base (64e098e) to head (e65262d).
⚠️ Report is 13 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #265      +/-   ##
============================================
- Coverage     22.54%   22.54%   -0.01%     
  Complexity     8666     8666              
============================================
  Files           685      685              
  Lines         46315    46316       +1     
============================================
  Hits          10444    10444              
- Misses        35871    35872       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Monolog’s new hourly rotation mode calculates its next rotation at midnight, so long-running processes do not rotate logs hourly.

0 open findings

What changed in this PR

Updates ten bundled PHP dependencies, refreshes Composer metadata/autoloading, and records the upgrade.

Changes:

  • Upgrades HTML Purifier, JWT, Monolog, Punic, Smarty, Symfony components, TCPDF, and Webmozart Assert.
  • Incorporates upstream security, parser, logging, and compatibility fixes.
  • Updates curated release notes.
File Description
htdocs/​xoops_lib/​vendor/​webmozart/​assert/​src/​Mixin.php Adds assertion variants and generics.
htdocs/​xoops_lib/​vendor/​webmozart/​assert/​src/​Assert.php Adds multi-key assertions.
htdocs/​xoops_lib/​vendor/​webmozart/​assert/​README.md Documents keysExist().
htdocs/​xoops_lib/​vendor/​webmozart/​assert/​CHANGELOG.md Records 2.5.0 changes.
htdocs/​xoops_lib/​vendor/​tecnickcom/​tcpdf/​VERSION Updates TCPDF version.
htdocs/​xoops_lib/​vendor/​tecnickcom/​tcpdf/​tcpdf.php Adds deprecation notice.
htdocs/​xoops_lib/​vendor/​tecnickcom/​tcpdf/​tcpdf_barcodes_2d.php Marks API deprecated.
htdocs/​xoops_lib/​vendor/​tecnickcom/​tcpdf/​tcpdf_barcodes_1d.php Marks API deprecated.
htdocs/​xoops_lib/​vendor/​tecnickcom/​tcpdf/​SECURITY.md Adds security policy.
htdocs/​xoops_lib/​vendor/​tecnickcom/​tcpdf/​README.md Expands migration guidance.
htdocs/​xoops_lib/​vendor/​tecnickcom/​tcpdf/​include/​tcpdf_static.php Updates version and deprecation metadata.
htdocs/​xoops_lib/​vendor/​tecnickcom/​tcpdf/​include/​tcpdf_images.php Marks class deprecated.
htdocs/​xoops_lib/​vendor/​tecnickcom/​tcpdf/​include/​tcpdf_fonts.php Marks class deprecated.
htdocs/​xoops_lib/​vendor/​tecnickcom/​tcpdf/​include/​tcpdf_font_data.php Marks class deprecated.
htdocs/​xoops_lib/​vendor/​tecnickcom/​tcpdf/​include/​tcpdf_filters.php Marks class deprecated.
htdocs/​xoops_lib/​vendor/​tecnickcom/​tcpdf/​include/​tcpdf_colors.php Marks class deprecated.
htdocs/​xoops_lib/​vendor/​tecnickcom/​tcpdf/​include/​barcodes/​qrcode.php Marks class deprecated.
htdocs/​xoops_lib/​vendor/​tecnickcom/​tcpdf/​include/​barcodes/​pdf417.php Marks class deprecated.
htdocs/​xoops_lib/​vendor/​tecnickcom/​tcpdf/​include/​barcodes/​datamatrix.php Marks class deprecated.
htdocs/​xoops_lib/​vendor/​tecnickcom/​tcpdf/​composer.json Marks package abandoned.
htdocs/​xoops_lib/​vendor/​tecnickcom/​tcpdf/​CHANGELOG.TXT Records 6.11.4.
htdocs/​xoops_lib/​vendor/​symfony/​yaml/​Parser.php Updates YAML parsing behavior.
htdocs/​xoops_lib/​vendor/​symfony/​yaml/​Inline.php Updates inline YAML handling.
htdocs/​xoops_lib/​vendor/​symfony/​var-dumper/​Dumper/​CliDumper.php Improves terminal detection.
htdocs/​xoops_lib/​vendor/​symfony/​var-dumper/​composer.json Adds Twig 4 compatibility.
htdocs/​xoops_lib/​vendor/​symfony/​var-dumper/​Command/​Descriptor/​HtmlDescriptor.php Escapes HTML descriptor data.
htdocs/​xoops_lib/​vendor/​symfony/​var-dumper/​Command/​Descriptor/​CliDescriptor.php Sanitizes CLI descriptor data.
htdocs/​xoops_lib/​vendor/​symfony/​var-dumper/​Caster/​SplCaster.php Handles newer SPL deprecations.
htdocs/​xoops_lib/​vendor/​symfony/​var-dumper/​Caster/​DateCaster.php Improves period calculation.
htdocs/​xoops_lib/​vendor/​smarty/​smarty/​libs/​sysplugins/​smarty_internal_runtime_updatecache.php Fixes cache code injection.
htdocs/​xoops_lib/​vendor/​smarty/​smarty/​libs/​Smarty.class.php Updates Smarty version.
htdocs/​xoops_lib/​vendor/​smarty/​smarty/​CHANGELOG.md Records 4.5.8 security fix.
htdocs/​xoops_lib/​vendor/​punic/​punic/​src/​Unit.php Applies formatting correction.
htdocs/​xoops_lib/​vendor/​punic/​punic/​src/​Territory.php Corrects PHPDoc type.
htdocs/​xoops_lib/​vendor/​punic/​punic/​CHANGELOG.md Records 3.8.2.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Utils.php Adds formatter and sensitivity utilities.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Processor/​IntrospectionProcessor.php Makes skip functions overridable.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Logger.php Adds PSR clock support.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Handler/​TelegramBotHandler.php Improves Telegram handling.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Handler/​SyslogUdpHandler.php Adds datagram-size control.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Handler/​SyslogUdp/​UdpSocket.php Enforces configured datagram size.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Handler/​StreamHandler.php Handles partial writes.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Handler/​SocketHandler.php Corrects write timeout tracking.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Handler/​RotatingFileHandler.php Adds hourly rotation and wrapper cleanup.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Handler/​LogMonsterHandler.php Adds activity watchdog handler.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Handler/​FrankenPhpHandler.php Adds FrankenPHP handler.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Handler/​FlowdockHandler.php Supports wrapped formatters.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Handler/​ErrorLogHandler.php Removes unused import.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Handler/​ElasticsearchHandler.php Supports wrapped formatters.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Handler/​ElasticaHandler.php Supports wrapped formatters.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Handler/​DeduplicationHandler.php Improves concurrent store writes.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Handler/​BrowserConsoleHandler.php Prevents console-output XSS.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Handler/​AbstractProcessingHandler.php Honors bubble overrides.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Formatter/​WrappingFormatterInterface.php Defines formatter decorators.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Formatter/​RedactingFormatter.php Adds sensitive-data redaction.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Formatter/​NormalizerFormatter.php Improves trace normalization.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Formatter/​JsonFormatter.php Corrects scalar normalization.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Formatter/​GelfMessageFormatter.php Handles empty record fields.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​ErrorHandler.php Adds error stack capture.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​src/​Monolog/​Attribute/​WithMonologChannel.php Supports parameter targets.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​README.md Updates logo reference.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​composer.json Adds optional PSR clock support.
htdocs/​xoops_lib/​vendor/​monolog/​monolog/​CHANGELOG.md Records 3.11–3.12.1 changes.
htdocs/​xoops_lib/​vendor/​firebase/​php-jwt/​VERSION Adds version marker.
htdocs/​xoops_lib/​vendor/​firebase/​php-jwt/​src/​Key.php Applies formatting correction.
htdocs/​xoops_lib/​vendor/​firebase/​php-jwt/​src/​JWT.php Bounds JWT segment splitting.
htdocs/​xoops_lib/​vendor/​firebase/​php-jwt/​src/​JWK.php Reformats documentation.
htdocs/​xoops_lib/​vendor/​firebase/​php-jwt/​composer.json Refreshes development metadata.
htdocs/​xoops_lib/​vendor/​firebase/​php-jwt/​CHANGELOG.md Records JWT bug fix.
htdocs/​xoops_lib/​vendor/​ezyang/​htmlpurifier/​VERSION Updates HTML Purifier version.
htdocs/​xoops_lib/​vendor/​ezyang/​htmlpurifier/​library/​HTMLPurifier/​URISchemeRegistry.php Handles null schemes.
htdocs/​xoops_lib/​vendor/​ezyang/​htmlpurifier/​library/​HTMLPurifier/​Lexer.php Normalizes input type.
htdocs/​xoops_lib/​vendor/​ezyang/​htmlpurifier/​library/​HTMLPurifier/​Injector/​RemoveSpansWithoutAttributes.php Updates storage API calls.
htdocs/​xoops_lib/​vendor/​ezyang/​htmlpurifier/​library/​HTMLPurifier/​Filter/​ExtractStyleBlocks.php Normalizes filter input.
htdocs/​xoops_lib/​vendor/​ezyang/​htmlpurifier/​library/​HTMLPurifier/​DefinitionCache/​Serializer.php Corrects cache permissions.
htdocs/​xoops_lib/​vendor/​ezyang/​htmlpurifier/​library/​HTMLPurifier/​Config.php Updates version metadata.
htdocs/​xoops_lib/​vendor/​ezyang/​htmlpurifier/​library/​HTMLPurifier.php Updates version and string handling.
htdocs/​xoops_lib/​vendor/​ezyang/​htmlpurifier/​library/​HTMLPurifier.includes.php Updates generated metadata.
htdocs/​xoops_lib/​vendor/​composer/​installed.php Refreshes installed-package metadata.
htdocs/​xoops_lib/​vendor/​composer/​installed.json Refreshes installed-package metadata.
htdocs/​xoops_lib/​vendor/​composer/​autoload_static.php Registers new Monolog classes.
htdocs/​xoops_lib/​vendor/​composer/​autoload_classmap.php Registers new Monolog classes.
htdocs/​xoops_lib/​composer.dist.lock Locks upgraded dependencies.
docs/​changelog.270.txt Records bundled library versions.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@mambax7
mambax7 merged commit 62ab6b5 into XOOPS:master Oct 9, 2026
18 checks passed
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.

2 participants