Skip to content

Maintenance: Modernize dependencies and QA - #9

Merged
Chrico merged 3 commits into
mainfrom
modernize-codebase
Aug 4, 2026
Merged

Maintenance: Modernize dependencies and QA#9
Chrico merged 3 commits into
mainfrom
modernize-codebase

Conversation

@gmazzap

@gmazzap gmazzap commented Mar 1, 2024

Copy link
Copy Markdown
Contributor
  • Require PHP 7.4+ and WP 6.1+
  • Requiring WP 6.1 we can just rely on is_login() function and cleanup our method
  • Improve QA
    • Added lint job and execution on pull requests
    • Execute QA jobs for 8.3
    • Updated code styles to v2 and fixed new issues reported
    • Updated PHPUnit - Removed unused Psalm autoloader
    • Switched to wp-stubs-version
  • Better types documentation in doc blocs
  • Added requirements and updated license year in README

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Maintenance.

What is the current behavior? (You can also link to an open issue here)

N/A

What is the new behavior (if this is a feature change)?

N/A

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

No.

Other information:

- Require PHP 7.4+ and WP 6.1+
- Requiring WP 6.1 we can just rely on is_login() function
- Improve QA
        - Added lint job and execution on pull requests
        - Updated code styles to v2 and fixed new issues reported
        - Updated PHPUnit
        - Removed unused Psalm autoloader
        - Switched to wp-stubs-version
- Better type documentation
- Added requirements and updated license year in README
@gmazzap
gmazzap requested a review from Chrico March 1, 2024 19:41
Signed-off-by: Giuseppe Mazzapica <giuseppe.mazzapica@gmail.com>
@gmazzap
gmazzap requested a review from a team August 4, 2026 10:51
Signed-off-by: Giuseppe Mazzapica <giuseppe.mazzapica@gmail.com>
@Chrico
Chrico merged commit 988e66f into main Aug 4, 2026
22 of 32 checks passed
@Chrico
Chrico deleted the modernize-codebase branch August 4, 2026 10:57
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.

3 participants