Skip to content

Update dependencies: PHP 8.4+, PHPUnit 13, PHPCS 4.x#16

Closed
asakasinsky wants to merge 1 commit into
hexlet-components:mainfrom
asakasinsky:update-dependencies-2026
Closed

Update dependencies: PHP 8.4+, PHPUnit 13, PHPCS 4.x#16
asakasinsky wants to merge 1 commit into
hexlet-components:mainfrom
asakasinsky:update-dependencies-2026

Conversation

@asakasinsky

Copy link
Copy Markdown

Summary

Update project dependencies to latest stable versions:

Changes

  • PHP: →
  • phpunit/phpunit: →
  • php_codesniffer: (abandoned) →
  • CI: PHP 8.4 only, setup-php@v2.37.0

Breaking Changes

  • PHPUnit 13 requires PHP 8.4+ (CI updated accordingly)
  • PHPCS 4.x is a significant update with breaking changes for custom sniffs (not applicable here)

Verification

  • composer exec phpunit -- tests
    PHPUnit 13.1.12 by Sebastian Bergmann and contributors.

Runtime: PHP 8.5.5
Configuration: /Users/asakasinsky/Workspace/hexlet/ai-assisted-development-fundamentals/php-pairs/phpunit.xml

... 3 / 3 (100%)

Time: 00:00, Memory: 16.00 MB

�[4mPairs (Php\Pairs\Tests\Pairs)�[0m
�[32m ✔ �[0mPairs
�[32m ✔ �[0mTo string
�[32m ✔ �[0mCheck pair

�[30;42mOK (3 tests, 7 assertions)�[0m ✅ (3 tests, 7 assertions)

  • composer exec phpcs ✅ (no errors)

- Require PHP >=8.4 (was >=8.3)
- Update phpunit/phpunit from ^12 to ^13
- Switch to phpcsstandards/php_codesniffer ^4.0 (squizlabs abandoned)
- Update CI: PHP 8.4 only, setup-php@v2.37.0
@fey

fey commented May 26, 2026

Copy link
Copy Markdown
Contributor

@asakasinsky привет, тесты не прошли.

@asakasinsky asakasinsky closed this by deleting the head repository Jul 10, 2026
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