Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/14/2025 07:39:41 PM (7 months ago)
Author:
johnjamesjacoby
Message:

Tools - Build: Upgrade Composer, npm, and add wp-env for PHPUnit.

This commit modernizes the dev environment, bringing it up-to-speed with BuddyPress and others.

Props sirlouen.

In trunk, for 2.7.

Fixes #3610.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/replies/template/status.php

    r5784 r7353  
    1010class BBP_Tests_Repliess_Template_Status extends BBP_UnitTestCase {
    1111    protected $old_current_user = 0;
    12 
    13     public function setUp() {
     12    protected $keymaster_id;
     13
     14    public function setUp(): void {
    1415        parent::setUp();
    1516        $this->old_current_user = get_current_user_id();
     
    1920    }
    2021
    21     public function tearDown() {
     22    public function tearDown(): void {
    2223        parent::tearDown();
    2324        $this->set_current_user( $this->old_current_user );
Note: See TracChangeset for help on using the changeset viewer.