Skip to content

chore: add PHP 8.5 support and modernize code style#73

Open
4ubi wants to merge 1 commit into
mindbox-cloud:masterfrom
4ubi:chore/php-8.5-support
Open

chore: add PHP 8.5 support and modernize code style#73
4ubi wants to merge 1 commit into
mindbox-cloud:masterfrom
4ubi:chore/php-8.5-support

Conversation

@4ubi

@4ubi 4ubi commented Jun 8, 2026

Copy link
Copy Markdown
  • Bump minimum PHP to 8.4 in composer.json (required for http_get_last_response_headers())
  • Fix PHP 8.4+ implicitly-nullable parameter deprecations by adding explicit ?Type on nullable params (Clients, ProductListHelper)
  • Replace deprecated $http_response_header with http_get_last_response_headers() in MindboxStream
  • Switch phpcs ruleset from deprecated PSR2 to PSR12 and reformat codebase accordingly (phpcbf)
  • Update CI to a PHP 8.4/8.5 matrix; remove obsolete .travis.yml
  • Update docs to state PHP 8.4+ requirement

- Bump minimum PHP to 8.4 in composer.json (required for
  http_get_last_response_headers())
- Fix PHP 8.4+ implicitly-nullable parameter deprecations by adding
  explicit ?Type on nullable params (Clients, ProductListHelper)
- Replace deprecated $http_response_header with
  http_get_last_response_headers() in MindboxStream
- Switch phpcs ruleset from deprecated PSR2 to PSR12 and reformat
  codebase accordingly (phpcbf)
- Update CI to a PHP 8.4/8.5 matrix; remove obsolete .travis.yml
- Update docs to state PHP 8.4+ requirement

Co-Authored-By: Claude Opus 4.8 <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