Changeset 81744 in spip-zone


Ignore:
Timestamp:
Apr 3, 2014, 3:33:57 PM (5 years ago)
Author:
marcimat@…
Message:

Adaptation à phpDocumentor 2.4

Location:
_galaxie_/code.spip.net/autodoc/trunk/src/autodoc
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • _galaxie_/code.spip.net/autodoc/trunk/src/autodoc/Helpers/phpdoc_helper.xml

    r81642 r81744  
    4343        <plugin path="Core" />
    4444        <plugin path="Scrybe" />
     45        <plugin path="Twig" />
    4546        <plugin path="\autodoc\Plugin\Core\ServiceProvider" />
    4647    </plugins -->
  • _galaxie_/code.spip.net/autodoc/trunk/src/autodoc/Plugin/Core/ServiceProvider.php

    r78182 r81744  
    5050        /** @var Collection $writerCollection */
    5151        $writerCollection = $app['transformer.writer.collection'];
    52         $writerCollection['twig'] = new Writer\Twig();
    53         $writerCollection['twig']->setTranslator($translator);
    5452
    5553        // 1b) Ajouter la possibilité de concaténer des fichiers et de nettoyer les vieilleries
  • _galaxie_/code.spip.net/autodoc/trunk/src/autodoc/Plugin/Core/TwigZora.php

    r81642 r81744  
    88namespace autodoc\Plugin\Core;
    99
    10 use phpDocumentor\Plugin\Core\Twig\ExtensionInterface;
     10use phpDocumentor\Plugin\Twig\ExtensionInterface;
    1111use phpDocumentor\Transformer\Transformation;
    1212use phpDocumentor\Descriptor\ProjectDescriptor;
     
    3939     */
    4040    public function initRuntime(\Twig_Environment $environment) {
    41         # ajout de l'extension debug
    42         # $environment->addExtension(new \Twig_Extension_Debug()); // trop tard ici.
    43         # activer le debug pour les tests...
    44         $environment->enableDebug();
     41
    4542    }
    4643
Note: See TracChangeset for help on using the changeset viewer.