Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests & phpstan #48

Merged
merged 2 commits into from
Aug 14, 2023
Merged

Fix tests & phpstan #48

merged 2 commits into from
Aug 14, 2023

Conversation

rjindael
Copy link
Contributor

@rjindael rjindael commented Aug 14, 2023

Two unintended side effects of my PR #47 include:

  • phpstan tests failing (I forgot to import Symfony\Component\Console\Attribute\AsCommand into the GenerateKeyCommand; my fault @_@)
  • unit tests fail as GenerateKeyCommand now expects a .env file. For now I've removed this test entirely since I don't think it can really be suitably used in a testing environment without a weird hack.

Apologies!!

@riasvdv riasvdv merged commit 821c2ad into spatie:main Aug 14, 2023
5 checks passed
@riasvdv
Copy link
Member

riasvdv commented Aug 14, 2023

Thanks! Won't tag a new release for this as it's just tests & phpstan fixes

@rjindael
Copy link
Contributor Author

I feel like it should be bumped to 1.4.1 as I'm not sure if the GenerateKeyCommand works without AsCommand. @riasvdv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants