Skip to content

Commit

Permalink
Update phan
Browse files Browse the repository at this point in the history
  • Loading branch information
fgiannar committed Jun 12, 2024
1 parent 6f54047 commit ca4ff2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions projects/packages/jetpack-mu-wpcom/.phan/baseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
'src/class-jetpack-mu-wpcom.php' => ['PhanNoopNew'],
'src/features/100-year-plan/enhanced-ownership.php' => ['PhanEmptyFQSENInCallable'],
'src/features/100-year-plan/locked-mode.php' => ['PhanEmptyFQSENInCallable'],
'src/features/admin-color-schemes/admin-color-schemes.php' => ['PhanNoopNew'],
'src/features/block-patterns/class-wpcom-block-patterns-utils.php' => ['PhanTypeMismatchReturnNullable'],
'src/features/coming-soon/coming-soon.php' => ['PhanTypeArraySuspicious', 'PhanTypeMismatchArgumentInternal', 'PhanUndeclaredFunction'],
'src/features/coming-soon/fallback-coming-soon-page.php' => ['PhanTypeMismatchArgument', 'PhanTypeVoidArgument'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function __construct() {

if ( function_exists( 'wpcom_is_nav_redesign_enabled' ) && wpcom_is_nav_redesign_enabled() ) {
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_core_color_schemes_overrides' ) );
add_filter( 'css_do_concat', 'disable_css_concat_for_color_schemes', 10, 2 );
add_filter( 'css_do_concat', array( $this, 'disable_css_concat_for_color_schemes' ), 10, 2 );
} elseif ( false === ( new Host() )->is_wpcom_platform() ) {
// @todo Self-hosted sites. Remove this line when we disable the module for self-hosted.
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_core_color_schemes_overrides' ) );
Expand Down

0 comments on commit ca4ff2c

Please sign in to comment.