Changeset 1392348
- Timestamp:
- 04/11/2016 07:23:44 PM (10 years ago)
- Location:
- drafty-in-here/trunk
- Files:
-
- 13 edited
-
Repositories/Admin/Admin.php (modified) (3 diffs)
-
Repositories/Options/Options.php (modified) (6 diffs)
-
Repositories/Scheduler/Scheduler.php (modified) (4 diffs)
-
composer.json (modified) (1 diff)
-
drafty-in-here.php (modified) (3 diffs)
-
drafty-main.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
-
vendor/composer/ClassLoader.php (modified) (3 diffs)
-
vendor/composer/autoload_classmap.php (modified) (1 diff)
-
vendor/composer/autoload_namespaces.php (modified) (1 diff)
-
vendor/composer/autoload_psr4.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (1 diff)
-
vendor/composer/installed.json (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
drafty-in-here/trunk/Repositories/Admin/Admin.php
r1364715 r1392348 31 31 32 32 /** 33 * Sets up our plug-in options using the WordPress settings PAI33 * Sets up our plug-in options using the WordPress settings API 34 34 */ 35 35 public function drafty_options_init() … … 120 120 $date = Scheduler::next_sheduled(self::$cron_name); 121 121 if ( false !== $date ) { 122 $text = sprintf(__('Drafty is next s heduled to run %s', 'drafty-in-here'),122 $text = sprintf(__('Drafty is next scheduled to run %s', 'drafty-in-here'), 123 123 $date->format('F j, Y, g:i a T') 124 124 ); … … 146 146 } 147 147 148 if ( $settings_array['drafty_frequency'] != self::$options['drafty_frequency'] ) {148 if ( $settings_array['drafty_frequency'] != self::$options['drafty_frequency'] || false == Scheduler::next_sheduled(self::$cron_name) ) { 149 149 150 150 Scheduler::remove(self::$cron_name); // remove current -
drafty-in-here/trunk/Repositories/Options/Options.php
r1364715 r1392348 9 9 * @return bool False if option was not added and true if option was added. 10 10 */ 11 public static function create( $option='', $value=null)11 public static function create( $option = '', $value = null ) 12 12 { 13 return add_option( $option='', $value);13 return add_option( $option, $value ); 14 14 } 15 15 … … 19 19 * @return mixed Value set for the option. 20 20 */ 21 public static function read( $option='')21 public static function read( $option = '' ) 22 22 { 23 return get_option( $option);23 return get_option( $option ); 24 24 } 25 25 … … 29 29 * @return mixed Value set for the option. 30 30 */ 31 public static function get( $option='')31 public static function get( $option = '', $default = false ) 32 32 { 33 return get_option( $option);33 return get_option( $option, $default ); 34 34 } 35 35 … … 39 39 * @return bool True if option value has changed, false if not or if update failed. 40 40 */ 41 public static function update( $option='', $value=null)41 public static function update( $option = '', $value = null ) 42 42 { 43 return update_option( $option, $value);43 return update_option( $option, $value ); 44 44 } 45 45 … … 49 49 * @return bool True if option value has changed, false if not or if update failed. 50 50 */ 51 public static function save( $option='', $value=null)51 public static function save( $option = '', $value = null ) 52 52 { 53 return update_option( $option, $value);53 return update_option( $option, $value ); 54 54 } 55 55 … … 58 58 * @return bool True, if option is successfully deleted. False on failure 59 59 */ 60 public static function delete( $option='')60 public static function delete( $option = '' ) 61 61 { 62 return delete_option( $option);62 return delete_option( $option ); 63 63 } 64 64 -
drafty-in-here/trunk/Repositories/Scheduler/Scheduler.php
r1364715 r1392348 1 1 <?php namespace Repositories\Scheduler; 2 2 3 use Carbon\Carbon;3 use Repositories\Options\Options; 4 4 5 5 class Scheduler implements SchedulerInterface … … 15 15 * @return void 16 16 */ 17 public static function add( $event_name = '', $frequency = 'hourly')17 public static function add( $event_name = '', $frequency = 'hourly' ) 18 18 { 19 if ( ! wp_next_scheduled( $event_name) ) {20 $interval = self::get SecondsInterval($frequency);21 wp_schedule_event( time() + $interval, $frequency, $event_name);19 if ( ! wp_next_scheduled( $event_name ) ) { 20 $interval = self::get_seconds_interval( $frequency ); 21 wp_schedule_event( time() + $interval, $frequency, $event_name ); 22 22 } 23 23 } … … 30 30 * @return void 31 31 */ 32 public static function remove( $event_name = '')32 public static function remove( $event_name = '' ) 33 33 { 34 if ( false !== ( $time = wp_next_scheduled($event_name)) ) {35 wp_unschedule_event( $time, $event_name);34 if ( false !== ( $time = wp_next_scheduled( $event_name ) ) ) { 35 wp_unschedule_event( $time, $event_name ); 36 36 } 37 37 } … … 39 39 40 40 /** 41 * Return a Carbonobject of when the event is next scheduled to fire.41 * Return a DateTime object of when the event is next scheduled to fire. 42 42 * 43 43 * @param string $event_name Name of the wp_cron event. 44 * @return object|bool A Carbon DateTime objector false.44 * @return object|bool A DateTime instance or false. 45 45 */ 46 public static function next_sheduled( $event_name = '')46 public static function next_sheduled( $event_name = '' ) 47 47 { 48 if ( false !== ( $time = wp_next_scheduled($event_name)) ) {49 $date = new Carbon;50 $date->timestamp = $time;51 return $date;48 if ( false !== ( $time = wp_next_scheduled( $event_name ) ) ) { 49 $dt = new \DateTime( "@$time", new \DateTimeZone('UTC') ); 50 $tz = Options::get( 'timezone_string', 'UTC' ); 51 return $dt->setTimezone( new \DateTimeZone($tz) ); 52 52 } 53 53 return false; 54 54 } 55 55 56 private static function get SecondsInterval($frequency='')56 private static function get_seconds_interval( $frequency = '' ) 57 57 { 58 58 $hour = 3600; 59 switch ($frequency) { 60 case 'hourly': 61 return $hour; 62 break; 63 case 'daily': 64 return 24 * $hour; 65 break; 66 case 'weekly': 67 return (24 * 7) * $hour; 68 break; 69 default: 70 return 0; 71 break; 72 } 59 $times = array( 60 'hourly' => $hour, 61 'daily' => 24 * $hour, 62 'weekly' => (24 * 7) * $hour, 63 ); 64 65 return ( isset( $times[$frequency] ) ) ? $times[$frequency] : 0; 73 66 } 74 67 -
drafty-in-here/trunk/composer.json
r1364715 r1392348 1 1 { 2 "require": {3 "nesbot/carbon": "^1.20"4 },5 2 "autoload": { 6 3 "psr-4": { -
drafty-in-here/trunk/drafty-in-here.php
r1365022 r1392348 2 2 /** 3 3 * Plugin Name: Drafty In Here 4 * Version: 1.1. 04 * Version: 1.1.1 5 5 * Plugin URI: https://wordpress.org/plugins/drafty-in-here/ 6 6 * Author: Aron Marriott-Smith <aron@atomace.com> … … 22 22 23 23 /** 24 * Because we our plugin uses namespaces we need at least php5.3to run25 * If we have php5.3installed we load the plugin26 * If we do not have php5.3installed we display an error24 * Because we our plugin uses namespaces and composer we need at least PHP 5.3.2+ to run 25 * If we have PHP 5.3.2+ installed we load the plugin 26 * If we do not have at least PHP 5.3.2 installed we display an error 27 27 */ 28 if ( version_compare( PHP_VERSION, '5.3. 0', '>=' ) ) {28 if ( version_compare( PHP_VERSION, '5.3.2', '>=' ) ) { 29 29 require_once 'drafty-main.php'; 30 30 } … … 33 33 echo ' 34 34 <div class=\"error\"><p>". 35 __('Sorry Drafty In Here requires PHP 5.3to function properly. Please upgrade PHP.', 'drafty-in-here')35 __('Sorry Drafty In Here requires at least PHP 5.3.2 to function properly. Please upgrade PHP.', 'drafty-in-here') 36 36 ."</p></div>';" 37 37 )); -
drafty-in-here/trunk/drafty-main.php
r1364715 r1392348 8 8 9 9 /** 10 * Load our plugin dependenc es10 * Load our plugin dependencies 11 11 */ 12 12 require_once 'vendor/autoload.php'; … … 82 82 * Where SOME_FILTER would be the WordPress filter and SOME_METHOD_NAME would be a method inside our plugin. 83 83 * 84 * @return An instance of our plugin.84 * @return Drafty_In_Here 85 85 */ 86 86 static function this() … … 151 151 /** 152 152 * Add Settings link in plugins admin section 153 * 154 * @param $action_links 155 * @param $plugin_file 156 * @return mixed 153 157 */ 154 158 public function drafty_settings_link($action_links, $plugin_file) { … … 163 167 /** 164 168 * Gets posts of given type with given status. 165 * 166 * @param string or array $type the post type 167 * @param string or array $status the post status 168 * @return WordPress post object or false if we have no data 169 * 170 * @param string $type 171 * @param string $status 172 * @return WP_Query 173 * @throws Exception 174 * @internal param or $string array $type the post type 175 * @internal param or $string array $status the post status 176 * 169 177 */ 170 178 public function get_posts($type = 'post', $status = 'draft') … … 221 229 $html = nl2br($text); 222 230 223 Email::to($to)->subject($subject)->text($text)->HTML($html)->send();231 return Email::to($to)->subject($subject)->text($text)->HTML($html)->send(); 224 232 } 225 233 -
drafty-in-here/trunk/readme.txt
r1365022 r1392348 3 3 Tags: productivity, focus, motivation, drafts, draft posts, notify, emails, drafty 4 4 Requires at least: 4.0 5 Tested up to: 4. 4.26 Stable tag: 1. 05 Tested up to: 4.5 6 Stable tag: 1.1.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 71 71 = 1.1 = 72 72 * Added "support" for the users running php5.2 73 = 1.1.1 = 74 * Fixed several typos 75 * Fixed bug when saving frequency 76 * Replaced Carbon with PHP DateTime 77 * Changed the minimum version of PHP required by Drafty to 5.3.2 78 73 79 74 80 == Discussion / Support == -
drafty-in-here/trunk/vendor/composer/ClassLoader.php
r1364715 r1392348 14 14 15 15 /** 16 * ClassLoader implements a PSR-0 class loader 17 * 18 * See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md 16 * ClassLoader implements a PSR-0, PSR-4 and classmap class loader. 19 17 * 20 18 * $loader = new \Composer\Autoload\ClassLoader(); … … 40 38 * @author Fabien Potencier <fabien@symfony.com> 41 39 * @author Jordi Boggiano <j.boggiano@seld.be> 40 * @see http://www.php-fig.org/psr/psr-0/ 41 * @see http://www.php-fig.org/psr/psr-4/ 42 42 */ 43 43 class ClassLoader … … 148 148 * 149 149 * @param string $prefix The prefix/namespace, with trailing '\\' 150 * @param array|string $paths The PSR- 0base directories150 * @param array|string $paths The PSR-4 base directories 151 151 * @param bool $prepend Whether to prepend the directories 152 152 * -
drafty-in-here/trunk/vendor/composer/autoload_classmap.php
r1364715 r1392348 7 7 8 8 return array( 9 'Carbon\\Carbon' => $vendorDir . '/nesbot/carbon/src/Carbon/Carbon.php',10 'Carbon\\CarbonInterval' => $vendorDir . '/nesbot/carbon/src/Carbon/CarbonInterval.php',11 'Repositories\\Admin\\Admin' => $baseDir . '/Repositories/Admin/Admin.php',12 'Repositories\\Admin\\AdminInterface' => $baseDir . '/Repositories/Admin/AdminInterface.php',13 'Repositories\\Email\\Email' => $baseDir . '/Repositories/Email/Email.php',14 'Repositories\\Email\\EmailInterface' => $baseDir . '/Repositories/Email/EmailInterface.php',15 'Repositories\\Options\\Options' => $baseDir . '/Repositories/Options/Options.php',16 'Repositories\\Options\\OptionsInterface' => $baseDir . '/Repositories/Options/OptionsInterface.php',17 'Repositories\\Scheduler\\Scheduler' => $baseDir . '/Repositories/Scheduler/Scheduler.php',18 'Repositories\\Scheduler\\SchedulerInterface' => $baseDir . '/Repositories/Scheduler/SchedulerInterface.php',19 'Symfony\\Component\\Translation\\Catalogue\\AbstractOperation' => $vendorDir . '/symfony/translation/Catalogue/AbstractOperation.php',20 'Symfony\\Component\\Translation\\Catalogue\\DiffOperation' => $vendorDir . '/symfony/translation/Catalogue/DiffOperation.php',21 'Symfony\\Component\\Translation\\Catalogue\\MergeOperation' => $vendorDir . '/symfony/translation/Catalogue/MergeOperation.php',22 'Symfony\\Component\\Translation\\Catalogue\\OperationInterface' => $vendorDir . '/symfony/translation/Catalogue/OperationInterface.php',23 'Symfony\\Component\\Translation\\DataCollectorTranslator' => $vendorDir . '/symfony/translation/DataCollectorTranslator.php',24 'Symfony\\Component\\Translation\\DataCollector\\TranslationDataCollector' => $vendorDir . '/symfony/translation/DataCollector/TranslationDataCollector.php',25 'Symfony\\Component\\Translation\\Dumper\\CsvFileDumper' => $vendorDir . '/symfony/translation/Dumper/CsvFileDumper.php',26 'Symfony\\Component\\Translation\\Dumper\\DumperInterface' => $vendorDir . '/symfony/translation/Dumper/DumperInterface.php',27 'Symfony\\Component\\Translation\\Dumper\\FileDumper' => $vendorDir . '/symfony/translation/Dumper/FileDumper.php',28 'Symfony\\Component\\Translation\\Dumper\\IcuResFileDumper' => $vendorDir . '/symfony/translation/Dumper/IcuResFileDumper.php',29 'Symfony\\Component\\Translation\\Dumper\\IniFileDumper' => $vendorDir . '/symfony/translation/Dumper/IniFileDumper.php',30 'Symfony\\Component\\Translation\\Dumper\\JsonFileDumper' => $vendorDir . '/symfony/translation/Dumper/JsonFileDumper.php',31 'Symfony\\Component\\Translation\\Dumper\\MoFileDumper' => $vendorDir . '/symfony/translation/Dumper/MoFileDumper.php',32 'Symfony\\Component\\Translation\\Dumper\\PhpFileDumper' => $vendorDir . '/symfony/translation/Dumper/PhpFileDumper.php',33 'Symfony\\Component\\Translation\\Dumper\\PoFileDumper' => $vendorDir . '/symfony/translation/Dumper/PoFileDumper.php',34 'Symfony\\Component\\Translation\\Dumper\\QtFileDumper' => $vendorDir . '/symfony/translation/Dumper/QtFileDumper.php',35 'Symfony\\Component\\Translation\\Dumper\\XliffFileDumper' => $vendorDir . '/symfony/translation/Dumper/XliffFileDumper.php',36 'Symfony\\Component\\Translation\\Dumper\\YamlFileDumper' => $vendorDir . '/symfony/translation/Dumper/YamlFileDumper.php',37 'Symfony\\Component\\Translation\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/translation/Exception/ExceptionInterface.php',38 'Symfony\\Component\\Translation\\Exception\\InvalidResourceException' => $vendorDir . '/symfony/translation/Exception/InvalidResourceException.php',39 'Symfony\\Component\\Translation\\Exception\\NotFoundResourceException' => $vendorDir . '/symfony/translation/Exception/NotFoundResourceException.php',40 'Symfony\\Component\\Translation\\Extractor\\AbstractFileExtractor' => $vendorDir . '/symfony/translation/Extractor/AbstractFileExtractor.php',41 'Symfony\\Component\\Translation\\Extractor\\ChainExtractor' => $vendorDir . '/symfony/translation/Extractor/ChainExtractor.php',42 'Symfony\\Component\\Translation\\Extractor\\ExtractorInterface' => $vendorDir . '/symfony/translation/Extractor/ExtractorInterface.php',43 'Symfony\\Component\\Translation\\IdentityTranslator' => $vendorDir . '/symfony/translation/IdentityTranslator.php',44 'Symfony\\Component\\Translation\\Interval' => $vendorDir . '/symfony/translation/Interval.php',45 'Symfony\\Component\\Translation\\Loader\\ArrayLoader' => $vendorDir . '/symfony/translation/Loader/ArrayLoader.php',46 'Symfony\\Component\\Translation\\Loader\\CsvFileLoader' => $vendorDir . '/symfony/translation/Loader/CsvFileLoader.php',47 'Symfony\\Component\\Translation\\Loader\\IcuDatFileLoader' => $vendorDir . '/symfony/translation/Loader/IcuDatFileLoader.php',48 'Symfony\\Component\\Translation\\Loader\\IcuResFileLoader' => $vendorDir . '/symfony/translation/Loader/IcuResFileLoader.php',49 'Symfony\\Component\\Translation\\Loader\\IniFileLoader' => $vendorDir . '/symfony/translation/Loader/IniFileLoader.php',50 'Symfony\\Component\\Translation\\Loader\\JsonFileLoader' => $vendorDir . '/symfony/translation/Loader/JsonFileLoader.php',51 'Symfony\\Component\\Translation\\Loader\\LoaderInterface' => $vendorDir . '/symfony/translation/Loader/LoaderInterface.php',52 'Symfony\\Component\\Translation\\Loader\\MoFileLoader' => $vendorDir . '/symfony/translation/Loader/MoFileLoader.php',53 'Symfony\\Component\\Translation\\Loader\\PhpFileLoader' => $vendorDir . '/symfony/translation/Loader/PhpFileLoader.php',54 'Symfony\\Component\\Translation\\Loader\\PoFileLoader' => $vendorDir . '/symfony/translation/Loader/PoFileLoader.php',55 'Symfony\\Component\\Translation\\Loader\\QtFileLoader' => $vendorDir . '/symfony/translation/Loader/QtFileLoader.php',56 'Symfony\\Component\\Translation\\Loader\\XliffFileLoader' => $vendorDir . '/symfony/translation/Loader/XliffFileLoader.php',57 'Symfony\\Component\\Translation\\Loader\\YamlFileLoader' => $vendorDir . '/symfony/translation/Loader/YamlFileLoader.php',58 'Symfony\\Component\\Translation\\LoggingTranslator' => $vendorDir . '/symfony/translation/LoggingTranslator.php',59 'Symfony\\Component\\Translation\\MessageCatalogue' => $vendorDir . '/symfony/translation/MessageCatalogue.php',60 'Symfony\\Component\\Translation\\MessageCatalogueInterface' => $vendorDir . '/symfony/translation/MessageCatalogueInterface.php',61 'Symfony\\Component\\Translation\\MessageSelector' => $vendorDir . '/symfony/translation/MessageSelector.php',62 'Symfony\\Component\\Translation\\MetadataAwareInterface' => $vendorDir . '/symfony/translation/MetadataAwareInterface.php',63 'Symfony\\Component\\Translation\\PluralizationRules' => $vendorDir . '/symfony/translation/PluralizationRules.php',64 'Symfony\\Component\\Translation\\Tests\\Catalogue\\AbstractOperationTest' => $vendorDir . '/symfony/translation/Tests/Catalogue/AbstractOperationTest.php',65 'Symfony\\Component\\Translation\\Tests\\Catalogue\\DiffOperationTest' => $vendorDir . '/symfony/translation/Tests/Catalogue/DiffOperationTest.php',66 'Symfony\\Component\\Translation\\Tests\\Catalogue\\MergeOperationTest' => $vendorDir . '/symfony/translation/Tests/Catalogue/MergeOperationTest.php',67 'Symfony\\Component\\Translation\\Tests\\DataCollectorTranslatorTest' => $vendorDir . '/symfony/translation/Tests/DataCollectorTranslatorTest.php',68 'Symfony\\Component\\Translation\\Tests\\DataCollector\\TranslationDataCollectorTest' => $vendorDir . '/symfony/translation/Tests/DataCollector/TranslationDataCollectorTest.php',69 'Symfony\\Component\\Translation\\Tests\\Dumper\\ConcreteFileDumper' => $vendorDir . '/symfony/translation/Tests/Dumper/FileDumperTest.php',70 'Symfony\\Component\\Translation\\Tests\\Dumper\\CsvFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/CsvFileDumperTest.php',71 'Symfony\\Component\\Translation\\Tests\\Dumper\\FileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/FileDumperTest.php',72 'Symfony\\Component\\Translation\\Tests\\Dumper\\IcuResFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/IcuResFileDumperTest.php',73 'Symfony\\Component\\Translation\\Tests\\Dumper\\IniFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/IniFileDumperTest.php',74 'Symfony\\Component\\Translation\\Tests\\Dumper\\JsonFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/JsonFileDumperTest.php',75 'Symfony\\Component\\Translation\\Tests\\Dumper\\MoFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/MoFileDumperTest.php',76 'Symfony\\Component\\Translation\\Tests\\Dumper\\PhpFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/PhpFileDumperTest.php',77 'Symfony\\Component\\Translation\\Tests\\Dumper\\PoFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/PoFileDumperTest.php',78 'Symfony\\Component\\Translation\\Tests\\Dumper\\QtFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/QtFileDumperTest.php',79 'Symfony\\Component\\Translation\\Tests\\Dumper\\XliffFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/XliffFileDumperTest.php',80 'Symfony\\Component\\Translation\\Tests\\Dumper\\YamlFileDumperTest' => $vendorDir . '/symfony/translation/Tests/Dumper/YamlFileDumperTest.php',81 'Symfony\\Component\\Translation\\Tests\\IdentityTranslatorTest' => $vendorDir . '/symfony/translation/Tests/IdentityTranslatorTest.php',82 'Symfony\\Component\\Translation\\Tests\\IntervalTest' => $vendorDir . '/symfony/translation/Tests/IntervalTest.php',83 'Symfony\\Component\\Translation\\Tests\\Loader\\CsvFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/CsvFileLoaderTest.php',84 'Symfony\\Component\\Translation\\Tests\\Loader\\IcuDatFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/IcuDatFileLoaderTest.php',85 'Symfony\\Component\\Translation\\Tests\\Loader\\IcuResFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/IcuResFileLoaderTest.php',86 'Symfony\\Component\\Translation\\Tests\\Loader\\IniFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/IniFileLoaderTest.php',87 'Symfony\\Component\\Translation\\Tests\\Loader\\JsonFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/JsonFileLoaderTest.php',88 'Symfony\\Component\\Translation\\Tests\\Loader\\LocalizedTestCase' => $vendorDir . '/symfony/translation/Tests/Loader/LocalizedTestCase.php',89 'Symfony\\Component\\Translation\\Tests\\Loader\\MoFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/MoFileLoaderTest.php',90 'Symfony\\Component\\Translation\\Tests\\Loader\\PhpFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/PhpFileLoaderTest.php',91 'Symfony\\Component\\Translation\\Tests\\Loader\\PoFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/PoFileLoaderTest.php',92 'Symfony\\Component\\Translation\\Tests\\Loader\\QtFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/QtFileLoaderTest.php',93 'Symfony\\Component\\Translation\\Tests\\Loader\\XliffFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/XliffFileLoaderTest.php',94 'Symfony\\Component\\Translation\\Tests\\Loader\\YamlFileLoaderTest' => $vendorDir . '/symfony/translation/Tests/Loader/YamlFileLoaderTest.php',95 'Symfony\\Component\\Translation\\Tests\\LoggingTranslatorTest' => $vendorDir . '/symfony/translation/Tests/LoggingTranslatorTest.php',96 'Symfony\\Component\\Translation\\Tests\\MessageCatalogueTest' => $vendorDir . '/symfony/translation/Tests/MessageCatalogueTest.php',97 'Symfony\\Component\\Translation\\Tests\\MessageSelectorTest' => $vendorDir . '/symfony/translation/Tests/MessageSelectorTest.php',98 'Symfony\\Component\\Translation\\Tests\\PluralizationRulesTest' => $vendorDir . '/symfony/translation/Tests/PluralizationRulesTest.php',99 'Symfony\\Component\\Translation\\Tests\\StaleResource' => $vendorDir . '/symfony/translation/Tests/TranslatorCacheTest.php',100 'Symfony\\Component\\Translation\\Tests\\StringClass' => $vendorDir . '/symfony/translation/Tests/TranslatorTest.php',101 'Symfony\\Component\\Translation\\Tests\\TranslatorCacheTest' => $vendorDir . '/symfony/translation/Tests/TranslatorCacheTest.php',102 'Symfony\\Component\\Translation\\Tests\\TranslatorTest' => $vendorDir . '/symfony/translation/Tests/TranslatorTest.php',103 'Symfony\\Component\\Translation\\Translator' => $vendorDir . '/symfony/translation/Translator.php',104 'Symfony\\Component\\Translation\\TranslatorBagInterface' => $vendorDir . '/symfony/translation/TranslatorBagInterface.php',105 'Symfony\\Component\\Translation\\TranslatorInterface' => $vendorDir . '/symfony/translation/TranslatorInterface.php',106 'Symfony\\Component\\Translation\\Writer\\TranslationWriter' => $vendorDir . '/symfony/translation/Writer/TranslationWriter.php',107 9 ); -
drafty-in-here/trunk/vendor/composer/autoload_namespaces.php
r1364715 r1392348 7 7 8 8 return array( 9 'Carbon' => array($vendorDir . '/nesbot/carbon/src'),10 9 ); -
drafty-in-here/trunk/vendor/composer/autoload_psr4.php
r1364715 r1392348 7 7 8 8 return array( 9 'Symfony\\Component\\Translation\\' => array($vendorDir . '/symfony/translation'),10 9 'Repositories\\' => array($baseDir . '/Repositories'), 11 10 ); -
drafty-in-here/trunk/vendor/composer/autoload_real.php
r1364715 r1392348 44 44 } 45 45 } 46 47 function composerRequire7af43e7073fe75c9b70cc4c6ec436dd2($file)48 {49 require $file;50 } -
drafty-in-here/trunk/vendor/composer/installed.json
r1364715 r1392348 1 [ 2 { 3 "name": "symfony/translation", 4 "version": "v2.7.5", 5 "version_normalized": "2.7.5.0", 6 "source": { 7 "type": "git", 8 "url": "https://github.com/symfony/translation.git", 9 "reference": "485877661835e188cd78345c6d4eef1290d17571" 10 }, 11 "dist": { 12 "type": "zip", 13 "url": "https://api.github.com/repos/symfony/translation/zipball/485877661835e188cd78345c6d4eef1290d17571", 14 "reference": "485877661835e188cd78345c6d4eef1290d17571", 15 "shasum": "" 16 }, 17 "require": { 18 "php": ">=5.3.9" 19 }, 20 "conflict": { 21 "symfony/config": "<2.7" 22 }, 23 "require-dev": { 24 "psr/log": "~1.0", 25 "symfony/config": "~2.7", 26 "symfony/intl": "~2.4", 27 "symfony/phpunit-bridge": "~2.7", 28 "symfony/yaml": "~2.2" 29 }, 30 "suggest": { 31 "psr/log": "To use logging capability in translator", 32 "symfony/config": "", 33 "symfony/yaml": "" 34 }, 35 "time": "2015-09-06 08:36:38", 36 "type": "library", 37 "extra": { 38 "branch-alias": { 39 "dev-master": "2.7-dev" 40 } 41 }, 42 "installation-source": "dist", 43 "autoload": { 44 "psr-4": { 45 "Symfony\\Component\\Translation\\": "" 46 } 47 }, 48 "notification-url": "https://packagist.org/downloads/", 49 "license": [ 50 "MIT" 51 ], 52 "authors": [ 53 { 54 "name": "Fabien Potencier", 55 "email": "fabien@symfony.com" 56 }, 57 { 58 "name": "Symfony Community", 59 "homepage": "https://symfony.com/contributors" 60 } 61 ], 62 "description": "Symfony Translation Component", 63 "homepage": "https://symfony.com" 64 }, 65 { 66 "name": "nesbot/carbon", 67 "version": "1.20.0", 68 "version_normalized": "1.20.0.0", 69 "source": { 70 "type": "git", 71 "url": "https://github.com/briannesbitt/Carbon.git", 72 "reference": "bfd3eaba109c9a2405c92174c8e17f20c2b9caf3" 73 }, 74 "dist": { 75 "type": "zip", 76 "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/bfd3eaba109c9a2405c92174c8e17f20c2b9caf3", 77 "reference": "bfd3eaba109c9a2405c92174c8e17f20c2b9caf3", 78 "shasum": "" 79 }, 80 "require": { 81 "php": ">=5.3.0", 82 "symfony/translation": "~2.6|~3.0" 83 }, 84 "require-dev": { 85 "phpunit/phpunit": "~4.0" 86 }, 87 "time": "2015-06-25 04:19:39", 88 "type": "library", 89 "installation-source": "dist", 90 "autoload": { 91 "psr-0": { 92 "Carbon": "src" 93 } 94 }, 95 "notification-url": "https://packagist.org/downloads/", 96 "license": [ 97 "MIT" 98 ], 99 "authors": [ 100 { 101 "name": "Brian Nesbitt", 102 "email": "brian@nesbot.com", 103 "homepage": "http://nesbot.com" 104 } 105 ], 106 "description": "A simple API extension for DateTime.", 107 "homepage": "http://carbon.nesbot.com", 108 "keywords": [ 109 "date", 110 "datetime", 111 "time" 112 ] 113 } 114 ] 1 []
Note: See TracChangeset
for help on using the changeset viewer.