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

Detect misspellings in content of paramerts #136

Open
swilla opened this issue Feb 28, 2025 · 1 comment
Open

Detect misspellings in content of paramerts #136

swilla opened this issue Feb 28, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@swilla
Copy link

swilla commented Feb 28, 2025

This string is not being detected as a misspelling:

Stat::make('Next Paymnet', today()->addYear()->format('F, j Y')),

Image

name : peckphp/peck
descrip. : Peck is a powerful CLI tool designed to identify pure wording or spelling (grammar) mistakes in your codebase.
keywords : checker, codebase, php, spelling
versions : * v0.1.2
released : 2025-01-27, 1 month ago

I have tried double and single quotes, but it doesn't seem to be checking the words inside of quotes like this.

@julio-cavallari
Copy link
Contributor

julio-cavallari commented Feb 28, 2025

For now, the package doesn't check for typos in content, only in definitions, so values with typos ​​passed in function parameters or class constructors, static texts assigned to variables, among other things, are not being checked at the moment

Feel free to contribute to the project if you want, your PR will be very welcome

@c0nst4ntin c0nst4ntin changed the title Misspelled string is not being detected Detect misspellings in content of paramerts Mar 9, 2025
@c0nst4ntin c0nst4ntin added the enhancement New feature or request label Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants