Skip to content

Version correction - #182

Merged
mambax7 merged 2 commits into
XOOPS:masterfrom
mambax7:master
Aug 28, 2026
Merged

Version correction#182
mambax7 merged 2 commits into
XOOPS:masterfrom
mambax7:master

Conversation

@mambax7

@mambax7 mambax7 commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Summary by Sourcery

Finalize the project release metadata and remove obsolete release and test artifacts.

Documentation:

  • Remove the release post BBCode document.

Tests:

  • Remove the obsolete RebuildQueryString unit test.

Chores:

  • Update the reported XOOPS version from 2.7.3-RC1 to 2.7.3.

Summary by CodeRabbit

  • Release

    • XOOPS is now identified as version 2.7.3 Final instead of 2.7.3-RC1.
    • Users can expect the finalized release status to appear throughout the application.
  • Documentation

    • The release announcement content was removed from the packaged documentation.
  • Maintenance

    • Internal query-string validation coverage was removed without changing the documented user-facing behavior.

Copilot AI lite review requested due to automatic review settings August 28, 2026 14:16
@coderabbitai

coderabbitai Bot commented Aug 28, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: ba5e61f8-233e-40ce-a14d-06180c66a5e6

📥 Commits

Reviewing files that changed from the base of the PR and between 0ca55dc and 6ad1526.

📒 Files selected for processing (3)
  • docs/RELEASE_POST_BBCODE.txt
  • htdocs/include/version.php
  • tests/unit/htdocs/include/RebuildQueryStringTest.php
💤 Files with no reviewable changes (2)
  • tests/unit/htdocs/include/RebuildQueryStringTest.php
  • docs/RELEASE_POST_BBCODE.txt

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


Walkthrough

The changes finalize the XOOPS version string, remove the 2.7.3 release announcement content, and delete tests for query-string rebuilding.

Changes

Release finalization

Layer / File(s) Summary
Finalize release metadata
htdocs/include/version.php, docs/RELEASE_POST_BBCODE.txt
XOOPS_VERSION changes from XOOPS 2.7.3-RC1 to XOOPS 2.7.3. The release announcement file is emptied.
Remove query-string tests
tests/unit/htdocs/include/RebuildQueryStringTest.php
The RebuildQueryStringTest test class and its query-string, encoding, byte-safety, and redirect tests are removed.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: ⚪ Minimal · up to 6ad15

This change finalizes the release version metadata and removes obsolete release and test artifacts; no actionable merge-blocking risk remains after normal checks and review.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title identifies the main change: correcting the reported XOOPS version from the release candidate to the final release. It does not mention the removed release document or unit test, but the titl…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title identifies the main change: correcting the reported XOOPS version from the release candidate to the final release. It does not mention the removed release document or unit test, but the title does not need to cover every change.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

Some tools did not complete. Review the errors below.

🔧 PHPStan (2.2.8)

PHP Fatal error: Uncaught Error: Class "Nette\DI\ServiceCreationException" not found in /.cache/phpstan/phpstan/cache/nette.configurator/Container_ea160b8438.php:8682
Stack trace:
#0 phar:///usr/bin/phpstan/vendor/nette/di/src/DI/Container.php(51): Container_ea160b8438->getDynamicParameter()
#1 phar:///usr/bin/phpstan/vendor/nette/di/src/DI/Container.php(245): _PHPStan_b3f880679\Nette\DI\Container->_PHPStan_b3f880679\Nette\DI{closure}()
#2 phar:///usr/bin/phpstan/vendor/nette/di/src/DI/Container.php(50): _PHPStan_b3f880679\Nette\DI\Container->preventDeadLock()
#3 [internal function]: _PHPStan_b3f880679\Nette\DI\Container->getParameter()
#4 /.cache/phpstan/phpstan/cache/nette.configurator/Container_ea160b8438.php(8695): array_map()
#5 phar:///usr/bin/phpstan/src/DependencyInjection/Nette/NetteContainer.php(94): Container_ea160b8438->getParameters()
#6 phar:///usr/bin/phpstan/src/DependencyInjection/MemoizingContainer.php(57): PHPStan\DependencyInjection\Nette\NetteContainer->getParame

... [truncated 2699 characters] ...

an\Command\AnalyseCommand->execute()
#11 phar:///usr/bin/phpstan/vendor/symfony/console/Application.php(868): _PHPStan_b3f880679\Symfony\Component\Console\Command\Command->run()
#12 phar:///usr/bin/phpstan/vendor/symfony/console/Application.php(261): _PHPStan_b3f880679\Symfony\Component\Console\Application->doRunCommand()
#13 phar:///usr/bin/phpstan/vendor/symfony/console/Application.php(157): _PHPStan_b3f880679\Symfony\Component\Console\Application->doRun()
#14 phar:///usr/bin/phpstan/bin/phpstan(109): _PHPStan_b3f880679\Symfony\Component\Console\Application->run()
#15 phar:///usr/bin/phpstan/bin/phpstan(110): _PHPStan_b3f880679{closure}()
#16 /usr/bin/phpstan(7): require('...')
#17 {main}
thrown in /.cache/phpstan/phpstan/cache/nette.configurator/Container_ea160b8438.php on line 8682


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@sourcery-ai

