diff --git a/.gitignore b/.gitignore index 12c045a..a3a2703 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,4 @@ composer.lock php-scoper.phar -finalize.json +.finalize.json diff --git a/src/FileSystem/JsonFileSystem.php b/src/FileSystem/JsonFileSystem.php index 0543909..64fc423 100644 --- a/src/FileSystem/JsonFileSystem.php +++ b/src/FileSystem/JsonFileSystem.php @@ -15,6 +15,6 @@ final class JsonFileSystem public static function writeCacheFile(array $data): void { $jsonContents = Json::encode($data, pretty: true); - FileSystem::write(getcwd() . '/finalize.json', $jsonContents); + FileSystem::write(getcwd() . '/.finalize.json', $jsonContents); } }