This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$iterations = 1000000; | |
$test_cases = array( | |
array( | |
'name' => 'class_implements, sensitive, uncached', | |
'function' => function($className, $type) { | |
$parents = class_parents($className, true) + class_implements($className, true); | |
return (isset($parents[$type])); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin | |
require 'ruport' | |
rescue LoadError => err | |
warn "Couldn't load ruport gem: #{err}" | |
end | |
namespace :import do | |
desc 'Import tickets from CSV File' | |
task :csv => :environment do |