<commit_before><?php

/*
 * This file is part of the 'org.octris.core' package.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace org\octris\core\project\app {
    use \org\octris\core\app as app;
    use \org\octris\core\config as config;
    use \org\octris\core\validate as validate;

    /**
     * Create documentation for a project and stream it to STDOUT.
     *
     * @octdoc      c:app/doc
     * @copyright   copyright (c) 2012 by <NAME>
     * @author      <NAME> <<EMAIL>>
     */
    class doc extends \org\octris\core\app\cli\page
    /**/
    {
        /**
         * Name of project
         *
         * @octdoc  p:doc/$project
         * @var     string
         */
        protected $project;
        /**/

        /**
         * Output file.
         *
         * @octdoc  p:doc/$output
         * @var     string|null
         */
        protected $output = null;
        /**/

        /**
         * Output format.
         *
         * @octdoc  p:doc/$format
         * @var     string
         */
        protected $format = 'octdoc';
        /**/

        /**
         * Dot command.
         *
         * @octdoc  p:doc/$cmd
         * @var     string
         */
        protected $cmd = '';
        /**/

        /**
         * Docblock definitions.
         *
         * @octdoc  p:doc/$docblock
         * @var     array
         */
        protected $docblock = array(
            '/**'   => array(
                        'start'  => '^\/\*\*',
                        'doc'    => '^\*',
                        'source' => array('^\*\/', false),
                        'end'    => '^\/\*\*\/'
                    ),
            '#**'   => array(
                        'start'  => '^#\*\*',
                        'doc'    => '^#',
                        'source' => array('^[^#]*', true),
                        'end'    => '^#\*\*'
                    )
        );
        /**/

        /**
         * Docblock types.
         *
         * @octdoc  p:doc/$types
         * @var     array
         */
        protected $types = array(
            'c' => 'Class',
            'd' => 'Constant',
            'f' => 'Function',
            'h' => 'Header',
            'i' => 'Interface',
            'l' => 'License',
            'm' => 'Method',
            't' => 'Trait',
            'v' => 'Variable'
        );
        /**/

        /**
         * Docblock attributes.
         *
         * @octdoc  p:doc/$attributes
         * @var     array
         */
        protected $attributes = array(
            'author'    => 'Author',
            'copyright' => 'Copyright',
            'license'   => 'License',
            'package'   => 'Package',

        );<commit_msg>added missing 'p' type definition<commit_after><?php

/*
 * This file is part of the 'org.octris.core' package.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace org\octris\core\project\app {
    use \org\octris\core\app as app;
    use \org\octris\core\config as config;
    use \org\octris\core\validate as validate;

    /**
     * Create documentation for a project and stream it to STDOUT.
     *
     * @octdoc      c:app/doc
     * @copyright   copyright (c) 2012 by <NAME>
     * @author      <NAME> <<EMAIL>>
     */
    class doc extends \org\octris\core\app\cli\page
    /**/
    {
        /**
         * Name of project
         *
         * @octdoc  p:doc/$project
         * @var     string
         */
        protected $project;
        /**/

        /**
         * Output file.
         *
         * @octdoc  p:doc/$output
         * @var     string|null
         */
        protected $output = null;
        /**/

        /**
         * Output format.
         *
         * @octdoc  p:doc/$format
         * @var     string
         */
        protected $format = 'octdoc';
        /**/

        /**
         * Dot command.
         *
         * @octdoc  p:doc/$cmd
         * @var     string
         */
        protected $cmd = '';
        /**/

        /**
         * Docblock definitions.
         *
         * @octdoc  p:doc/$docblock
         * @var     array
         */
        protected $docblock = array(
            '/**'   => array(
                        'start'  => '^\/\*\*',
                        'doc'    => '^\*',
                        'source' => array('^\*\/', false),
                        'end'    => '^\/\*\*\/'
                    ),
            '#**'   => array(
                        'start'  => '^#\*\*',
                        'doc'    => '^#',
                        'source' => array('^[^#]*', true),
                        'end'    => '^#\*\*'
                    )
        );
        /**/

        /**
         * Docblock types.
         *
         * @octdoc  p:doc/$types
         * @var     array
         */
        protected $types = array(
            'c' => 'Class',
            'd' => 'Constant',
            'f' => 'Function',
            'h' => 'Header',
            'i' => 'Interface',
            'l' => 'License',
            'm' => 'Method',
            'p' => 'Property',
            't' => 'Trait',
            'v' => 'Variable'
        );
        /**/

        /**
         * Docblock attributes.
         *
         * @octdoc  p:doc/$attributes
         * @var     array
         */
        protected $attributes = array(
            'author'    => 'Author',
            'copyright' => 'Copyright',
            'license'   => 'License',
            'package'   => 'Package',

        );
{'fraction_non_alphanumeric': 0.16197798357504806, 'fraction_numerical': 0.001397868250917351, 'mean_word_length': 0.9875, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 64, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '645594', 'n_tokens_mistral': 1674, 'n_tokens_neox': 1617, 'n_words': 350}