Skip to content

Commit 2387e04

Browse files
authored
Merge branch 'WordPress:trunk' into trunk
2 parents a052d7a + c590bda commit 2387e04

8 files changed

Lines changed: 39 additions & 56 deletions

phpstan.neon.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ includes:
5757
- tests/phpstan/baselines/isset.property.neon
5858
- tests/phpstan/baselines/method.childParameterType.neon
5959
- tests/phpstan/baselines/method.nonObject.neon
60-
- tests/phpstan/baselines/method.notFound.neon
6160
- tests/phpstan/baselines/method.unused.neon
6261
- tests/phpstan/baselines/notIdentical.alwaysTrue.neon
6362
- tests/phpstan/baselines/nullCoalesce.offset.neon

src/wp-admin/includes/class-language-pack-upgrader-skin.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@
1616
* @see WP_Upgrader_Skin
1717
*/
1818
class Language_Pack_Upgrader_Skin extends WP_Upgrader_Skin {
19+
/**
20+
* The upgrader instance.
21+
*
22+
* @since 3.7.0
23+
* @var Language_Pack_Upgrader
24+
*/
25+
public $upgrader;
26+
1927
public $language_update = null;
2028
public $done_header = false;
2129
public $done_footer = false;

src/wp-admin/includes/class-plugin-installer-skin.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@
1616
* @see WP_Upgrader_Skin
1717
*/
1818
class Plugin_Installer_Skin extends WP_Upgrader_Skin {
19+
/**
20+
* The upgrader instance.
21+
*
22+
* @since 2.8.0
23+
* @var Plugin_Upgrader
24+
*/
25+
public $upgrader;
26+
1927
public $api;
2028
public $type;
2129
public $url;

src/wp-admin/includes/class-plugin-upgrader-skin.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@
1616
* @see WP_Upgrader_Skin
1717
*/
1818
class Plugin_Upgrader_Skin extends WP_Upgrader_Skin {
19+
/**
20+
* The upgrader instance.
21+
*
22+
* @since 2.8.0
23+
* @var Plugin_Upgrader
24+
*/
25+
public $upgrader;
1926

2027
/**
2128
* Holds the plugin slug in the Plugin Directory.

src/wp-admin/includes/class-theme-installer-skin.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@
1616
* @see WP_Upgrader_Skin
1717
*/
1818
class Theme_Installer_Skin extends WP_Upgrader_Skin {
19+
/**
20+
* The upgrader instance.
21+
*
22+
* @since 2.8.0
23+
* @var Theme_Upgrader
24+
*/
25+
public $upgrader;
26+
1927
public $api;
2028
public $type;
2129
public $url;

src/wp-admin/includes/class-theme-upgrader-skin.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@
1717
*/
1818
class Theme_Upgrader_Skin extends WP_Upgrader_Skin {
1919

20+
/**
21+
* The upgrader instance.
22+
*
23+
* @since 2.8.0
24+
* @var Theme_Upgrader
25+
*/
26+
public $upgrader;
27+
2028
/**
2129
* Holds the theme slug in the Theme Directory.
2230
*

tests/phpstan/baselines/method.notFound.neon

Lines changed: 0 additions & 45 deletions
This file was deleted.

tests/phpstan/baselines/property.notFound.neon

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ parameters:
2323
identifier: property.notFound
2424
count: 2
2525
path: ../../../src/wp-admin/includes/class-language-pack-upgrader.php
26-
-
27-
message: '#^Access to an undefined property WP_Upgrader\:\:\$new_plugin_data\.$#'
28-
identifier: property.notFound
29-
count: 1
30-
path: ../../../src/wp-admin/includes/class-plugin-installer-skin.php
3126
-
3227
message: '#^Access to an undefined property WP_Upgrader_Skin\:\:\$plugin_active\.$#'
3328
identifier: property.notFound
@@ -38,11 +33,6 @@ parameters:
3833
identifier: property.notFound
3934
count: 1
4035
path: ../../../src/wp-admin/includes/class-plugin-upgrader.php
41-
-
42-
message: '#^Access to an undefined property WP_Upgrader\:\:\$new_theme_data\.$#'
43-
identifier: property.notFound
44-
count: 1
45-
path: ../../../src/wp-admin/includes/class-theme-installer-skin.php
4636
-
4737
message: '#^Access to an undefined property WP_Upgrader_Skin\:\:\$api\.$#'
4838
identifier: property.notFound

0 commit comments

Comments
 (0)