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% 134MB
Found 132 errors

1. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Events.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 exception "Could not find the function keyword." was thrown when processing the source code:

 26:
 27:     public const onSchemaAlterTableChangeColumn = 'onSchemaAlterTableChangeColumn';
 28:     public const onSchemaAlterTableRenameColumn = 'onSchemaAlterTableRenameColumn';
 29:     public const onSchemaColumnDefinition       = 'onSchemaColumnDefinition';
 30:     public const onSchemaIndexDefinition        = 'onSchemaIndexDefinition';
 31: }
 32:

The exception backtrace is following:

#0 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionMethod.php(695): TokenReflection\ReflectionFunctionBase->parseReturnsReference(Object(TokenReflection\Stream\StringStream))
#1 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(121): TokenReflection\ReflectionMethod->parse(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionClass))
#2 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionClass))
#3 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionClass))
#4 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionClass.php(1839): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionClass))
#5 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionClass->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFileNamespace))
#6 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFileNamespace))
#7 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFileNamespace))
#8 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFileNamespace.php(299): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFileNamespace))
#9 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(122): TokenReflection\ReflectionFileNamespace->parseChildren(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#10 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionElement->parseStream(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\ReflectionFile))
#11 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionElement.php(104): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#12 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionFile.php(130): TokenReflection\ReflectionElement->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker), Object(TokenReflection\ReflectionFile))
#13 .../apigen/vendor/TokenReflection/TokenReflection/ReflectionBase.php(73): TokenReflection\ReflectionFile->parseStream(Object(TokenReflection\Stream\StringStream), NULL)
#14 .../apigen/vendor/TokenReflection/TokenReflection/Broker.php(168): TokenReflection\ReflectionBase->__construct(Object(TokenReflection\Stream\StringStream), Object(TokenReflection\Broker))
#15 .../apigen/ApiGen/Generator.php(216): TokenReflection\Broker->processString('<?php\n\nnamespac...', '/var/www/projec...')
#16 .../apigen/ApiGen/Application.php(125): ApiGen\Generator->parse()
#17 .../apigen/ApiGen/Application.php(84): ApiGen\Application->parse()
#18 .../apigen/apigen.php(50): ApiGen\Application->run()
#19 {main}

2. 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 5) in the following part of Doctrine\DBAL\Logging source code:

  1: <?php
  2:
  3: namespace Doctrine\DBAL\Logging;
  4:
* 5: use function microtime;
  6:
  7: /**
  8:  * Includes executed SQLs in a Debug Stack.
  9:  */
 10: class DebugStack implements SQLLogger
 11: {
 12:     /**
 13:      * Executed SQL queries.
 14:      *
 15:      * @var mixed[][]
 16:      */
 17:     public $queries = [];
 18:
 19:     /**
 20:      * If Debug Stack is enabled (log queries) or not.
 21:      *
 22:      * @var bool
 23:      */
 24:     public $enabled = true;
 25:
 26:     /** @var float|null */

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\nnamespac...', '/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/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 5) in the following part of Doctrine\DBAL\Logging source code:

  1: <?php
  2:
  3: namespace Doctrine\DBAL\Logging;
  4:
* 5: use const PHP_EOL;
  6: use function var_dump;
  7:
  8: /**
  9:  * A SQL logger that logs to the standard output using echo/var_dump.
 10:  */
 11: class EchoSQLLogger implements SQLLogger
 12: {
 13:     /**
 14:      * {@inheritdoc}
 15:      */
 16:     public function startQuery($sql, ?array $params = null, ?array $types = null)
 17:     {

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\nnamespac...', '/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/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 13) in the following part of Doctrine\DBAL\Connections source code:

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

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\nnamespac...', '/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/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 5) in the following part of Doctrine\DBAL source code:

  1: <?php
  2:
  3: namespace Doctrine\DBAL;
  4:
