Commit 26f04bfd authored by tadityar's avatar tadityar

Issue #2469301 by tadityar : Doc comment should end with a full stop

parent 80e25a93
......@@ -20,7 +20,7 @@ use Drupal\Core\Url;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* Configure what entities will be included in sitemap
* Configure what entities will be included in sitemap.
*/
class XmlSitemapEntitiesSettingsForm extends ConfigFormBase implements ContainerInjectionInterface {
......
......@@ -18,7 +18,7 @@ use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
/**
* Configure what entities will be included in sitemap
* Configure what entities will be included in sitemap.
*/
class XmlSitemapLinkBundleSettingsForm extends ConfigFormBase implements ContainerInjectionInterface {
......
......@@ -42,7 +42,7 @@ class XmlSitemapEntityFunctionalTest extends XmlSitemapTestBase {
}
/**
* Test the form at admin/config/search/xmlsitemap/entities/settings
* Test the form at admin/config/search/xmlsitemap/entities/settings.
*/
public function testEntitiesSettingsForms() {
$this->drupalLogin($this->admin_user);
......@@ -64,7 +64,7 @@ class XmlSitemapEntityFunctionalTest extends XmlSitemapTestBase {
}
/**
* Test the form at admin/config/search/xmlsitemap/settings/{entity_type_id}/{bundle_id}
* Test the form at admin/config/search/xmlsitemap/settings/{entity_type_id}/{bundle_id}.
*/
public function testEntityLinkBundleSettingsForm() {
xmlsitemap_link_bundle_enable('entity_test', 'entity_test');
......
......@@ -46,7 +46,7 @@ class XmlSitemapMultilingualTest extends XmlSitemapMultilingualTestBase {
}
/**
* Test how links are included in a sitemap depending on the i18n_selection_mode config variable
* Test how links are included in a sitemap depending on the i18n_selection_mode config variable.
*/
public function testLanguageSelection() {
$this->drupalLogin($this->admin_user);
......
......@@ -52,7 +52,7 @@ class XmlSitemapUserFunctionalTest extends XmlSitemapTestBase {
}
/**
* Test sitemap link for a blocked user
* Test sitemap link for a blocked user.
*/
public function testBlockedUser() {
$this->drupalLogin($this->admin_user);
......
......@@ -8,7 +8,7 @@
namespace Drupal\xmlsitemap;
/**
* Basic XmlSitemapException class
* Basic XmlSitemapException class.
*/
class XmlSitemapException extends \Exception {
......
......@@ -8,7 +8,7 @@
namespace Drupal\xmlsitemap;
/**
* Exception thrown at sitemap generation
* Exception thrown at sitemap generation.
*/
class XmlSitemapGenerationException extends XmlSitemapException {
......
......@@ -32,7 +32,7 @@ interface XmlSitemapGeneratorInterface {
public function regenerateBefore();
/**
* Get how much memory was used
* Get how much memory was used.
*
* @param bool $start
*
......@@ -77,7 +77,7 @@ interface XmlSitemapGeneratorInterface {
* @param \Drupal\xmlsitemap\XmlSitemapInterface $sitemap
* An unserialized data array for an XML sitemap.
* @param \Drupal\xmlsitemap\XmlSitemapWriter $writer
* XML writer object
* XML writer object.
* @param int $pageAn integer of the specific page of the sitemap to generate.
* An integer of the specific page of the sitemap to generate.
*/
......
......@@ -38,7 +38,7 @@ const XMLSITEMAP_MAX_SITEMAP_LINKS = 50000;
const XMLSITEMAP_MAX_SITEMAP_FILESIZE = 10485760;
/**
* Xmlsitemap Frequencies
* Xmlsitemap Frequencies.
*/
const XMLSITEMAP_FREQUENCY_YEARLY = 31449600;
// 60 * 60 * 24 * 7 * 52
......@@ -700,7 +700,7 @@ function xmlsitemap_get_link_type_enabled_bundles($entity_type) {
* @param string $entity_type
* Entity type id.
* @param string $bundle
* Bundle id;
* Bundle id.
*
* @return array
* Array with statistics.
......
......@@ -55,7 +55,7 @@ class XmlSitemapEnginesFunctionalTest extends XmlSitemapTestBase {
}
/**
* Check if sitemaps are sent to searching engines
* Check if sitemaps are sent to searching engines.
*/
public function submitEngines() {
$this->state->setMultiple(array(
......@@ -68,7 +68,7 @@ class XmlSitemapEnginesFunctionalTest extends XmlSitemapTestBase {
}
/**
* Check if an url is correctly prepared
* Check if an url is correctly prepared.
*/
public function testPrepareURL() {
$sitemap = 'http://example.com/sitemap.xml';
......@@ -78,7 +78,7 @@ class XmlSitemapEnginesFunctionalTest extends XmlSitemapTestBase {
}
/**
* Create sitemaps and send them to search engines
* Create sitemaps and send them to search engines.
*/
public function testSubmitSitemaps() {
$sitemaps = array();
......@@ -115,7 +115,7 @@ class XmlSitemapEnginesFunctionalTest extends XmlSitemapTestBase {
}
/**
* Check if ping works
* Check if ping works.
*/
public function testPing() {
$edit = array('engines[simpletest]' => TRUE);
......@@ -128,7 +128,7 @@ class XmlSitemapEnginesFunctionalTest extends XmlSitemapTestBase {
}
/**
* Check if custom urls are functional
* Check if custom urls are functional.
*/
public function testCustomURL() {
$edit = array('custom_urls' => 'an-invalid-url');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment