[wp-trac] [WordPress Trac] #37271: PHP 7.1.0: "Too few arguments" error for Tests_Ajax_DimComment::test_with_bad_id()

WordPress Trac noreply at wordpress.org
Mon Jul 4 19:04:20 UTC 2016


#37271: PHP 7.1.0: "Too few arguments" error for
Tests_Ajax_DimComment::test_with_bad_id()
------------------------------+-----------------
 Reporter:  ocean90           |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  4.6
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------
 See https://wiki.php.net/rfc/too_few_args which is implemented in PHP
 7.1.0alpha2.

 {{{
 1) Tests_Ajax_DimComment::test_with_bad_id
 Error: Too few arguments to function
 Tests_Ajax_DimComment::test_with_bad_id(), 0 passed and exactly 1 expected

 /tests/phpunit/tests/ajax/DimComment.php:167
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37271>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list