* 5: use function str_replace;
  6: use function strtolower;
  7: use function version_compare;
  8:
  9: /**
 10:  * Class to store and retrieve the version of Doctrine.
 11:  */
 12: class Version
 13: {
 14:     /**
 15:      * Current Doctrine Version.
 16:      */

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\nnamespac...', '/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/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 11) in the following part of Doctrine\DBAL source code:

  6:
  7: use Doctrine\DBAL\Exception\DriverException;
  8: use Doctrine\DBAL\Platforms\AbstractPlatform;
  9: use Exception;
 10: use Throwable;
*11: use function array_map;
 12: use function bin2hex;
 13: use function get_class;
 14: use function gettype;
 15: use function implode;
 16: 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\nnamespac...', '/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/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 5) in the following part of Doctrine\DBAL source code:

  1: <?php
  2:
  3: namespace Doctrine\DBAL;
  4:
* 5: use const PREG_OFFSET_CAPTURE;
  6: use function array_fill;
  7: use function array_key_exists;
  8: use function array_merge;
  9: use function array_slice;
 10: 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\nnamespac...', '/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/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 11) in the following part of Doctrine\DBAL source code:

  6:
  7: use Doctrine\DBAL\Types\Type;
  8: use IteratorAggregate;
  9: use PDO;
 10: use Throwable;
*11: use function is_array;
 12: use function is_string;
 13:
 14: /**
 15:  * A thin wrapper around a Doctrine\DBAL\Driver\Statement that adds support
 16:  * for logging, DBAL mapping types, etc.
 17:  */
 18: class Statement implements IteratorAggregate, DriverStatement
 19: {
 20:     /**
 21:      * The SQL statement.
 22:      *
 23:      * @var string
 24:      */
 25:     protected $sql;
 26:
 27:     /**
 28:      * The bound parameters.
 29:      *
 30:      * @var mixed[]
 31:      */

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\nnamespac...', '/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/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 8) in the following part of Doctrine\DBAL\Event source code:

  2:
  3: namespace Doctrine\DBAL\Event;
  4:
  5: use Doctrine\DBAL\Platforms\AbstractPlatform;
  6: use Doctrine\DBAL\Schema\Table;
  7: use InvalidArgumentException;
* 8: use function is_string;
  9:
 10: /**
 11:  * Event Arguments used when the SQL query for dropping tables are generated inside Doctrine\DBAL\Platform\AbstractPlatform.
 12:  */
 13: class SchemaDropTableEventArgs extends SchemaEventArgs
 14: {
 15:     /** @var string|Table */
 16:     private $table;
 17:
 18:     /** @var AbstractPlatform */
 19:     private $platform;
 20:
 21:     /** @var string|null */

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\nnamespac...', '/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/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_CONST token (line 8) in the following part of Doctrine\DBAL\Event\Listeners source code:

  2:
  3: namespace Doctrine\DBAL\Event\Listeners;
  4:
  5: use Doctrine\Common\EventSubscriber;
  6: use Doctrine\DBAL\Event\ConnectionEventArgs;
  7: use Doctrine\DBAL\Events;
* 8: use const CASE_UPPER;
  9: use function array_change_key_case;
 10: use function array_merge;
 11: use function count;
 12: use function implode;
 13:
 14: /**
 15:  * Should be used when Oracle Server default environment does not match the Doctrine requirements.
 16:  *
 17:  * The following environment variables are required for the Doctrine default date format:
 18:  *
 19:  * NLS_TIME_FORMAT="HH24:MI:SS"
 20:  * NLS_DATE_FORMAT="YYYY-MM-DD HH24:MI:SS"
 21:  * NLS_TIMESTAMP_FORMAT="YYYY-MM-DD HH24:MI:SS"
 22:  * NLS_TIMESTAMP_TZ_FORMAT="YYYY-MM-DD HH24:MI:SS TZH:TZM"
 23:  */

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\nnamespac...', '/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/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 8) in the following part of Doctrine\DBAL\Event source code:

  2:
  3: namespace Doctrine\DBAL\Event;
  4:
  5: use Doctrine\DBAL\Platforms\AbstractPlatform;
  6: use Doctrine\DBAL\Schema\Column;
  7: use Doctrine\DBAL\Schema\Table;
* 8: use function array_merge;
  9: use function is_array;
 10:
 11: /**
 12:  * Event Arguments used when SQL queries for creating tables are generated inside Doctrine\DBAL\Platform\AbstractPlatform.
 13:  */
 14: class SchemaCreateTableEventArgs extends SchemaEventArgs
 15: {
 16:     /** @var Table */
 17:     private $table;
 18:
 19:     /** @var Column[] */

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\nnamespac...', '/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/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 7) in the following part of Doctrine\DBAL\Event source code:

  1: <?php
  2:
  3: namespace Doctrine\DBAL\Event;
  4:
  5: use Doctrine\DBAL\Platforms\AbstractPlatform;
  6: use Doctrine\DBAL\Schema\TableDiff;
* 7: use function array_merge;
  8: use function is_array;
  9:
 10: /**
 11:  * Event Arguments used when SQL queries for creating tables are generated inside Doctrine\DBAL\Platform\*Platform.
 12:  */
 13: class SchemaAlterTableEventArgs extends SchemaEventArgs
 14: {
 15:     /** @var TableDiff */
 16:     private $tableDiff;
 17:
 18:     /** @var AbstractPlatform */

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\nnamespac...', '/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/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 8) in the following part of Doctrine\DBAL\Event source code:

  2:
  3: namespace Doctrine\DBAL\Event;
  4:
  5: use Doctrine\DBAL\Platforms\AbstractPlatform;
  6: use Doctrine\DBAL\Schema\Column;
  7: use Doctrine\DBAL\Schema\Table;
* 8: use function array_merge;
  9: use function is_array;
 10:
 11: /**
 12:  * Event Arguments used when SQL queries for creating table columns are generated inside Doctrine\DBAL\Platform\AbstractPlatform.
 13:  */
 14: class SchemaCreateTableColumnEventArgs extends SchemaEventArgs
 15: {
 16:     /** @var Column */
 17:     private $column;
 18:
 19:     /** @var Table */

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\nnamespac...', '/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/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 8) in the following part of Doctrine\DBAL\Event source code:

  2:
  3: namespace Doctrine\DBAL\Event;
  4:
  5: use Doctrine\DBAL\Platforms\AbstractPlatform;
  6: use Doctrine\DBAL\Schema\Column;
  7: use Doctrine\DBAL\Schema\TableDiff;
* 8: use function array_merge;
  9: use function is_array;
 10:
 11: /**
 12:  * Event Arguments used when SQL queries for removing table columns are generated inside Doctrine\DBAL\Platform\*Platform.
 13:  */
 14: class SchemaAlterTableRemoveColumnEventArgs extends SchemaEventArgs
 15: {
 16:     /** @var Column */
 17:     private $column;
 18:
 19:     /** @var TableDiff */

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\nnamespac...', '/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/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 8) in the following part of Doctrine\DBAL\Event source code:

  2:
  3: namespace Doctrine\DBAL\Event;
  4:
  5: use Doctrine\DBAL\Platforms\AbstractPlatform;
  6: use Doctrine\DBAL\Schema\Column;
  7: use Doctrine\DBAL\Schema\TableDiff;
* 8: use function array_merge;
  9: use function is_array;
 10:
 11: /**
 12:  * Event Arguments used when SQL queries for renaming table columns are generated inside Doctrine\DBAL\Platform\*Platform.
 13:  */
 14: class SchemaAlterTableRenameColumnEventArgs extends SchemaEventArgs
 15: {
 16:     /** @var string */
 17:     private $oldColumnName;
 18:
 19:     /** @var Column */

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\nnamespac...', '/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/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 8) in the following part of Doctrine\DBAL\Event source code:

  2:
  3: namespace Doctrine\DBAL\Event;
  4:
  5: use Doctrine\DBAL\Platforms\AbstractPlatform;
  6: use Doctrine\DBAL\Schema\Column;
  7: use Doctrine\DBAL\Schema\TableDiff;
* 8: use function array_merge;
  9: use function is_array;
 10:
 11: /**
 12:  * Event Arguments used when SQL queries for adding table columns are generated inside Doctrine\DBAL\Platform\*Platform.
 13:  */
 14: class SchemaAlterTableAddColumnEventArgs extends SchemaEventArgs
 15: {
 16:     /** @var Column */
 17:     private $column;
 18:
 19:     /** @var TableDiff */

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\nnamespac...', '/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/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 8) in the following part of Doctrine\DBAL\Event source code:

  2:
  3: namespace Doctrine\DBAL\Event;
  4:
  5: use Doctrine\DBAL\Platforms\AbstractPlatform;
  6: use Doctrine\DBAL\Schema\ColumnDiff;
  7: use Doctrine\DBAL\Schema\TableDiff;
* 8: use function array_merge;
  9: use function is_array;
 10:
 11: /**
 12:  * Event Arguments used when SQL queries for changing table columns are generated inside Doctrine\DBAL\Platform\*Platform.
 13:  */
 14: class SchemaAlterTableChangeColumnEventArgs extends SchemaEventArgs
 15: {
 16:     /** @var ColumnDiff */
 17:     private $columnDiff;
 18:
 19:     /** @var TableDiff */

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\nnamespac...', '/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/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 16) in the following part of Doctrine\DBAL\Platforms source code:

 11:
 12: use Doctrine\DBAL\Schema\TableDiff;
 13: use Doctrine\DBAL\TransactionIsolationLevel;
 14: use Doctrine\DBAL\Types\BinaryType;
 15: use InvalidArgumentException;
*16: use function array_merge;
 17: use function count;
 18: use function explode;
 19: use function func_get_arg;
 20: use function func_num_args;
 21: 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\nnamespac...', '/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/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_CONST token (line 30) in the following part of Doctrine\DBAL\Platforms source code:

 25:
 26: use Doctrine\DBAL\TransactionIsolationLevel;
 27: use Doctrine\DBAL\Types;
 28: use Doctrine\DBAL\Types\Type;
 29: use InvalidArgumentException;
*30: use const E_USER_DEPRECATED;
 31: use function addcslashes;
 32: use function array_map;
 33: use function array_merge;
 34: use function array_unique;
 35: 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\nnamespac...', '/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}

20. 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 12) in the following part of Doctrine\DBAL\Platforms source code:

  7:
  8: use Doctrine\DBAL\Schema\Table;
  9: use Doctrine\DBAL\Schema\TableDiff;
 10: use Doctrine\DBAL\Types\BinaryType;
 11: use InvalidArgumentException;
*12: use function array_merge;
 13: use function array_unique;
 14: use function array_values;
 15: use function count;
 16: use function func_get_args;
 17: 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\nnamespac...', '/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}

21. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Platforms/DB2Platform.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 12) in the following part of Doctrine\DBAL\Platforms source code:

  7:
  8: use Doctrine\DBAL\Schema\Index;
  9: use Doctrine\DBAL\Schema\Table;
 10: use Doctrine\DBAL\Schema\TableDiff;
 11: use Doctrine\DBAL\Types\Type;
*12: use function array_merge;
 13: use function count;
 14: use function current;
 15: use function explode;
 16: use function func_get_arg;
 17: 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\nnamespac...', '/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}

22. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/dbal/lib/Doctrine/DBAL/Platforms/SqlitePlatform.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 15) in the following part of Doctrine\DBAL\Platforms source code:

 10:
 11: use Doctrine\DBAL\Schema\Table;
 12: use Doctrine\DBAL\Schema\TableDiff;
 13: use Doctrine\DBAL\TransactionIsolationLevel;
 14: use Doctrine\DBAL\Types;
*15: use function array_merge;
 16: use function array_unique;
 17: use function array_values;
 18: use function implode;
 19: use function is_numeric;
 20: 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\nnamespac...', '/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}

23. Th