xp-framework / core

The XP Framework is an all-purpose, object oriented PHP framework.
Other
19 stars 6 forks source link

PHP 8.2 compatibility #304

Closed thekid closed 1 year ago

thekid commented 2 years ago

See https://github.com/xp-framework/core/runs/4460967410?check_suite_focus=true

thekid commented 2 years ago

XP Runners now run on PHP 8.2, see https://github.com/xp-runners/reference/releases/tag/v8.6.1

thekid commented 2 years ago

✅ Preliminary PHP 8.2 support now given with https://github.com/xp-framework/core/actions/runs/1555468761 and released in https://github.com/xp-framework/core/releases/tag/v11.1.0

thekid commented 2 years ago

A bunch of libraries has been made compatible with PHP 8.2 in the meantime, see e.g. https://github.com/xp-framework/networking/releases/tag/v10.2.3

thekid commented 2 years ago

All actively maintained libraries in xp-framework, xp-forge and xp-lang have been verified to work with PHP 8.2

thekid commented 2 years ago
thekid commented 2 years ago

PHP 8.2 now yields errors when using legacy algorithms such as DES with OpenSSL, see #309

thekid commented 2 years ago

Added support for new types:

...and released inhttps://github.com/xp-framework/core/releases/tag/v11.2.0

thekid commented 2 years ago

Tests continue to be green for PHP 8.2, see https://github.com/xp-framework/core/actions/runs/2862344900. Don't expect any breakages now that 8.2 has gone into beta

thekid commented 2 years ago

Support for readonly classes has been added to xp-framework/reflection in xp-framework/reflection#21 and released in version 2.3.0

thekid commented 2 years ago

Current PHP 8.3 also tests successfully locally and on GitHub actions:

$ xp -v
XP 11.4.7-dev { PHP/8.3.0-dev & Zend/4.3.0-dev } @ Windows NT SURFACE 10.0 build 22621 (Windows 11) AMD64
Copyright (c) 2001-2022 the XP group
# ...

$ xp test src/test/config/unittest/*ini
# ...
Tests:       4237 passed, 53 skipped
Memory used: 20700.91 kB (41428.29 kB peak)
Time taken:  5.645 seconds
thekid commented 2 years ago

GA is expected to be Dec 8, 2022 - see https://wiki.php.net/todo/php82

thekid commented 1 year ago

PHP 8.2 has landed

thekid commented 1 year ago

All tests green with PHP 8.2.0-RELEASE (https://github.com/xp-framework/core/actions/runs/3650869866), this issue can now be closed.