aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/event
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2016-12-04 17:30:42 +0100
committerJakub Senko <jakubsenko@gmail.com>2017-01-23 13:33:15 +0100
commit779758f2195f87868da3694b5ffd00adee1be0b3 (patch)
tree5c0550b4e1d5c9d9edbf8c7ed8d2390aa5401819 /phpBB/phpbb/event
parent2f1d2e847e9bb08b22ed42e8dc06362d962d2efb (diff)
downloadforums-779758f2195f87868da3694b5ffd00adee1be0b3.tar
forums-779758f2195f87868da3694b5ffd00adee1be0b3.tar.gz
forums-779758f2195f87868da3694b5ffd00adee1be0b3.tar.bz2
forums-779758f2195f87868da3694b5ffd00adee1be0b3.tar.xz
forums-779758f2195f87868da3694b5ffd00adee1be0b3.zip
[ticket/13429] Replace @change with @changed
PHPBB3-13429
Diffstat (limited to 'phpBB/phpbb/event')
-rw-r--r--phpBB/phpbb/event/php_exporter.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/phpbb/event/php_exporter.php b/phpBB/phpbb/event/php_exporter.php
index 8923d35f6d..ae3553c558 100644
--- a/phpBB/phpbb/event/php_exporter.php
+++ b/phpBB/phpbb/event/php_exporter.php
@@ -508,7 +508,7 @@ class php_exporter
}
/**
- * Find the "@change" Information lines
+ * Find the "@changed" Information lines
*
* @param string $tag_name Should be 'change', not 'changed'
* @return array Absolute line numbers
@@ -648,7 +648,7 @@ class php_exporter
}
/**
- * Validate "@change" Information
+ * Validate "@changed" Information
*
* @param string $line
* @return string
@@ -658,10 +658,10 @@ class php_exporter
{
$match = array();
$line = str_replace("\t", ' ', ltrim($line, "\t "));
- preg_match('#^\* @change (\d+\.\d+\.\d+(?:-(?:a|b|RC|pl)\d+)?)( (?:.*))?$#', $line, $match);
+ preg_match('#^\* @changed (\d+\.\d+\.\d+(?:-(?:a|b|RC|pl)\d+)?)( (?:.*))?$#', $line, $match);
if (!isset($match[2]))
{
- throw new \LogicException("Invalid '@change' information for event "
+ throw new \LogicException("Invalid '@changed' information for event "
. "'{$this->current_event}' in file '{$this->current_file}:{$this->current_event_line}'");
}