<commit_before>use_inline_resources

action :create do

    include_recipe 'git'

    version = new_resource.version
    path = new_resource.path || "/opt/yii-#{version}"
    symlink = new_resource.symlink

    directory ::File::dirname(path) do
        action :create
        recursive true
    end

    git "Clone yii #{version}" do
        repository "https://github.com/yiisoft/yii.git"
        destination path<commit_msg>fix yii_framework provider<commit_after>use_inline_resources

action :create do

    @run_context.include_recipe 'git'

    version = new_resource.name
    path = new_resource.path || "/opt/yii-#{version}"
    symlink = new_resource.symlink

    directory ::File::dirname(path) do
        action :create
        recursive true
    end

    git "Clone yii #{version}" do
        repository "https://github.com/yiisoft/yii.git"
        destination path
{'fraction_non_alphanumeric': 0.10034207525655645, 'fraction_numerical': 0.0, 'mean_word_length': 2.919642857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6582876', 'n_tokens_mistral': 271, 'n_tokens_neox': 264, 'n_words': 61}