sourcery-ai Bot commented Aug 28, 2026

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

Reviewer's Guide

This PR finalizes the reported XOOPS version as 2.7.3 and removes the release-post draft plus the RebuildQueryString unit test file.

File-Level Changes

Change Details Files
Promote the application version from the release candidate identifier to the final 2.7.3 identifier.
  • Update the central XOOPS version constant from 2.7.3-RC1 to 2.7.3.
htdocs/include/version.php
Remove release documentation and a unit test that are no longer included in the repository.
  • Delete the release post BBCode document.
  • Delete the RebuildQueryString unit test file.
docs/RELEASE_POST_BBCODE.txt
tests/unit/htdocs/include/RebuildQueryStringTest.php

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

@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 assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@codecov

codecov Bot commented Aug 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 20.23%. Comparing base (b4b30b3) to head (6ad1526).
⚠️ Report is 11 commits behind head on master.

Files with missing lines Patch % Lines
htdocs/include/version.php 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #182      +/-   ##
============================================
+ Coverage     20.18%   20.23%   +0.04%     
- Complexity     8217     8233      +16     
============================================
  Files           673      674       +1     
  Lines         44242    44297      +55     
============================================
+ Hits           8930     8962      +32     
- Misses        35312    35335      +23     

☔ 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.

@greptile-apps

greptile-apps Bot commented Aug 28, 2026

Copy link
Copy Markdown

Greptile Summary

The PR corrects the runtime version label from the 2.7.3 release candidate to 2.7.3 Final, but its merge also removes two release-related artifacts.

  • Updates XOOPS_VERSION to XOOPS 2.7.3.
  • Deletes the focused query-string rebuilding regression suite.
  • Deletes the BBCode-formatted final-release announcement.

Confidence Score: 4/5

The runtime version correction appears safe to merge, but restoring the deleted regression test and BBCode release artifact would avoid two non-blocking regressions.

The corrected version string does not affect inspected upgrade behavior, while the remaining concerns are loss of targeted automated coverage and a publication-ready documentation format rather than current runtime defects.

Files Needing Attention: tests/unit/htdocs/include/RebuildQueryStringTest.php, docs/RELEASE_POST_BBCODE.txt

Important Files Changed

Filename Overview
htdocs/include/version.php Corrects the displayed release identifier to 2.7.3 Final; inspected consumers do not introduce upgrade or compatibility failures.
tests/unit/htdocs/include/RebuildQueryStringTest.php Deletes the only direct regression coverage for a live, security-sensitive redirect query-string helper.
docs/RELEASE_POST_BBCODE.txt Deletes the publication-ready BBCode release announcement while equivalent content remains only in Markdown.

Comments Outside Diff (2)

  1. tests/unit/htdocs/include/RebuildQueryStringTest.php

    P2 Redirect regression coverage removed

    Deleting this file removes the only direct tests for the active xoops_rebuildQueryString() helper, so regressions in safe encoding or preservation of legitimate long redirect targets will no longer be caught by the PHPUnit suite.

    Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

  2. docs/RELEASE_POST_BBCODE.txt

    P2 BBCode release artifact removed

    Deleting this publication-ready BBCode announcement leaves only the Markdown version, requiring maintainers to reconstruct and recheck the xoops.org news-post formatting during the release process.

    Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Reviews (1): Last reviewed commit: "Merge branch 'master' of https://github...." | Re-trigger Greptile

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.

Pull request overview

This PR finalizes XOOPS 2.7.3 release metadata by updating the reported core version and removing obsolete release/test artifacts.

Changes:

  • Update XOOPS_VERSION from XOOPS 2.7.3-RC1 to XOOPS 2.7.3.
  • Remove the BBCode-formatted release post document.
  • Remove the RebuildQueryString unit test file.

Reviewed changes

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

File Description
htdocs/include/version.php Updates the core-reported XOOPS version string to the final 2.7.3 value.
docs/RELEASE_POST_BBCODE.txt Removes an obsolete BBCode release-post artifact.
tests/unit/htdocs/include/RebuildQueryStringTest.php Removes unit tests for the redirect query-string rebuilding helper.

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

Comment on lines 33 to +35
* Define XOOPS version
*/
define('XOOPS_VERSION', 'XOOPS 2.7.3-RC1');
define('XOOPS_VERSION', 'XOOPS 2.7.3');
@mambax7
mambax7 merged commit 6ad0a0c into XOOPS:master Aug 28, 2026
14 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