1
0
Fork 0
mirror of https://github.com/buddypress/buddypress.git synced 2026-07-22 20:56:55 +08:00
buddypress/tests/phpunit
Renato Alves 0a46516c3a Code Modernization: address the only, so far, two issues related to PHP 8.5.
* Instances of using `null` as an array offset.
* `ArrayIterator::__construct()`: Using an object as a backing array for ArrayIterator is deprecated.

Reference: https://wiki.php.net/rfc/deprecations_php_8_5\#deprecate_arrayobject_and_arrayiterator_with_objects

Follow-up to [14147].

Props espellcaste.

Closes https://github.com/buddypress/buddypress/pull/425
Fixes #9313 (14.0)

git-svn-id: https://buddypress.svn.wordpress.org/branches/14.0@14150 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2025-12-16 16:29:43 +00:00
..
assets Improve BP_Component methods relative to setting BP Rewrites 2023-02-15 10:23:05 +00:00
includes WPCS: The modified code addresses all Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword and Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction issues specific to the foreach and function examples. 2024-06-01 16:26:18 +00:00
testcases Code Modernization: address the only, so far, two issues related to PHP 8.5. 2025-12-16 16:29:43 +00:00
bootstrap.php Update wp-env to version 9.0.0 & adapt the PHPUnit tests suite to it 2024-01-31 20:09:06 +00:00
codecoverage.xml Travis-CI: disable xdebug globally and switch travis:codecoverage to use xdebug instead of phpdbg. 2016-08-08 13:36:32 +00:00
multisite.xml Tests: Fix missing 'name' attribute warning for PHPUnit 7. 2020-06-16 04:34:24 +00:00