From 32697b2d6847a6c74d107652668c5e8230cfa68d Mon Sep 17 00:00:00 2001 From: Ben Sherred Date: Thu, 23 Nov 2023 17:49:02 +0000 Subject: [PATCH] fix: failing tests --- composer.json | 2 +- init.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 4a881d8..02289ac 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "authors": [ { "name": "author_name", - "email": "author_email" + "email": "author@email.com" } ], "require": { diff --git a/init.php b/init.php index 903ff7f..8478df2 100644 --- a/init.php +++ b/init.php @@ -5,7 +5,7 @@ function files(): array { $files = explode( separator: PHP_EOL, - string: run(command: 'grep -E -r -l -i "package_name|package_slug|package_description|author_name|author_username|author_email|skeleton|Skeleton" --exclude-dir=vendor ./* ./.github/* | grep -v '. basename(path: __FILE__)) + string: run(command: 'grep -E -r -l -i "package_name|package_slug|package_description|author_name|author_username|author@email.com|skeleton|Skeleton" --exclude-dir=vendor ./* ./.github/* | grep -v '. basename(path: __FILE__)) ); $files[] = './config/skeleton.php'; @@ -75,7 +75,7 @@ function removeReadmeParagraphs(string $file): void 'package_description' => $packageDescription, 'author_name' => $authorName, 'author_username' => $authorUsername, - 'author_email' => $authorEmail, + 'author@email.com' => $authorEmail, 'skeleton' => $packageSlugWithoutPrefix, 'Skeleton' => $className, ]);