Changeset 51968 for trunk/tests/phpunit/tests/date/xmlrpc.php
- Timestamp:
- 11/01/2021 10:22:49 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/date/xmlrpc.php
r50279 r51968 15 15 */ 16 16 public function test_date_new_post() { 17 if ( PHP_VERSION_ID >= 80100 ) { 18 /* 19 * For the time being, ignoring PHP 8.1 "null to non-nullable" deprecations coming in 20 * via hooked in filter functions until a more structural solution to the 21 * "missing input validation" conundrum has been architected and implemented. 22 */ 23 $this->expectDeprecation(); 24 $this->expectDeprecationMessageMatches( '`Passing null to parameter \#[0-9]+ \(\$[^\)]+\) of type [^ ]+ is deprecated`' ); 25 } 26 17 27 $timezone = 'Europe/Kiev'; 18 28 update_option( 'timezone_string', $timezone );
Note: See TracChangeset
for help on using the changeset viewer.