[wp-trac] [WordPress Trac] #50639: [PHP 8] Add @requires annotations for PHPUnit tests that assert engine-enforced constraints
    WordPress Trac 
    noreply at wordpress.org
       
    Sat Sep 26 02:32:40 UTC 2020
    
    
  
#50639: [PHP 8] Add @requires annotations for PHPUnit tests that assert engine-
enforced constraints
------------------------------------------+-----------------------------
 Reporter:  ayeshrajans                   |       Owner:  SergeyBiryukov
     Type:  defect (bug)                  |      Status:  closed
 Priority:  normal                        |   Milestone:  5.6
Component:  Build/Test Tools              |     Version:
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  php8 has-patch needs-refresh  |     Focuses:
------------------------------------------+-----------------------------
Comment (by SergeyBiryukov):
 In [changeset:"49050" 49050]:
 {{{
 #!CommitTicketReference repository="" revision="49050"
 Tests: Require `imagejpeg()` function in one more media test.
 This outputs a proper message if the requirement is not met, instead of an
 obscure failure further in the test.
 This test relies on multiple resized copies of a test JPEG image being
 generated and available.
 Follow-up to [49010], [49024], [49025], [49045].
 See #50639, #50640.
 }}}
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50639#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list