Skip to content

Fixing deprecation in PHP 8.5 - #86

Merged
kamilwylegala merged 3 commits into
masterfrom
php-8.5
Feb 22, 2026
Merged

kamilwylegala merged 3 commits into
masterfrom
php-8.5

Conversation

@kamilwylegala

Copy link
Copy Markdown
Owner

No description provided.

@kamilwylegala
kamilwylegala merged commit d9f6508 into master Feb 22, 2026
4 checks passed
@kamilwylegala
kamilwylegala deleted the php-8.5 branch February 22, 2026 19:37
basi pushed a commit to basi/cakephp2-php8 that referenced this pull request Sep 29, 2026
… 8.5

PDO::MYSQL_ATTR_* constants are deprecated in PHP 8.5 in favor of the
Pdo\Mysql class (available since PHP 8.1). Use the new constants when
available, falling back to the deprecated ones on older PHP.

The other two commits in PR kamilwylegala#86 were intentionally not applied:
- "Removed ancient code sniffer." drops cakephp/cakephp-codesniffer from
  composer.json, but this fork deliberately keeps it with documented
  advisory exceptions (CVE-2026-67434, PKSA-6vdd-n4sx-knhy).
- "Skip DNS resolution failure." patches a DNS-dependent HttpSocketTest
  that this fork already replaced with a local TLS fixture server
  (c9c3b9a, 8ebbcbd), so the fix no longer applies.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.

1 participant