<commit_before>#
# Cookbook:: laravel-artisan
# Recipe:: package:discover
#
# Copyright:: 2017, The Authors, All Rights Reserved.

include_recipe 'laravel-artisan::default'

COMMAND = 'package:discover'

execute "php artisan #{COMMAND}" do
  cwd node['laravel-artisan']['path']
  command "#{node['laravel-artisan']['call']} #{COMMAND} #{node['laravel-artisan']['verbosity']}"
  action :run
end<commit_msg>- using custom resource for package_discover<commit_after>#
# Cookbook:: laravel-artisan
# Recipe:: package:discover
#
# Copyright:: 2017, The Authors, All Rights Reserved.

artisan 'package:discover' do
	path node['laravel-artisan']['path']
end
{'fraction_non_alphanumeric': 0.16, 'fraction_numerical': 0.012307692307692308, 'mean_word_length': 6.939024390243903, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2199842', 'n_tokens_mistral': 220, 'n_tokens_neox': 211, 'n_words': 52}