Generate API documentation alpha

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

Status of FluentPDO (lichtner/fluentpdo)

Command: php -dmemory_limit=1024M /var/www/projects/apigen/apigen/apigen.php -s '/var/www/projects/apigen/repos/lichtner/fluentpdo/' -d '/var/www/projects/apigen/doc-progress/lichtner/fluentpdo' --charset=auto --download --debug --colors=no --progressbar=yes --tit
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/lichtner/fluentpdo
[===============================================================>] 100.00%  18MB
Found 6 errors

1. The TokenReflection library threw an exception while parsing the file .../repos/lichtner/fluentpdo/src/Query.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 "Invalid namespace name "Envms\FluentPDO\Queries\"." was the { token (line 4) in the following part of Envms\FluentPDO source code:

  1: <?php
  2: namespace Envms\FluentPDO;
  3:
* 4: use Envms\FluentPDO\Queries\{Insert,Select,Update,Delete};
  5:
  6: /**
  7:  * FluentPDO is a quick and light PHP library for rapid query building. It features a smart join builder, which automatically creates table joins.
  8:  *
  9:  * For more information see readme.md
 10:  *
 11:  * @link      http://github.com/envms/fluentpdo
 12:  * @author    envms, start@env.ms
 13:  * @copyright 2012-2017 env.ms - Chris Bornhoft, Aldo Matelli, Stefan Yohansson, Kevin Sanabria, Carol Zhang, Marek Lichtner
 14:  * @license   http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
 15:  * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
 16:  */
 17:
 18: /**
 19:  * Class Query
 20:  */
 21: class Query
 22: {
 23:
 24:     /** @var \PDO */
 25:     protected $pdo;
 26:     /** @var Structure|null */
 27:     protected $structure;
 28:
 29:     /** @var bool|callback */

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\nnamespace...', '/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/lichtner/fluentpdo/src/Queries/Select.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 "Invalid namespace name "Envms\FluentPDO\"." was the { token (line 4) in the following part of Envms\FluentPDO\Queries source code:

  1: <?php
  2: namespace Envms\FluentPDO\Queries;
  3:
* 4: use Envms\FluentPDO\{Query,Utilities};
  5:
  6: /**
  7:  * SELECT query builder
  8:  *
  9:  * @method Select  select(string $column) add one or more columns in SELECT to query
 10:  * @method Select  leftJoin(string $statement) add LEFT JOIN to query
 11:  *                        ($statement can be 'table' name only or 'table:' means back reference)
 12:  * @method Select  innerJoin(string $statement) add INNER JOIN to query
 13:  *                        ($statement can be 'table' name only or 'table:' means back reference)
 14:  * @method Select  groupBy(string $column) add GROUP BY to query
 15:  * @method Select  having(string $column) add HAVING query
 16:  * @method Select  orderBy(string $column) add ORDER BY to query
 17:  * @method Select  limit(int $limit) add LIMIT to query
 18:  * @method Select  offset(int $offset) add OFFSET to query
 19:  */
 20: class Select extends Common implements \Countable
 21: {
 22:
 23:     /** @var mixed */
 24:     private $fromTable;
 25:     /** @var mixed */
 26:     private $fromAlias;
 27:
 28:     /** @var boolean */

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\nnamespace...', '/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/lichtner/fluentpdo/src/Queries/Update.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 "Invalid namespace name "Envms\FluentPDO\"." was the { token (line 4) in the following part of Envms\FluentPDO\Queries source code:

  1: <?php
  2: namespace Envms\FluentPDO\Queries;
  3:
* 4: use Envms\FluentPDO\{Query,Literal};
  5:
  6: /**
  7:  * UPDATE query builder
  8:  *
  9:  * @method Update  leftJoin(string $statement) add LEFT JOIN to query
 10:  *                        ($statement can be 'table' name only or 'table:' means back reference)
 11:  * @method Update  innerJoin(string $statement) add INNER JOIN to query
 12:  *                        ($statement can be 'table' name only or 'table:' means back reference)
 13:  * @method Update  orderBy(string $column) add ORDER BY to query
 14:  * @method Update  limit(int $limit) add LIMIT to query
 15:  */
 16: class Update extends Common
 17: {
 18:
 19:     /**
 20:      * UpdateQuery constructor
 21:      *
 22:      * @param Query     $fluent
 23:      * @param           $table
 24:      */
 25:     public function __construct(Query $fluent, $table) {
 26:         $clauses = array(
 27:             'UPDATE'

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\nnamespace...', '/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/lichtner/fluentpdo/src/Queries/Common.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 "Invalid namespace name "Envms\FluentPDO\"." was the { token (line 4) in the following part of Envms\FluentPDO\Queries source code:

  1: <?php
  2: namespace Envms\FluentPDO\Queries;
  3:
* 4: use Envms\FluentPDO\{Literal,Utilities};
  5:
  6: /**
  7:  * CommonQuery add JOIN and WHERE clauses for (SELECT, UPDATE, DELETE)
  8:  */
  9: abstract class Common extends Base
 10: {
 11:
 12:     /** @var array - methods which are allowed to be call by the magic method __call() */
 13:     private $validMethods = ['from', 'fullJoin', 'group', 'groupBy', 'having', 'innerJoin', 'join', 'leftJoin',
 14:         'limit', 'offset', 'order', 'orderBy', 'outerJoin', 'rightJoin', 'select'];
 15:
 16:     /** @var array - Query tables (also include table from clause FROM) */

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\nnamespace...', '/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/lichtner/fluentpdo/src/Queries/Base.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 "Invalid namespace name "Envms\FluentPDO\"." was the { token (line 4) in the following part of Envms\FluentPDO\Queries source code:

  1: <?php
  2: namespace Envms\FluentPDO\Queries;
  3:
* 4: use Envms\FluentPDO\{Query,Literal,Structure,Utilities};
  5:
  6: /**
  7:  * Base query builder
  8:  */
  9: abstract class Base implements \IteratorAggregate
 10: {
 11:
 12:     /** @var Query */
 13:     private $fluent;
 14:
 15:     /** @var \PDOStatement */
 16:     private $result;
 17:
 18:     /** @var float */

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\nnamespace...', '/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/lichtner/fluentpdo/src/Queries/Insert.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 "Invalid namespace name "Envms\FluentPDO\"." was the { token (line 4) in the following part of Envms\FluentPDO\Queries source code:

  1: <?php
  2: namespace Envms\FluentPDO\Queries;
  3:
* 4: use Envms\FluentPDO\{Query,Literal};
  5:
  6: /** INSERT query builder
  7:  */
  8: class Insert extends Base
  9: {
 10:
 11:     /** @var array */
 12:     private $columns = array();
 13:
 14:     /** @var array */
 15:     private $firstValue = array();
 16:
 17:     /** @var bool */

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\nnamespace...', '/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}

Found 4 classes, 0 constants, 0 functions and other 2 used PHP internal classes
Documentation for 4 classes, 0 constants, 0 functions and other 2 used PHP internal classes will be generated
Generating to directory .../doc-progress/lichtner/fluentpdo
[===============================================================>] 100.00%  17MB
Done. Total time: 14 sec, used: 19 MB RAM