<commit_before><?php

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

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

$versions = GitVersionCollection::create($dir)
    ->add('develop', 'develop branch')
    ->add('master', 'master branch')
    ->addFromTags('*');

return new Sami($iterator, array(
    'theme' => 'default',
    'versions' => $versions,
    'title' => 'AuthBucket\Push API',
    'build_dir' => __DIR__ . '/build/sami/%version%',
    'cache_dir' => __DIR__ . '/build/cache/sami/%version%',
    'include_parent_data' => false,
    'default_opened_level' => 2,
));<commit_msg>Update .sami.php as per oauth2-php.<commit_after><?php

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

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

$versions = GitVersionCollection::create($dir)
    ->add('develop', 'develop branch')
    ->add('master', 'master branch')
    ->addFromTags('1.*');

return new Sami($iterator, [
    'theme' => 'default',
    'versions' => $versions,
    'title' => 'AuthBucket\Push API',
    'build_dir' => __DIR__.'/build/sami/%version%',
    'cache_dir' => __DIR__.'/build/cache/sami/%version%',
    'include_parent_data' => false,
    'default_opened_level' => 2,
]);
{'fraction_non_alphanumeric': 0.20789288231148698, 'fraction_numerical': 0.0028188865398167725, 'mean_word_length': 3.965034965034965, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 31, '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': '3965934', 'n_tokens_mistral': 493, 'n_tokens_neox': 496, 'n_words': 89}