Verified Commit 8d87e802 authored by Lee Rowlands's avatar Lee Rowlands
Browse files

task: #3595089 Remove the Olivero theme

By: quietone
By: gábor hojtsy
By: catch
By: larowlan
parent 2aa15117
Loading
Loading
Loading
Loading
Loading
+0 −1
Changes for core/.cspell.json: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@
      "tests/fixtures/phpunit_*.xml",
      "tests/Drupal/Tests/Component/Annotation/Doctrine/**",
      "tests/PHPStan/vendor/**",
      "themes/olivero/fonts/**",
      "COPYRIGHT.txt",
      "MAINTAINERS.txt",
      "package.json",
+0 −36
Changes for core/.phpstan-baseline.php: 0 added lines, 36 removed lines.
Original line number Diff line number Diff line
@@ -33255,41 +33255,5 @@
	'count' => 1,
	'path' => __DIR__ . '/themes/default_admin/src/Hook/PreprocessHooks.php',
];
$ignoreErrors[] = [
	'message' => '#^Method Drupal\\\\olivero\\\\OliveroPreRender\\:\\:textFormat\\(\\) has no return type specified\\.$#',
	'identifier' => 'missingType.return',
	'count' => 1,
	'path' => __DIR__ . '/themes/olivero/src/OliveroPreRender.php',
];
$ignoreErrors[] = [
	'message' => '#^Method Drupal\\\\Tests\\\\olivero\\\\Functional\\\\BreadcrumbTest\\:\\:assertBreadcrumb\\(\\) has no return type specified\\.$#',
	'identifier' => 'missingType.return',
	'count' => 1,
	'path' => __DIR__ . '/themes/olivero/tests/src/Functional/BreadcrumbTest.php',
];
$ignoreErrors[] = [
	'message' => '#^Method Drupal\\\\Tests\\\\olivero\\\\Functional\\\\BreadcrumbTest\\:\\:assertBreadcrumbParts\\(\\) has no return type specified\\.$#',
	'identifier' => 'missingType.return',
	'count' => 1,
	'path' => __DIR__ . '/themes/olivero/tests/src/Functional/BreadcrumbTest.php',
];
$ignoreErrors[] = [
	'message' => '#^Method Drupal\\\\Tests\\\\olivero\\\\Functional\\\\BreadcrumbTest\\:\\:assertMenuActiveTrail\\(\\) has no return type specified\\.$#',
	'identifier' => 'missingType.return',
	'count' => 1,
	'path' => __DIR__ . '/themes/olivero/tests/src/Functional/BreadcrumbTest.php',
];
$ignoreErrors[] = [
	'message' => '#^Variable \\$parts in empty\\(\\) always exists and is always falsy\\.$#',
	'identifier' => 'empty.variable',
	'count' => 1,
	'path' => __DIR__ . '/themes/olivero/tests/src/Functional/BreadcrumbTest.php',
];
$ignoreErrors[] = [
	'message' => '#^Variable \\$trail in empty\\(\\) always exists and is always falsy\\.$#',
	'identifier' => 'empty.variable',
	'count' => 1,
	'path' => __DIR__ . '/themes/olivero/tests/src/Functional/BreadcrumbTest.php',
];
return ['parameters' => ['ignoreErrors' => $ignoreErrors]];
+0 −6
Changes for core/MAINTAINERS.txt: 0 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -320,12 +320,6 @@ Node Access
- Moshe Weitzman 'moshe weitzman' (weitzman) https://www.drupal.org/u/moshe-weitzman
- Jess Myrbo 'xjm' (xjm) https://www.drupal.org/u/xjm

Olivero
- Mike Herchel 'mherchel' (mherchel) https://www.drupal.org/u/mherchel
- Jen Witkowski 'jwitkowski79' (jwitkowski79) https://www.drupal.org/u/jwitkowski79
- Konstantin Shupenko 'kostyashupenko' (kostyashupenko) https://www.drupal.org/u/kostyashupenko
- Andy Blum 'andy-blum' (ablum) https://www.drupal.org/u/andy-blum

Options
- Stephen Mustgrave 'smustgrave' (smustgrave) https://www.drupal.org/u/smustgrave

+0 −2
Changes for core/misc/cspell/drupal-dictionary.txt: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -32,8 +32,6 @@ langcode
langcodes
mulrev
mulrevpub
olivero
olivero's
prerender
renderable
revlog
+0 −37
Changes for core/modules/search/tests/src/Nightwatch/Tests/Olivero/TestSiteOliveroInstallTestScript.php: 0 added lines, 37 removed lines.
Original line number Diff line number Diff line
<?php

declare(strict_types=1);

namespace Drupal\Tests\search\Nightwatch\Olivero;

use Drupal\Core\Extension\ModuleInstallerInterface;
use Drupal\Core\Extension\ThemeInstallerInterface;
use Drupal\TestSite\TestSetupInterface;

/**
 * Setup file used by TestSiteInstallTestScript.
 *
 * @see \Drupal\KernelTests\Scripts\TestSiteApplicationTest
 */
class TestSiteOliveroInstallTestScript implements TestSetupInterface {

  /**
   * {@inheritdoc}
   */
  public function setup(): void {
    // Install required module for the Olivero front page.
    $module_installer = \Drupal::service('module_installer');
    assert($module_installer instanceof ModuleInstallerInterface);
    $module_installer->install(['olivero_test']);
    $module_installer->install(['search']);
    $module_installer->install(['search_node']);

    // Install Olivero and set it as the default theme.
    $theme_installer = \Drupal::service('theme_installer');
    assert($theme_installer instanceof ThemeInstallerInterface);
    $theme_installer->install(['olivero'], TRUE);
    $system_theme_config = \Drupal::configFactory()->getEditable('system.theme');
    $system_theme_config->set('default', 'olivero')->save();
  }

}
Loading