Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"vitexsoftware/ease-fluentpdo": "^1.4",
"vitexsoftware/ease-html-widgets": "^1.1",
"spojenet/csas-accountsapi": "^0.7",
"kint-php/kint": "^4.0"
"kint-php/kint": "^6.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.

💡 Verification agent

🧩 Analysis chain

Version bump to Kint ^6: check runtime PHP compatibility and BC changes

Upgrading Kint to major version 6 can introduce runtime requirements and subtle behavior changes. Ensure:

  • Your runtime PHP version meets Kint v6’s minimum requirement.
  • All usages (e.g., Kint::dump(), Kint::$enabled, d(), dd(), s()) continue to work as expected.

Run this script to quickly locate Kint usages and verify the presence of a PHP platform constraint:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "==> Checking composer.json for PHP constraint"
jq -r '.require.php // "MISSING_PHP_CONSTRAINT"' composer.json

echo
echo "==> Searching for Kint usages in the codebase"
# Common Kint usage patterns: static calls and helper functions
rg -nP --type=php -C2 '\bKint::|\bd\(|\bdd\(|\bs\(|\bKint\b' || true

echo
echo "==> If PHP constraint is missing, consider adding one that matches your production PHP version."

Length of output: 1285


🌐 Web query:

What is the minimum PHP version requirement for kint-php/kint version 6.0?

💡 Result:

The minimum PHP version required for kint-php/kint version 6.0 is PHP 7.4 or greater[1].

The official package specification for kint-php/kint—including version 6.0 and its immediate releases—lists

Requires

  • php: >=7.4
    as its core requirement[1].

No search results indicate any higher requirement for kint-php/kint 6.0, nor is there evidence that versions subsequent to 6.0 raised this threshold.

Additional relevant detail:

  • While PHP 7.4 is the minimum, using newer PHP versions (such as PHP 8.x) is likely to improve performance and security but is not strictly required for compatibility with kint-php/kint 6.0[1].
  • For development dependencies (like phpunit or PHP CS Fixer), more recent PHP versions may sometimes be required, but these do not affect the runtime minimum for core Kint usage[1].

In summary, if your environment runs PHP 7.4 or newer, kint-php/kint version 6.0 will function as intended.

Citations:


Add PHP ≥7.4 constraint for Kint v6 compatibility

composer.json doesn’t currently specify a PHP runtime requirement, but kint-php/kint v6 requires PHP 7.4 or greater. Without this constraint, Composer may install the package on unsupported PHP versions.

• In composer.json, under "require", add:

"php": ">=7.4",
"kint-php/kint": "^6.0"

• Confirm your production and CI environments run PHP 7.4+.
• Verify existing Kint usages (e.g. in src/token.php) continue to work as expected.

🤖 Prompt for AI Agents
In composer.json around line 26, the project lacks a PHP runtime constraint but
kint-php/kint v6 requires PHP >=7.4; update the "require" section to add a php
constraint of ">=7.4" alongside the existing "kint-php/kint": "^6.0", then run
composer update/validate to ensure Composer honors the platform requirement and
confirm CI/production PHP versions are 7.4+ and that existing Kint usages (e.g.,
src/token.php) still work.

},
"require-dev": {
"robmorgan/phinx": "^0.16",
Expand Down