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

Introduce azjezz/psl plugin for the linter #109

Closed
azjezz opened this issue Mar 4, 2025 · 1 comment Β· Fixed by #121
Closed

Introduce azjezz/psl plugin for the linter #109

azjezz opened this issue Mar 4, 2025 · 1 comment Β· Fixed by #121
Assignees
Labels
Priority: High After critical issues are fixed, handle these before any further issues. Status: In Progress This issue is being worked on and has someone assigned. Subject: Linter An issue or PR related to the linter. Type: Enhancement Request for additions or changes that improve existing functionality.

Comments

@azjezz
Copy link
Member

azjezz commented Mar 4, 2025

πŸš€ Describe the Feature

The linter should have a plugin for azjezz/psl library, to make working with PSL easier, and migration from php stdlib simpler.

βœ… Use Case / Example

Example:

  • use IO\write instead of echo, print, print ..etc handled in feat(linter): add new psl pluginΒ #121
  • use Str\* instead of mb_str*
  • use Str\Byte\* instead of str*
  • use Psl\DateTime\* instead of DateTime class
  • use Async\sleep instead of sleep or usleep.

πŸ’‘ Proposed Solution

  • Introduce a new plugin as part of the linter for azjezz/psl library.

πŸ“Œ Priority

Must have

πŸ“ Additional Context

No response

@azjezz azjezz added the Type: Enhancement Request for additions or changes that improve existing functionality. label Mar 4, 2025
@azjezz azjezz self-assigned this Mar 4, 2025
@azjezz azjezz added Priority: High After critical issues are fixed, handle these before any further issues. Status: In Progress This issue is being worked on and has someone assigned. Subject: Linter An issue or PR related to the linter. labels Mar 4, 2025
@bendavies
Copy link
Contributor

and the regex namespace please!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High After critical issues are fixed, handle these before any further issues. Status: In Progress This issue is being worked on and has someone assigned. Subject: Linter An issue or PR related to the linter. Type: Enhancement Request for additions or changes that improve existing functionality.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants