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 Cache (doctrine/cache)

Command: php -dmemory_limit=1024M /var/www/projects/apigen/apigen/apigen.php -s '/var/www/projects/apigen/repos/doctrine/cache/lib/Doctrine' -d '/var/www/projects/apigen/doc-progress/doctrine/cache' --charset=auto --download --debug --colors=no --progressbar=yes -
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/cache/lib/Doctrine
[===============================================================>] 100.00%  19MB
Found 23 errors

1. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/cache/lib/Doctrine/Common/Cache/XcacheCache.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\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
* 5: use const XC_TYPE_VAR;
  6: use function ini_get;
  7: use function serialize;
  8: use function unserialize;
  9: use function xcache_clear_cache;
 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}

2. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/cache/lib/Doctrine/Common/Cache/RedisCache.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 6) in the following part of Doctrine\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
  5: use Redis;
* 6: use function array_combine;
  7: use function defined;
  8: use function extension_loaded;
  9: use function is_bool;
 10:
 11: /**
 12:  * Redis cache provider.
 13:  *
 14:  * @link   www.doctrine-project.org
 15:  */
 16: class RedisCache extends CacheProvider
 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}

3. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/cache/lib/Doctrine/Common/Cache/ApcCache.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\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
* 5: use const PHP_VERSION_ID;
  6: use function apc_cache_info;
  7: use function apc_clear_cache;
  8: use function apc_delete;
  9: use function apc_exists;
 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}

4. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/cache/lib/Doctrine/Common/Cache/RiakCache.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 9) in the following part of Doctrine\Common\Cache source code:

  3:
  4:
  5: use Riak\Bucket;
  6: use Riak\Exception;
  7: use Riak\Input;
  8: use Riak\Object;
* 9: use function count;
 10: use function serialize;
 11: use function time;
 12: use function unserialize;
 13:
 14: /**
 15:  * Riak cache provider.
 16:  *
 17:  * @link   www.doctrine-project.org
 18:  *
 19:  * @deprecated
 20:  */
 21: class RiakCache extends CacheProvider
 22: {

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/cache/lib/Doctrine/Common/Cache/LegacyMongoDBCache.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 9) in the following part of Doctrine\Common\Cache source code:

  3:
  4:
  5: use MongoBinData;
  6: use MongoCollection;
  7: use MongoCursorException;
  8: use MongoDate;
* 9: use const E_USER_DEPRECATED;
 10: use function serialize;
 11: use function time;
 12: use function trigger_error;
 13: use function unserialize;
 14:
 15: /**
 16:  * MongoDB cache provider.
 17:  *
 18:  * @internal Do not use - will be removed in 2.0. Use MongoDBCache instead
 19:  */

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/cache/lib/Doctrine/Common/Cache/MemcacheCache.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 6) in the following part of Doctrine\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
  5: use Memcache;
* 6: use function time;
  7:
  8: /**
  9:  * Memcache cache provider.
 10:  *
 11:  * @link   www.doctrine-project.org
 12:  *
 13:  * @deprecated
 14:  */
 15: class MemcacheCache extends CacheProvider
 16: {
 17:     /** @var Memcache|null */
 18:     private $memcache;
 19:
 20:     /**
 21:      * Sets the memcache instance to use.
 22:      *
 23:      * @return void
 24:      */
 25:     public function setMemcache(Memcache $memcache)
 26:     {

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/cache/lib/Doctrine/Common/Cache/CouchbaseBucketCache.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 10) in the following part of no-namespace source code:

  3:
  4:
  5: namespace Doctrine\Common\Cache;
  6:
  7: use Couchbase\Bucket;
  8: use Couchbase\Document;
  9: use Couchbase\Exception;
*10: use function phpversion;
 11: use function serialize;
 12: use function sprintf;
 13: use function substr;
 14: use function time;
 15: 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(121): 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\ndeclare(...', '/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/cache/lib/Doctrine/Common/Cache/ChainCache.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\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
* 5: use function array_values;
  6: use function count;
  7: use function iterator_to_array;
  8:
  9: /**
 10:  * Cache provider that allows to easily chain multiple cache providers
 11:  */
 12: class ChainCache extends CacheProvider
 13: {
 14:     /** @var CacheProvider[] */

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/cache/lib/Doctrine/Common/Cache/WinCacheCache.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\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
* 5: use function count;
  6: use function is_array;
  7: use function wincache_ucache_clear;
  8: use function wincache_ucache_delete;
  9: use function wincache_ucache_exists;
 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}

10. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/cache/lib/Doctrine/Common/Cache/CouchbaseCache.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 6) in the following part of Doctrine\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
  5: use Couchbase;
* 6: use function explode;
  7: use function time;
  8:
  9: /**
 10:  * Couchbase cache provider.
 11:  *
 12:  * @link   www.doctrine-project.org
 13:  * @deprecated Couchbase SDK 1.x is now deprecated. Use \Doctrine\Common\Cache\CouchbaseBucketCache instead.
 14:  * https://developer.couchbase.com/documentation/server/current/sdk/php/compatibility-versions-features.html
 15:  */
 16: class CouchbaseCache extends CacheProvider
 17: {
 18:     /** @var Couchbase|null */
 19:     private $couchbase;
 20:
 21:     /**
 22:      * Sets the Couchbase instance to use.
 23:      *
 24:      * @return void
 25:      */

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/cache/lib/Doctrine/Common/Cache/ArrayCache.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\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
* 5: use function time;
  6:
  7: /**
  8:  * Array cache driver.
  9:  *
 10:  * @link   www.doctrine-project.org
 11:  */
 12: class ArrayCache extends CacheProvider
 13: {
 14:     /** @var array[] $data each element being a tuple of [$data, $expiration], where the expiration is int|bool */
 15:     private $data = [];
 16:
 17:     /** @var int */
 18:     private $hitsCount = 0;
 19:
 20:     /** @var int */

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/cache/lib/Doctrine/Common/Cache/FilesystemCache.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\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
* 5: use const PHP_EOL;
  6: use function fclose;
  7: use function fgets;
  8: use function fopen;
  9: use function is_file;
 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}

13. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/cache/lib/Doctrine/Common/Cache/ZendDataCache.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\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
* 5: use function zend_shm_cache_clear;
  6: use function zend_shm_cache_delete;
  7: use function zend_shm_cache_fetch;
  8: use function zend_shm_cache_store;
  9:
 10: /**
 11:  * Zend Data Cache cache driver.
 12:  *
 13:  * @link   www.doctrine-project.org
 14:  */
 15: class ZendDataCache extends CacheProvider
 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}

14. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/cache/lib/Doctrine/Common/Cache/FileCache.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\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
* 5: use const DIRECTORY_SEPARATOR;
  6: use const PATHINFO_DIRNAME;
  7: use function bin2hex;
  8: use function chmod;
  9: use function defined;
 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}

15. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/cache/lib/Doctrine/Common/Cache/PhpFileCache.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\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
* 5: use function is_object;
  6: use function method_exists;
  7: use function restore_error_handler;
  8: use function serialize;
  9: use function set_error_handler;
 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}

16. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.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\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
* 5: use function array_combine;
  6: use function array_key_exists;
  7: use function array_map;
  8: use function sprintf;
  9:
 10: /**
 11:  * Base class for cache provider implementations.
 12:  *
 13:  */
 14: abstract class CacheProvider implements Cache, FlushableCache, ClearableCache, MultiOperationCache
 15: {

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/cache/lib/Doctrine/Common/Cache/ApcuCache.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\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
* 5: use function apcu_cache_info;
  6: use function apcu_clear_cache;
  7: use function apcu_delete;
  8: use function apcu_exists;
  9: use function apcu_fetch;
 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}

18. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/cache/lib/Doctrine/Common/Cache/MongoDBCache.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 7) in the following part of Doctrine\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
  5: use MongoCollection;
  6: use MongoDB\Collection;
