diff --git a/CHANGELOG.md b/CHANGELOG.md index f342fe9..42f7f02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- A guard now keeps literal credentials out of the tests, and every credential the tests generate is named with a single-word purpose, so secret scanning has nothing to report. `laranail/package-tools` in `require` is now `^0.1.10`, the first release with the purpose check. - `scripts/verify-tag-currency.sh` is now package-tools' current script: a tag behind `main` only by `.github/`-only commits (a Dependabot bump) passes, and a released package is told to cut a patch rather than move a published tag. - `laravel/framework ^13.0` is now declared in `require`. `src/` uses `Vite` from `Illuminate\Foundation`, which no `illuminate/*` component ships, so the dependency only arrived through the host application. - The package renders through `laranail/confetti::` (`ConfettiTags::VIEW`). diff --git a/composer.json b/composer.json index 768fccd..6151282 100644 --- a/composer.json +++ b/composer.json @@ -46,7 +46,7 @@ "laravel/framework": "^13.0", "laranail/console": "^0.1", "laranail/enumerator": "^0.1", - "laranail/package-tools": "^0.1.3" + "laranail/package-tools": "^0.1.10" }, "require-dev": { "filament/filament": "^4.0 || ^5.0", diff --git a/tests/Arch/NoLiteralCredentialsTest.php b/tests/Arch/NoLiteralCredentialsTest.php new file mode 100644 index 0000000..bf0dc53 --- /dev/null +++ b/tests/Arch/NoLiteralCredentialsTest.php @@ -0,0 +1,21 @@ +assertNoLiteralCredentialsIn([dirname(__DIR__)], minFiles: 26); + expect(true)->toBeTrue(); +}); + +it('names every generated credential with a single word', function (): void { + $this->assertCredentialPurposesAreWordsIn([dirname(__DIR__)], minFiles: 26); + expect(true)->toBeTrue(); +});