From 91cb6a2dc8fc159fb9bf8555fecc2cf02611212b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Sat, 24 Jun 2023 21:09:10 +0200 Subject: [PATCH] Add more classes in stubs --- CHANGELOG.md | 3 ++- src/Console/Application.php | 2 +- src/Stub/StubsGenerator.php | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 082d30e5..ec94d828 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,9 @@ # CHANGELOG -## Not yet released +## 0.5.2 (2023-06-24) * Add documentation about installation in a Github Action +* Add more classes in stubs ## 0.5.1 (2023-06-22) diff --git a/src/Console/Application.php b/src/Console/Application.php index f68dcb02..5ea1b88d 100644 --- a/src/Console/Application.php +++ b/src/Console/Application.php @@ -30,7 +30,7 @@ /** @internal */ class Application extends SymfonyApplication { - final public const VERSION = 'v0.5.1'; + final public const VERSION = 'v0.5.2'; public function __construct( private readonly string $rootDir, diff --git a/src/Stub/StubsGenerator.php b/src/Stub/StubsGenerator.php index 90170161..ad643b27 100644 --- a/src/Stub/StubsGenerator.php +++ b/src/Stub/StubsGenerator.php @@ -55,9 +55,11 @@ public function generateStubs(string $dest): void \Symfony\Component\Console\Input\InputOption::class, \Symfony\Component\Console\Output\OutputInterface::class, \Symfony\Component\Console\Style\SymfonyStyle::class, + \Symfony\Component\Filesystem\Exception\ExceptionInterface::class, \Symfony\Component\Filesystem\Filesystem::class, \Symfony\Component\Filesystem\Path::class, \Symfony\Component\Finder\Finder::class, + \Symfony\Component\Process\Exception\ExceptionInterface::class, \Symfony\Component\Process\ExecutableFinder::class, \Symfony\Component\Process\Process::class, ];