File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -383,6 +383,7 @@ Feature: WP-CLI Commands
383383 """
384384 <?php
385385 class Foo_Class extends WP_CLI_Command {
386+ protected $prefix;
386387
387388 public function __construct( $prefix ) {
388389 $this->prefix = $prefix;
@@ -478,6 +479,7 @@ Feature: WP-CLI Commands
478479 """
479480 <?php
480481 class Foo_Class {
482+ protected $message;
481483
482484 public function __construct( $message ) {
483485 $this->message = $message;
@@ -1119,6 +1121,7 @@ Feature: WP-CLI Commands
11191121 """
11201122 <?php
11211123 class Foo_Class {
1124+ protected $message;
11221125
11231126 public function __construct( $message ) {
11241127 $this->message = $message;
Original file line number Diff line number Diff line change 11Feature : Requests integration with both v1 and v2
22
33 # This test downgrades to WordPress 5.8, but the SQLite plugin requires 6.0+
4- @require-mysql
4+ # WP-CLI 2.7 causes deprecation warnings on PHP 8.2
5+ @require-mysql @less-than-php-8.2
56 Scenario : Composer stack with Requests v1
67 Given an empty directory
78 And a composer.json file:
@@ -78,6 +79,10 @@ Feature: Requests integration with both v1 and v2
7879
7980 Scenario : Current version with WordPress-bundled Requests v2
8081 Given a WP installation
82+ # Switch themes because twentytwentyfive requires a version newer than 6.2
83+ # and it would otherwise cause a fatal error further down.
84+ And I try `wp theme install twentyten`
85+ And I try `wp theme activate twentyten`
8186 And I run `wp core update --version=6.2 --force`
8287
8388 When I run `wp core version`
You can’t perform that action at this time.
0 commit comments