diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/fetcher/DefaultFetcher.php b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/fetcher/DefaultFetcher.php index 9333780..2f3de0e 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/fetcher/DefaultFetcher.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/fetcher/DefaultFetcher.php @@ -47,7 +47,6 @@ public static function create(ContainerInterface $container, array $configuratio * Constructs a DefaultFetcher object. */ public function __construct(array $configuration, $plugin_id, array $plugin_definition, Client $http_client) { - parent::__construct($configuration, $plugin_id, $plugin_definition); $this->httpClient = $http_client; } /** diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/parser/DefaultParser.php b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/parser/DefaultParser.php index 1503212..917d6f8 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/parser/DefaultParser.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/parser/DefaultParser.php @@ -70,7 +70,7 @@ class DefaultParser implements ParserInterface { protected $item; /** - * {inheritdoc} + * {@inheritdoc} */ public static function create(ContainerInterface $container, array $configuration, $plugin_id, array $plugin_definition) { return new static($configuration, $plugin_id, $plugin_definition); diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/processor/DefaultProcessor.php b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/processor/DefaultProcessor.php index e94d4ac..7f6e1d1 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/processor/DefaultProcessor.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/processor/DefaultProcessor.php @@ -37,7 +37,7 @@ class DefaultProcessor extends AggregatorPluginSettingsBase implements Processor protected $configFactory; /** - * {inheritdoc} + * {@inheritdoc} */ public static function create(ContainerInterface $container, array $configuration, $plugin_id, array $plugin_definition) { return new static($configuration, $plugin_id, $plugin_definition, $container->get('config.factory')); diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorTestBase.php b/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorTestBase.php index ca56e20..6367b62 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorTestBase.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorTestBase.php @@ -335,17 +335,17 @@ function getEmptyOpml() { } function getRSS091Sample() { - return $GLOBALS['base_url'] . '/' . drupal_get_path('module', 'aggregator') . '/tests/aggregator_test_rss091.xml'; + return $GLOBALS['base_url'] . '/' . drupal_get_path('module', 'aggregator') . '/tests/modules/aggregator_test/aggregator_test_rss091.xml'; } function getAtomSample() { // The content of this sample ATOM feed is based directly off of the // example provided in RFC 4287. - return $GLOBALS['base_url'] . '/' . drupal_get_path('module', 'aggregator') . '/tests/aggregator_test_atom.xml'; + return $GLOBALS['base_url'] . '/' . drupal_get_path('module', 'aggregator') . '/tests/modules/aggregator_test/aggregator_test_atom.xml'; } function getHtmlEntitiesSample() { - return $GLOBALS['base_url'] . '/' . drupal_get_path('module', 'aggregator') . '/tests/aggregator_test_title_entities.xml'; + return $GLOBALS['base_url'] . '/' . drupal_get_path('module', 'aggregator') . '/tests/modules/aggregator_test/aggregator_test_title_entities.xml'; } /** diff --git a/core/modules/aggregator/tests/modules/aggregator_test/aggregator_test.module b/core/modules/aggregator/tests/modules/aggregator_test/aggregator_test.module index 09190fa..2613d58 100644 --- a/core/modules/aggregator/tests/modules/aggregator_test/aggregator_test.module +++ b/core/modules/aggregator/tests/modules/aggregator_test/aggregator_test.module @@ -56,7 +56,7 @@ function aggregator_test_feed($use_last_modified = FALSE, $use_etag = FALSE) { drupal_add_http_header('Content-Type', 'application/rss+xml; charset=utf-8'); // Read actual feed from file. - $file_name = DRUPAL_ROOT . '/' . drupal_get_path('module', 'aggregator') . '/tests/aggregator_test_rss091.xml'; + $file_name = DRUPAL_ROOT . '/' . drupal_get_path('module', 'aggregator') . '/tests/modules/aggregator_test/aggregator_test_rss091.xml'; $handle = fopen($file_name, 'r'); $feed = fread($handle, filesize($file_name)); fclose($handle); diff --git a/core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Plugin/aggregator/processor/TestProcessor.php b/core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Plugin/aggregator/processor/TestProcessor.php index 243183f..7e35b85 100644 --- a/core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Plugin/aggregator/processor/TestProcessor.php +++ b/core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Plugin/aggregator/processor/TestProcessor.php @@ -36,7 +36,7 @@ class TestProcessor extends AggregatorPluginSettingsBase implements ProcessorInt protected $configFactory; /** - * {inheritdoc} + * {@inheritdoc} */ public static function create(ContainerInterface $container, array $configuration, $plugin_id, array $plugin_definition) { return new static($configuration, $plugin_id, $plugin_definition, $container->get('config.factory')); @@ -51,7 +51,7 @@ public function __construct(array $configuration, $plugin_id, array $plugin_defi } /** - * {inheritdoc} + * {@inheritdoc} */ public function buildForm(array $form, array &$form_state) { $processors = $this->configFactory->get('aggregator.settings')->get('processors'); @@ -75,7 +75,7 @@ public function buildForm(array $form, array &$form_state) { } /** - * {inheritdoc} + * {@inheritdoc} */ public function submitForm(array &$form, array &$form_state) { $this->configFactory->get('aggregator_test.settings') @@ -84,7 +84,7 @@ public function submitForm(array &$form, array &$form_state) { } /** - * {inheritdoc} + * {@inheritdoc} */ public function process(Feed $feed) { foreach ($feed->items as &$item) { @@ -94,7 +94,7 @@ public function process(Feed $feed) { } /** - * {inheritdoc} + * {@inheritdoc} */ public function remove(Feed $feed) { // Append a random number, just to change the feed description. @@ -102,7 +102,7 @@ public function remove(Feed $feed) { } /** - * {inheritdoc} + * {@inheritdoc} */ public function postProcess(Feed $feed) { // Double the refresh rate.