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

Bump testVersion to PHP 8.2 #46

Merged
merged 1 commit into from
Sep 14, 2023
Merged

Bump testVersion to PHP 8.2 #46

merged 1 commit into from
Sep 14, 2023

Conversation

claytoncollie
Copy link
Contributor

We should bump the test version to 8.2 to stay in line with PHP LTS supported versions and to keep our CI command clean and simple to understand. The alternative is to change the PHP at run time like this: phpcs . --runtime-set testVersion 8.2-.

Closes #45

Changelog Entry

Changed - Bump PHP test version to 8.2

Credits

@claytoncollie

Checklist:

I agree to follow this project's Code of Conduct.
I have updated the documentation accordingly.
I have added tests to cover my change.
All new and existing tests pass.

Upgrade Path

For projects using this repository with a composer.json file, you should be referencing the dev-master branch like so, "10up/phpcs-composer": "dev-master" which means to get the latest version, you need to delete your composer.lock file and then re-install your dependencies with composer install

Once you have the latest version of this repository pulled in, make sure to remove the testVersion flag in your terminal command. Meaning that if you have phpcs . --runtime-set testVersion 8.1-, the command can now be simplified to phpcs .. You should now be linting against PHP version 8.2 and below.

@claytoncollie claytoncollie changed the title Bumped tested up to version to 8.2 PHP 8.2 Jul 18, 2023
@claytoncollie claytoncollie changed the title PHP 8.2 Draft: PHP 8.2 Jul 19, 2023
@claytoncollie claytoncollie marked this pull request as ready for review July 31, 2023 14:16
@claytoncollie claytoncollie changed the title Draft: PHP 8.2 PHP 8.2 Jul 31, 2023
@claytoncollie claytoncollie changed the title PHP 8.2 Bump testVersion to PHP 8.2 Aug 21, 2023
@darylldoyle darylldoyle changed the base branch from master to release/3.0.0 September 14, 2023 11:37
@darylldoyle darylldoyle merged commit ca4bd87 into release/3.0.0 Sep 14, 2023
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.

Add support for PHP 8.2
2 participants