Generate API documentation alpha

Cloud based service which generates API documentation for your GitHub based project using the great documentation generator ApiGen.

Status of Doctrine 2 DBAL (doctrine/dbal)

Command: php -dmemory_limit=1024M /var/www/projects/apigen/apigen/apigen.php -s '/var/www/projects/apigen/repos/doctrine/dbal/lib/Doctrine/DBAL' -d '/var/www/projects/apigen/doc-progress/doctrine/dbal' --charset=auto --download --debug --colors=no --progressbar=ye
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/newrelic.so' - /usr/lib/php5/20131226/newrelic.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/newrelic.so' - /usr/lib/php5/20131226/newrelic.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Deprecated:  iconv_set_encoding(): Use of iconv.internal_encoding is deprecated in .../apigen/vendor/Nette/Nette/loader.php on line 30
ApiGen 3.0dev
-------------
Scanning .../repos/doctrine/dbal/lib/Doctrine/DBAL
[===============================================================>] 100.00% 129MB
Found 124 errors

1. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Logging/DebugStack.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_FUNCTION token (line 22) in the following part of Doctrine\DBAL\Logging source code:

  1: <?php
  2: /*
  3:  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  4:  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  5:  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  6:  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  7:  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  8:  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  9:  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 10:  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 11:  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 12:  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 13:  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 14:  *
 15:  * This software consists of voluntary contributions made by many individuals
 16:  * and is licensed under the MIT license. For more information, see
 17:  * <http://www.doctrine-project.org>.
 18:  */
 19:
 20: namespace Doctrine\DBAL\Logging;
 21:
