diff --git a/src/autodoc/Helpers/Generator.php b/src/autodoc/Helpers/Generator.php index 4a85b8a..31a960d 100644 --- a/src/autodoc/Helpers/Generator.php +++ b/src/autodoc/Helpers/Generator.php @@ -753,7 +753,7 @@ class Generator $dir = $this->dirs['input']; } - if (!$checkout = $this->obtenir_commande_serveur('checkout.php')) { + if (!$checkout = $this->obtenir_commande_serveur('checkout')) { return false; } $no_error = $no_error ? '2> /dev/null' : ''; diff --git a/src/autodoc/Plugin/Core/Compiler/Pass/VcsInformations/Git.php b/src/autodoc/Plugin/Core/Compiler/Pass/VcsInformations/Git.php index 5621e6c..f756fed 100644 --- a/src/autodoc/Plugin/Core/Compiler/Pass/VcsInformations/Git.php +++ b/src/autodoc/Plugin/Core/Compiler/Pass/VcsInformations/Git.php @@ -20,8 +20,8 @@ class Git extends VcsInformationsAbstract $this->clear(); - if (!$checkout = $this->obtenir_commande_serveur('checkout.php')) { - throw new \RuntimeException("Checkout.php introuvable"); + if (!$checkout = $this->obtenir_commande_serveur('checkout')) { + throw new \RuntimeException("Checkout introuvable"); } // obtenir les infos Git