[wp-trac] [WordPress Trac] #57071: PHPUnit tests are broken

WordPress Trac noreply at wordpress.org
Thu Nov 24 22:09:53 UTC 2022


#57071: PHPUnit tests are broken
------------------------------+----------------------
 Reporter:  emanuelx          |       Owner:  (none)
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  invalid
 Keywords:                    |     Focuses:
------------------------------+----------------------

Comment (by audrasjb):

 In [changeset:"54872" 54872]:
 {{{
 #!CommitTicketReference repository="" revision="54872"
 Coding Standards: Remove extra slashes when concatenating `ABSPATH` with a
 path.

 Since `ABSPATH` is defined and documented to end with a forward slash `/`,
 this changeset removes the first `/` from strings appended to `ABSPATH` in
 various files, leading to `//` in the resulting path.

 Props TobiasBg, audrasjb, SergeyBiryukov, emanuelx.
 Fixes #57074.
 See #57071.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57071#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list