mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 13:44:12 +02:00
[ticket/12766] Event exporter does not like RCx as version
PHPBB3-12766
This commit is contained in:
@@ -550,7 +550,7 @@ class php_exporter
|
||||
public function validate_since($line)
|
||||
{
|
||||
$match = array();
|
||||
preg_match('#^\* @since (\d+\.\d+\.\d+(?:-(?:a|b|rc|pl)\d+)?)$#', ltrim($line, "\t"), $match);
|
||||
preg_match('#^\* @since (\d+\.\d+\.\d+(?:-(?:a|b|RC|pl)\d+)?)$#', ltrim($line, "\t"), $match);
|
||||
if (!isset($match[1]))
|
||||
{
|
||||
throw new \LogicException("Invalid '@since' information for event "
|
||||
|
Reference in New Issue
Block a user