*22: use function microtime;
 23:
 24: /**
 25:  * Includes executed SQLs in a Debug Stack.
 26:  *
 27:  * @link   www.doctrine-project.org
 28:  * @since  2.0
 29:  * @author Benjamin Eberlei <kontakt@beberlei.de>
 30:  * @author Guilherme Blanco <guilhermeblanco@hotmail.com>
 31:  * @author Jonathan Wage <jonwage@gmail.com>
 32:  * @author Roman Borschel <roman@code-factory.org>
 33:  */
 34: class DebugStack implements SQLLogger
 35: {
 36:     /**
 37:      * Executed SQL queries.
 38:      *
 39:      * @var array
 40:      */
 41:     public $queries = [];
 42:
 43:     /**
 44:      * If Debug Stack is enabled (log queries) or not.
 45:      *
 46:      * @var bool
 47:      */
 48:     public $enabled = true;
 49:
 50:     /**
 51:      * @var float|null
 52:      */

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

2. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Logging/EchoSQLLogger.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_CONST token (line 22) in the following part of Doctrine\DBAL\Logging source code:

  1: <?php
  2: /*
  3:  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  4:  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  5:  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  6:  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  7:  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  8:  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  9:  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 10:  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 11:  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 12:  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 13:  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 14:  *
 15:  * This software consists of voluntary contributions made by many individuals
 16:  * and is licensed under the MIT license. For more information, see
 17:  * <http://www.doctrine-project.org>.
 18:  */
 19:
 20: namespace Doctrine\DBAL\Logging;
 21:
*22: use const PHP_EOL;
 23: use function var_dump;
 24:
 25: /**
 26:  * A SQL logger that logs to the standard output using echo/var_dump.
 27:  *
 28:  * @link   www.doctrine-project.org
 29:  * @since  2.0
 30:  * @author Benjamin Eberlei <kontakt@beberlei.de>
 31:  * @author Guilherme Blanco <guilhermeblanco@hotmail.com>
 32:  * @author Jonathan Wage <jonwage@gmail.com>
 33:  * @author Roman Borschel <roman@code-factory.org>
 34:  */
 35: class EchoSQLLogger implements SQLLogger
 36: {
 37:     /**
 38:      * {@inheritdoc}
 39:      */
 40:     public function startQuery($sql, array $params = null, array $types = null)
 41:     {

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

3. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Connections/MasterSlaveConnection.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_FUNCTION token (line 28) in the following part of Doctrine\DBAL\Connections source code:

 23:
 24: use Doctrine\DBAL\Configuration;
 25: use Doctrine\Common\EventManager;
 26: use Doctrine\DBAL\Event\ConnectionEventArgs;
 27: use Doctrine\DBAL\Events;
*28: use function array_rand;
 29: use function count;
 30: use function func_get_args;
 31:
 32: /**
 33:  * Master-Slave Connection
 34:  *
 35:  * Connection can be used with master-slave setups.
 36:  *
 37:  * Important for the understanding of this connection should be how and when
 38:  * it picks the slave or master.
 39:  *
 40:  * 1. Slave if master was never picked before and ONLY if 'getWrappedConnection'
 41:  *    or 'executeQuery' is used.
 42:  * 2. Master picked when 'exec', 'executeUpdate', 'insert', 'delete', 'update', 'createSavepoint',
 43:  *    'releaseSavepoint', 'beginTransaction', 'rollback', 'commit', 'query' or
 44:  *    'prepare' is called.
 45:  * 3. If master was picked once during the lifetime of the connection it will always get picked afterwards.
 46:  * 4. One slave connection is randomly picked ONCE during a request.
 47:  *
 48:  * ATTENTION: You can write to the slave with this connection if you execute a write query without
 49:  * opening up a transaction. For example:
 50:  *
 51:  *      $conn = DriverManager::getConnection(...);
 52:  *      $conn->executeQuery("DELETE FROM table");
 53:  *
 54:  * Be aware that Connection#executeQuery is a method specifically for READ
 55:  * operations only.
 56:  *
 57:  * This connection is limited to slave operations using the
 58:  * Connection#executeQuery operation only, because it wouldn't be compatible
 59:  * with the ORM or SchemaManager code otherwise. Both use all the other
 60:  * operations in a context where writes could happen to a slave, which makes
 61:  * this restricted approach necessary.
 62:  *
 63:  * You can manually connect to the master at any time by calling:
 64:  *
 65:  *      $conn->connect('master');
 66:  *
 67:  * Instantiation through the DriverManager looks like:
 68:  *
 69:  * @example
 70:  *
 71:  * $conn = DriverManager::getConnection(array(
 72:  *    'wrapperClass' => 'Doctrine\DBAL\Connections\MasterSlaveConnection',
 73:  *    'driver' => 'pdo_mysql',
 74:  *    'master' => array('user' => '', 'password' => '', 'host' => '', 'dbname' => ''),
 75:  *    'slaves' => array(
 76:  *        array('user' => 'slave1', 'password', 'host' => '', 'dbname' => ''),
 77:  *        array('user' => 'slave2', 'password', 'host' => '', 'dbname' => ''),
 78:  *    )
 79:  * ));
 80:  *
 81:  * You can also pass 'driverOptions' and any other documented option to each of this drivers to pass additional information.
 82:  *
 83:  * @author Lars Strojny <lstrojny@php.net>
 84:  * @author Benjamin Eberlei <kontakt@beberlei.de>
 85:  */
 86: class MasterSlaveConnection extends Connection
 87: {
 88:     /**
 89:      * Master and slave connection (one of the randomly picked slaves).
 90:      *
 91:      * @var \Doctrine\DBAL\Driver\Connection[]
 92:      */

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

4. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Version.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_FUNCTION token (line 22) in the following part of Doctrine\DBAL source code:

  1: <?php
  2: /*
  3:  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  4:  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  5:  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  6:  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  7:  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  8:  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  9:  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 10:  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 11:  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 12:  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 13:  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 14:  *
 15:  * This software consists of voluntary contributions made by many individuals
 16:  * and is licensed under the MIT license. For more information, see
 17:  * <http://www.doctrine-project.org>.
 18:  */
 19:
 20: namespace Doctrine\DBAL;
 21:
*22: use function str_replace;
 23: use function strtolower;
 24: use function version_compare;
 25:
 26: /**
 27:  * Class to store and retrieve the version of Doctrine.
 28:  *
 29:  * @link   www.doctrine-project.org
 30:  * @since  2.0
 31:  * @author Benjamin Eberlei <kontakt@beberlei.de>
 32:  * @author Guilherme Blanco <guilhermeblanco@hotmail.com>
 33:  * @author Jonathan Wage <jonwage@gmail.com>
 34:  * @author Roman Borschel <roman@code-factory.org>
 35:  */
 36: class Version
 37: {
 38:     /**
 39:      * Current Doctrine Version.
 40:      */

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

5. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_FUNCTION token (line 26) in the following part of Doctrine\DBAL source code:

 20:
 21:
 22: use Doctrine\DBAL\Exception;
 23: use Doctrine\DBAL\Driver;
 24: use Doctrine\DBAL\Driver\ExceptionConverterDriver;
 25: use Doctrine\DBAL\Platforms\AbstractPlatform;
*26: use function array_map;
 27: use function bin2hex;
 28: use function implode;
 29: use function is_resource;
 30: use function is_string;
 31: use

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

6. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/SQLParserUtils.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_CONST token (line 22) in the following part of Doctrine\DBAL source code:

  1: <?php
  2: /*
  3:  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  4:  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  5:  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  6:  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  7:  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  8:  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  9:  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 10:  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 11:  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 12:  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 13:  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 14:  *
 15:  * This software consists of voluntary contributions made by many individuals
 16:  * and is licensed under the MIT license. For more information, see
 17:  * <http://www.doctrine-project.org>.
 18:  */
 19:
 20: namespace Doctrine\DBAL;
 21:
*22: use const PREG_OFFSET_CAPTURE;
 23: use function array_fill;
 24: use function array_key_exists;
 25: use function array_merge;
 26: use function array_slice;
 27: use

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

7. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Statement.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_FUNCTION token (line 24) in the following part of Doctrine\DBAL source code:

  1: <?php
  2: /*
  3:  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  4:  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  5:  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  6:  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  7:  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  8:  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  9:  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 10:  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 11:  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 12:  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 13:  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 14:  *
 15:  * This software consists of voluntary contributions made by many individuals
 16:  * and is licensed under the MIT license. For more information, see
 17:  * <http://www.doctrine-project.org>.
 18:  */
 19:
 20: namespace Doctrine\DBAL;
 21:
 22: use Doctrine\DBAL\Types\Type;
 23: use Doctrine\DBAL\Driver\Statement as DriverStatement;
*24: use function is_array;
 25: use function is_string;
 26:
 27: /**
 28:  * A thin wrapper around a Doctrine\DBAL\Driver\Statement that adds support
 29:  * for logging, DBAL mapping types, etc.
 30:  *
 31:  * @author Roman Borschel <roman@code-factory.org>
 32:  * @since 2.0
 33:  */
 34: class Statement implements \IteratorAggregate, DriverStatement
 35: {
 36:     /**
 37:      * The SQL statement.
 38:      *
 39:      * @var string
 40:      */
 41:     protected $sql;
 42:
 43:     /**
 44:      * The bound parameters.
 45:      *
 46:      * @var array
 47:      */

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

8. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Event/SchemaDropTableEventArgs.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_FUNCTION token (line 24) in the following part of Doctrine\DBAL\Event source code:

  1: <?php
  2: /*
  3:  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  4:  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  5:  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  6:  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  7:  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  8:  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  9:  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 10:  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 11:  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 12:  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 13:  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 14:  *
 15:  * This software consists of voluntary contributions made by many individuals
 16:  * and is licensed under the MIT license. For more information, see
 17:  * <http://www.doctrine-project.org>.
 18:  */
 19:
 20: namespace Doctrine\DBAL\Event;
 21:
 22: use Doctrine\DBAL\Platforms\AbstractPlatform;
 23: use Doctrine\DBAL\Schema\Table;
*24: use function is_string;
 25:
 26: /**
 27:  * Event Arguments used when the SQL query for dropping tables are generated inside Doctrine\DBAL\Platform\AbstractPlatform.
 28:  *
 29:  * @link   www.doctrine-project.org
 30:  * @since  2.2
 31:  * @author Jan Sorgalla <jsorgalla@googlemail.com>
 32:  */
 33: class SchemaDropTableEventArgs extends SchemaEventArgs
 34: {
 35:     /**
 36:      * @var string|\Doctrine\DBAL\Schema\Table
 37:      */
 38:     private $_table;
 39:
 40:     /**
 41:      * @var \Doctrine\DBAL\Platforms\AbstractPlatform
 42:      */
 43:     private $_platform;
 44:
 45:     /**
 46:      * @var string|null
 47:      */

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

9. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Event/Listeners/OracleSessionInit.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_FUNCTION token (line 25) in the following part of Doctrine\DBAL\Event\Listeners source code:

 18:
 19:
 20: namespace Doctrine\DBAL\Event\Listeners;
 21:
 22: use Doctrine\DBAL\Event\ConnectionEventArgs;
 23: use Doctrine\DBAL\Events;
 24: use Doctrine\Common\EventSubscriber;
*25: use function array_change_key_case;
 26: use function array_merge;
 27: use function count;
 28: use function implode;
 29:
 30: /**
 31:  * Should be used when Oracle Server default environment does not match the Doctrine requirements.
 32:  *
 33:  * The following environment variables are required for the Doctrine default date format:
 34:  *
 35:  * NLS_TIME_FORMAT="HH24:MI:SS"
 36:  * NLS_DATE_FORMAT="YYYY-MM-DD HH24:MI:SS"
 37:  * NLS_TIMESTAMP_FORMAT="YYYY-MM-DD HH24:MI:SS"
 38:  * NLS_TIMESTAMP_TZ_FORMAT="YYYY-MM-DD HH24:MI:SS TZH:TZM"
 39:  *
 40:  * @link   www.doctrine-project.org
 41:  * @since  2.0
 42:  * @author Benjamin Eberlei <kontakt@beberlei.de>
 43:  */
 44: class OracleSessionInit implements EventSubscriber
 45: {

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

10. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Event/SchemaCreateTableEventArgs.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_FUNCTION token (line 24) in the following part of Doctrine\DBAL\Event source code:

  1: <?php
  2: /*
  3:  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  4:  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  5:  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  6:  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  7:  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  8:  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  9:  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 10:  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 11:  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 12:  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 13:  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 14:  *
 15:  * This software consists of voluntary contributions made by many individuals
 16:  * and is licensed under the MIT license. For more information, see
 17:  * <http://www.doctrine-project.org>.
 18:  */
 19:
 20: namespace Doctrine\DBAL\Event;
 21:
 22: use Doctrine\DBAL\Platforms\AbstractPlatform;
 23: use Doctrine\DBAL\Schema\Table;
*24: use function array_merge;
 25: use function is_array;
 26:
 27: /**
 28:  * Event Arguments used when SQL queries for creating tables are generated inside Doctrine\DBAL\Platform\AbstractPlatform.
 29:  *
 30:  * @link   www.doctrine-project.org
 31:  * @since  2.2
 32:  * @author Jan Sorgalla <jsorgalla@googlemail.com>
 33:  */
 34: class SchemaCreateTableEventArgs extends SchemaEventArgs
 35: {
 36:     /**
 37:      * @var \Doctrine\DBAL\Schema\Table
 38:      */
 39:     private $_table;
 40:
 41:     /**
 42:      * @var array
 43:      */

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

11. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Event/SchemaAlterTableEventArgs.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_FUNCTION token (line 24) in the following part of Doctrine\DBAL\Event source code:

  1: <?php
  2: /*
  3:  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  4:  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  5:  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  6:  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  7:  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  8:  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  9:  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 10:  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 11:  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 12:  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 13:  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 14:  *
 15:  * This software consists of voluntary contributions made by many individuals
 16:  * and is licensed under the MIT license. For more information, see
 17:  * <http://www.doctrine-project.org>.
 18:  */
 19:
 20: namespace Doctrine\DBAL\Event;
 21:
 22: use Doctrine\DBAL\Platforms\AbstractPlatform;
 23: use Doctrine\DBAL\Schema\TableDiff;
*24: use function array_merge;
 25: use function is_array;
 26:
 27: /**
 28:  * Event Arguments used when SQL queries for creating tables are generated inside Doctrine\DBAL\Platform\*Platform.
 29:  *
 30:  * @link   www.doctrine-project.org
 31:  * @since  2.2
 32:  * @author Jan Sorgalla <jsorgalla@googlemail.com>
 33:  */
 34: class SchemaAlterTableEventArgs extends SchemaEventArgs
 35: {
 36:     /**
 37:      * @var \Doctrine\DBAL\Schema\TableDiff
 38:      */
 39:     private $_tableDiff;
 40:
 41:     /**
 42:      * @var \Doctrine\DBAL\Platforms\AbstractPlatform
 43:      */

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

12. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Event/SchemaCreateTableColumnEventArgs.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_FUNCTION token (line 25) in the following part of Doctrine\DBAL\Event source code:

 18:
 19:
 20: namespace Doctrine\DBAL\Event;
 21:
 22: use Doctrine\DBAL\Platforms\AbstractPlatform;
 23: use Doctrine\DBAL\Schema\Column;
 24: use Doctrine\DBAL\Schema\Table;
*25: use function array_merge;
 26: use function is_array;
 27:
 28: /**
 29:  * Event Arguments used when SQL queries for creating table columns are generated inside Doctrine\DBAL\Platform\AbstractPlatform.
 30:  *
 31:  * @link   www.doctrine-project.org
 32:  * @since  2.2
 33:  * @author Jan Sorgalla <jsorgalla@googlemail.com>
 34:  */
 35: class SchemaCreateTableColumnEventArgs extends SchemaEventArgs
 36: {
 37:     /**
 38:      * @var \Doctrine\DBAL\Schema\Column
 39:      */
 40:     private $_column;
 41:
 42:     /**
 43:      * @var \Doctrine\DBAL\Schema\Table
 44:      */

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

13. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Event/SchemaAlterTableRemoveColumnEventArgs.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_FUNCTION token (line 25) in the following part of Doctrine\DBAL\Event source code:

 18:
 19:
 20: namespace Doctrine\DBAL\Event;
 21:
 22: use Doctrine\DBAL\Platforms\AbstractPlatform;
 23: use Doctrine\DBAL\Schema\Column;
 24: use Doctrine\DBAL\Schema\TableDiff;
*25: use function array_merge;
 26: use function is_array;
 27:
 28: /**
 29:  * Event Arguments used when SQL queries for removing table columns are generated inside Doctrine\DBAL\Platform\*Platform.
 30:  *
 31:  * @link   www.doctrine-project.org
 32:  * @since  2.2
 33:  * @author Jan Sorgalla <jsorgalla@googlemail.com>
 34:  */
 35: class SchemaAlterTableRemoveColumnEventArgs extends SchemaEventArgs
 36: {
 37:     /**
 38:      * @var \Doctrine\DBAL\Schema\Column
 39:      */
 40:     private $_column;
 41:
 42:     /**
 43:      * @var \Doctrine\DBAL\Schema\TableDiff
 44:      */

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

14. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Event/SchemaAlterTableRenameColumnEventArgs.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_FUNCTION token (line 25) in the following part of Doctrine\DBAL\Event source code:

 18:
 19:
 20: namespace Doctrine\DBAL\Event;
 21:
 22: use Doctrine\DBAL\Platforms\AbstractPlatform;
 23: use Doctrine\DBAL\Schema\Column;
 24: use Doctrine\DBAL\Schema\TableDiff;
*25: use function array_merge;
 26: use function is_array;
 27:
 28: /**
 29:  * Event Arguments used when SQL queries for renaming table columns are generated inside Doctrine\DBAL\Platform\*Platform.
 30:  *
 31:  * @link   www.doctrine-project.org
 32:  * @since  2.2
 33:  * @author Jan Sorgalla <jsorgalla@googlemail.com>
 34:  */
 35: class SchemaAlterTableRenameColumnEventArgs extends SchemaEventArgs
 36: {
 37:     /**
 38:      * @var string
 39:      */
 40:     private $_oldColumnName;
 41:
 42:     /**
 43:      * @var \Doctrine\DBAL\Schema\Column
 44:      */

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

15. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Event/SchemaAlterTableAddColumnEventArgs.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_FUNCTION token (line 25) in the following part of Doctrine\DBAL\Event source code:

 18:
 19:
 20: namespace Doctrine\DBAL\Event;
 21:
 22: use Doctrine\DBAL\Platforms\AbstractPlatform;
 23: use Doctrine\DBAL\Schema\Column;
 24: use Doctrine\DBAL\Schema\TableDiff;
*25: use function array_merge;
 26: use function is_array;
 27:
 28: /**
 29:  * Event Arguments used when SQL queries for adding table columns are generated inside Doctrine\DBAL\Platform\*Platform.
 30:  *
 31:  * @link   www.doctrine-project.org
 32:  * @since  2.2
 33:  * @author Jan Sorgalla <jsorgalla@googlemail.com>
 34:  */
 35: class SchemaAlterTableAddColumnEventArgs extends SchemaEventArgs
 36: {
 37:     /**
 38:      * @var \Doctrine\DBAL\Schema\Column
 39:      */
 40:     private $_column;
 41:
 42:     /**
 43:      * @var \Doctrine\DBAL\Schema\TableDiff
 44:      */

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

16. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Event/SchemaAlterTableChangeColumnEventArgs.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_FUNCTION token (line 25) in the following part of Doctrine\DBAL\Event source code:

 18:
 19:
 20: namespace Doctrine\DBAL\Event;
 21:
 22: use Doctrine\DBAL\Platforms\AbstractPlatform;
 23: use Doctrine\DBAL\Schema\ColumnDiff;
 24: use Doctrine\DBAL\Schema\TableDiff;
*25: use function array_merge;
 26: use function is_array;
 27:
 28: /**
 29:  * Event Arguments used when SQL queries for changing table columns are generated inside Doctrine\DBAL\Platform\*Platform.
 30:  *
 31:  * @link   www.doctrine-project.org
 32:  * @since  2.2
 33:  * @author Jan Sorgalla <jsorgalla@googlemail.com>
 34:  */
 35: class SchemaAlterTableChangeColumnEventArgs extends SchemaEventArgs
 36: {
 37:     /**
 38:      * @var \Doctrine\DBAL\Schema\ColumnDiff
 39:      */
 40:     private $_columnDiff;
 41:
 42:     /**
 43:      * @var \Doctrine\DBAL\Schema\TableDiff
 44:      */

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

17. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Platforms/OraclePlatform.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_FUNCTION token (line 31) in the following part of Doctrine\DBAL\Platforms source code:

 26:
 27: use Doctrine\DBAL\Schema\Table;
 28: use Doctrine\DBAL\Schema\TableDiff;
 29: use Doctrine\DBAL\TransactionIsolationLevel;
 30: use Doctrine\DBAL\Types\BinaryType;
*31: use function array_merge;
 32: use function count;
 33: use function explode;
 34: use function implode;
 35: use function preg_match;
 36: use

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

18. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_FUNCTION token (line 45) in the following part of Doctrine\DBAL\Platforms source code:

 40:
 41: use Doctrine\DBAL\Schema\TableDiff;
 42: use Doctrine\DBAL\TransactionIsolationLevel;
 43: use Doctrine\DBAL\Types;
 44: use Doctrine\DBAL\Types\Type;
*45: use function addcslashes;
 46: use function array_map;
 47: use function array_merge;
 48: use function array_unique;
 49: use function array_values;
 50: use

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#5 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#6 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n/*\n * THI...', '/var/www/projec...')
#7 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#8 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#9 .../apigen/apigen.php(50): ApiGen\Application->run()
#10 {main}

19. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Platforms/DrizzlePlatform.php.

This can have two reasons: a) the source code in the file is not valid or b) you have just found a bug in the TokenReflection library.

If the license allows it please send the whole file or at least the following fragment describing where exacly is the problem along with the backtrace to apigen@apigen.org. Thank you!

The cause of the exception "Imported namespace name could not be determined." was the T_FUNCTION token (line 27) in the following part of Doctrine\DBAL\Platforms source code:

 22:
 23: use Doctrine\DBAL\Schema\Index;
 24: use Doctrine\DBAL\Schema\Table;
 25: use Doctrine\DBAL\Schema\TableDiff;
 26: use Doctrine\DBAL\Types\BinaryType;
*27: use function array_merge;
 28: use function array_unique;
 29: use function array_val