Changeset 54349 for trunk/tests/phpunit/tests/dependencies/scripts.php
- Timestamp:
- 09/28/2022 05:31:53 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/dependencies/scripts.php
r54289 r54349 722 722 $wp_scripts->do_concat = true; 723 723 724 if ( PHP_VERSION_ID >= 80100 ) {725 /*726 * For the time being, ignoring PHP 8.1 "null to non-nullable" deprecations coming in727 * via hooked in filter functions until a more structural solution to the728 * "missing input validation" conundrum has been architected and implemented.729 */730 $this->expectDeprecation();731 $this->expectDeprecationMessageMatches( '`Passing null to parameter \#[0-9]+ \(\$[^\)]+\) of type [^ ]+ is deprecated`' );732 }733 734 724 $ver = get_bloginfo( 'version' ); 735 725 $suffix = wp_scripts_get_suffix(); … … 783 773 $wp_scripts->base_url = ''; 784 774 $wp_scripts->do_concat = true; 785 786 if ( PHP_VERSION_ID >= 80100 ) {787 /*788 * For the time being, ignoring PHP 8.1 "null to non-nullable" deprecations coming in789 * via hooked in filter functions until a more structural solution to the790 * "missing input validation" conundrum has been architected and implemented.791 */792 $this->expectDeprecation();793 $this->expectDeprecationMessageMatches( '`Passing null to parameter \#[0-9]+ \(\$[^\)]+\) of type [^ ]+ is deprecated`' );794 }795 775 796 776 $expected_tail = "<script type='text/javascript' src='/customize-dependency.js' id='customize-dependency-js'></script>\n";
Note: See TracChangeset
for help on using the changeset viewer.