<commit_before><?php
require __DIR__.'/vendor/autoload.php';

/**
 * User: casperlai
 * Date: 2016/9/11
 * Time: 上午1:59
 */

use Sami\RemoteRepository\GitHubRemoteRepository;
use Sami\Sami;
use Sami\Version\GitVersionCollection;
use Symfony\Component\Finder\Finder;

$iterator = Finder::create()
    ->files()
    ->name('*.php')
    ->in($dir = __DIR__.'/project/src');

$versions = GitVersionCollection::create($dir)
    ->add('1.1', '1.1')
    ->add('master', 'Master');

return new Sami($iterator, array(
    'title'                => 'Laravel Facebook Messenger API',<commit_msg>chore: Update docs script<commit_after><?php
require __DIR__.'/vendor/autoload.php';

/**
 * User: casperlai
 * Date: 2016/9/11
 * Time: 上午1:59
 */

use Sami\RemoteRepository\GitHubRemoteRepository;
use Sami\Sami;
use Sami\Version\GitVersionCollection;
use Symfony\Component\Finder\Finder;

$iterator = Finder::create()
    ->files()
    ->name('*.php')
    ->in($dir = __DIR__.'/project/src');

$versions = GitVersionCollection::create($dir)
    ->add('1.1', '1.1')
    ->add('master', '1.2');

return new Sami($iterator, array(
    'title'                => 'Laravel Facebook Messenger API',
{'fraction_non_alphanumeric': 0.18351741716227699, 'fraction_numerical': 0.025488530161427356, 'mean_word_length': 3.769230769230769, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5964578', 'n_tokens_mistral': 433, 'n_tokens_neox': 415, 'n_words': 78}