* 7: use const E_USER_DEPRECATED;
  8: use function trigger_error;
  9:
 10: /**
 11:  * MongoDB cache provider.
 12:  */
 13: class MongoDBCache extends CacheProvider
 14: {
 15:     /**
 16:      * The data field will store the serialized PHP value.
 17:      */
 18:     public const DATA_FIELD = 'd';
 19:
 20:     /**
 21:      * The expiration field will store a MongoDate value indicating when the
 22:      * cache entry should expire.
 23:      *
 24:      * With MongoDB 2.2+, entries can be automatically deleted by MongoDB by
 25:      * indexing this field with the "expireAfterSeconds" option equal to zero.
 26:      * This will direct MongoDB to regularly query for and delete any entries
 27:      * whose date is older than the current time. Entries without a date value
 28:      * in this field will be ignored.
 29:      *
 30:      * The cache provider will also check dates on its own, in case expired
 31:      * entries are fetched before MongoDB's TTLMonitor pass can expire them.
 32:      *
 33:      * @see http://docs.mongodb.org/manual/tutorial/expire-data/
 34:      */

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/cache/lib/Doctrine/Common/Cache/MemcachedCache.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 6) in the following part of Doctrine\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
  5: use Memcached;
* 6: use function time;
  7:
  8: /**
  9:  * Memcached cache provider.
 10:  *
 11:  * @link   www.doctrine-project.org
 12:  */
 13: class MemcachedCache extends CacheProvider
 14: {
 15:     /** @var Memcached|null */
 16:     private $memcached;
 17:
 18:     /**
 19:      * Sets the memcache instance to use.
 20:      *
 21:      * @return void
 22:      */
 23:     public function setMemcached(Memcached $memcached)
 24:     {

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/cache/lib/Doctrine/Common/Cache/PredisCache.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 6) in the following part of Doctrine\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
  5: use Predis\ClientInterface;
* 6: use function array_combine;
  7: use function array_filter;
  8: use function array_map;
  9: use function call_user_func_array;
 10: use function serialize;
 11: 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/cache/lib/Doctrine/Common/Cache/ExtMongoDBCache.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 14) in the following part of no-namespace source code:

  9:
 10: use MongoDB\Collection;
 11: use MongoDB\Database;
 12: use MongoDB\Driver\Exception\Exception;
 13: use MongoDB\Model\BSONDocument;
*14: use function serialize;
 15: use function time;
 16: use function unserialize;
 17:
 18: /**
 19:  * MongoDB cache provider for ext-mongodb
 20:  *
 21:  * @internal Do not use - will be removed in 2.0. Use MongoDBCache instead
 22:  */
 23: class ExtMongoDBCache extends CacheProvider
 24: {
 25:     /** @var Database */

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(121): 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\ndeclare(...', '/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/cache/lib/Doctrine/Common/Cache/SQLite3Cache.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 7) in the following part of Doctrine\Common\Cache source code:

  1: <?php
  2:
  3: namespace Doctrine\Common\Cache;
  4:
  5: use SQLite3;
  6: use SQLite3Result;
* 7: use const SQLITE3_ASSOC;
  8: use const SQLITE3_BLOB;
  9: use const SQLITE3_TEXT;
 10: use function array_search;
 11: use function implode;
 12: 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. The TokenReflection library threw an exception while parsing the file .../repos/doctrine/cache/lib/Doctrine/Common/Cache/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 exception "Could not find the function keyword." was thrown when processing the source code:

 2:
 3: namespace Doctrine\Common\Cache;
 4:
 5: class Version
 6: {
 7:     public const VERSION = '1.7.0-DEV';
 8: }
 9:

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}

Found 8 classes, 0 constants, 0 functions and other 0 used PHP internal classes
Documentation for 5 classes, 0 constants, 0 functions and other 0 used PHP internal classes will be generated
Generating to directory .../doc-progress/doctrine/cache
[===============================================================>] 100.00%  20MB
Done. Total time: 1 sec, used: 20 MB RAM