Plugin Directory

Changeset 1392348


Ignore:
Timestamp:
04/11/2016 07:23:44 PM (10 years ago)
Author:
AronMS
Message:

Release 1.1.1, see readme.txt for changelog.

Location:
drafty-in-here/trunk
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • drafty-in-here/trunk/Repositories/Admin/Admin.php

    r1364715 r1392348  
    3131
    3232    /**
    33      * Sets up our plug-in options using the WordPress settings PAI
     33     * Sets up our plug-in options using the WordPress settings API
    3434     */
    3535    public function drafty_options_init()
     
    120120        $date = Scheduler::next_sheduled(self::$cron_name);
    121121        if ( false !== $date ) {
    122             $text = sprintf(__('Drafty is next sheduled to run %s', 'drafty-in-here'),
     122            $text = sprintf(__('Drafty is next scheduled to run %s', 'drafty-in-here'),
    123123                $date->format('F j, Y, g:i a T')
    124124            );
     
    146146        }
    147147       
    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) ) {
    149149           
    150150            Scheduler::remove(self::$cron_name); // remove current
  • drafty-in-here/trunk/Repositories/Options/Options.php

    r1364715 r1392348  
    99     * @return bool False if option was not added and true if option was added.
    1010     */
    11     public static function create($option='', $value=null)
     11    public static function create( $option = '', $value = null )
    1212    {
    13         return add_option($option='', $value);
     13        return add_option( $option, $value );
    1414    }
    1515
     
    1919     * @return mixed Value set for the option.
    2020     */
    21     public static function read($option='')
     21    public static function read( $option = '' )
    2222    {
    23         return get_option($option);
     23        return get_option( $option );
    2424    }
    2525
     
    2929     * @return mixed Value set for the option.
    3030     */
    31     public static function get($option='')
     31    public static function get( $option = '', $default = false )
    3232    {
    33         return get_option($option);
     33        return get_option( $option, $default );
    3434    }
    3535
     
    3939     * @return bool True if option value has changed, false if not or if update failed.
    4040     */
    41     public static function update($option='', $value=null)
     41    public static function update( $option = '', $value = null )
    4242    {
    43         return update_option($option, $value);
     43        return update_option( $option, $value );
    4444    }
    4545
     
    4949     * @return bool True if option value has changed, false if not or if update failed.
    5050     */
    51     public static function save($option='', $value=null)
     51    public static function save( $option = '', $value = null )
    5252    {
    53         return update_option($option, $value);
     53        return update_option( $option, $value );
    5454    }
    5555   
     
    5858     * @return bool True, if option is successfully deleted. False on failure
    5959     */
    60     public static function delete($option='')
     60    public static function delete( $option = '' )
    6161    {
    62         return delete_option($option);
     62        return delete_option( $option );
    6363    }
    6464
  • drafty-in-here/trunk/Repositories/Scheduler/Scheduler.php

    r1364715 r1392348  
    11<?php namespace Repositories\Scheduler;
    22
    3 use Carbon\Carbon;
     3use Repositories\Options\Options;
    44
    55class Scheduler implements SchedulerInterface
     
    1515     * @return void
    1616     */
    17     public static function add($event_name = '', $frequency = 'hourly')
     17    public static function add( $event_name = '', $frequency = 'hourly' )
    1818    {
    19         if ( ! wp_next_scheduled($event_name) ) {
    20             $interval = self::getSecondsInterval($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 );
    2222        }
    2323    }
     
    3030     * @return void
    3131     */
    32     public static function remove($event_name = '')
     32    public static function remove( $event_name = '' )
    3333    {
    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 );
    3636        }
    3737    }
     
    3939
    4040    /**
    41      * Return a Carbon object of when the event is next scheduled to fire.
     41     * Return a DateTime object of when the event is next scheduled to fire.
    4242     *
    4343     * @param  string $event_name Name of the wp_cron event.
    44      * @return object|bool        A Carbon DateTime object or false.
     44     * @return object|bool        A DateTime instance or false.
    4545     */
    46     public static function next_sheduled($event_name = '')
     46    public static function next_sheduled( $event_name = '' )
    4747    {
    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) );
    5252        }
    5353        return false;
    5454    }
    5555
    56     private static function getSecondsInterval($frequency='')
     56    private static function get_seconds_interval( $frequency = '' )
    5757    {
    5858        $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;
    7366    }
    7467
  • drafty-in-here/trunk/composer.json

    r1364715 r1392348  
    11{
    2     "require": {
    3         "nesbot/carbon": "^1.20"
    4     },
    52    "autoload": {
    63        "psr-4": {
  • drafty-in-here/trunk/drafty-in-here.php

    r1365022 r1392348  
    22/**
    33 * Plugin Name: Drafty In Here
    4  * Version:     1.1.0
     4 * Version:     1.1.1
    55 * Plugin URI:  https://wordpress.org/plugins/drafty-in-here/
    66 * Author:      Aron Marriott-Smith <aron@atomace.com>
     
    2222
    2323/**
    24  * Because we our plugin uses namespaces we need at least php5.3 to run
    25  * If we have php5.3 installed we load the plugin
    26  * If we do not have php5.3 installed we display an error
     24 * 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
    2727 */
    28 if ( version_compare( PHP_VERSION, '5.3.0', '>=' ) ) {
     28if ( version_compare( PHP_VERSION, '5.3.2', '>=' ) ) {
    2929    require_once 'drafty-main.php';
    3030}
     
    3333    echo '
    3434        <div class=\"error\"><p>".
    35         __('Sorry Drafty In Here requires PHP 5.3 to 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')
    3636        ."</p></div>';"
    3737    ));
  • drafty-in-here/trunk/drafty-main.php

    r1364715 r1392348  
    88
    99/**
    10  * Load our plugin dependences
     10 * Load our plugin dependencies
    1111 */
    1212require_once 'vendor/autoload.php';
     
    8282     * Where SOME_FILTER would be the WordPress filter and SOME_METHOD_NAME would be a method inside our plugin.
    8383     *
    84      * @return An instance of our plugin.
     84     * @return Drafty_In_Here
    8585     */
    8686    static function this()
     
    151151    /**
    152152     * Add Settings link in plugins admin section
     153     *
     154     * @param $action_links
     155     * @param $plugin_file
     156     * @return mixed
    153157     */
    154158    public function drafty_settings_link($action_links, $plugin_file) {
     
    163167    /**
    164168     * 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     *
    169177     */
    170178    public function get_posts($type = 'post', $status = 'draft')
     
    221229        $html = nl2br($text);
    222230
    223         Email::to($to)->subject($subject)->text($text)->HTML($html)->send();
     231        return Email::to($to)->subject($subject)->text($text)->HTML($html)->send();
    224232    }
    225233
  • drafty-in-here/trunk/readme.txt

    r1365022 r1392348  
    33Tags: productivity, focus, motivation, drafts, draft posts, notify, emails, drafty
    44Requires at least: 4.0
    5 Tested up to: 4.4.2
    6 Stable tag: 1.0
     5Tested up to: 4.5
     6Stable tag: 1.1.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7171= 1.1 =
    7272* 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
    7379
    7480== Discussion / Support ==
  • drafty-in-here/trunk/vendor/composer/ClassLoader.php

    r1364715 r1392348  
    1414
    1515/**
    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.
    1917 *
    2018 *     $loader = new \Composer\Autoload\ClassLoader();
     
    4038 * @author Fabien Potencier <fabien@symfony.com>
    4139 * @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/
    4242 */
    4343class ClassLoader
     
    148148     *
    149149     * @param string       $prefix  The prefix/namespace, with trailing '\\'
    150      * @param array|string $paths   The PSR-0 base directories
     150     * @param array|string $paths   The PSR-4 base directories
    151151     * @param bool         $prepend Whether to prepend the directories
    152152     *
  • drafty-in-here/trunk/vendor/composer/autoload_classmap.php

    r1364715 r1392348  
    77
    88return 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',
    1079);
  • drafty-in-here/trunk/vendor/composer/autoload_namespaces.php

    r1364715 r1392348  
    77
    88return array(
    9     'Carbon' => array($vendorDir . '/nesbot/carbon/src'),
    109);
  • drafty-in-here/trunk/vendor/composer/autoload_psr4.php

    r1364715 r1392348  
    77
    88return array(
    9     'Symfony\\Component\\Translation\\' => array($vendorDir . '/symfony/translation'),
    109    'Repositories\\' => array($baseDir . '/Repositories'),
    1110);
  • drafty-in-here/trunk/vendor/composer/autoload_real.php

    r1364715 r1392348  
    4444    }
    4545}
    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.