Skip to content

#81 Change PHP refererence in readme and in php_compatibility task to 8.1. #102

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

Merged
merged 2 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This repository currently has the following checks:

* Shell script exec bits - [check_file_permissions](src/Task/CheckFilePermissions/README.md)
* PHP Drupal CS and PHP Code security - [phpcs](src/Task/Phpcs/README.md)
* PHP 8.0 Compatibility - [php_compatibility](src/Task/PhpCompatibility/README.md)
* PHP 8.1 Compatibility - [php_compatibility](src/Task/PhpCompatibility/README.md)
* PHP syntax - [php_check_syntax](src/Task/PhpCheckSyntax/README.md)
* Cognitive complexity and other ecs sniffs - [ecs](src/Task/Ecs/README.md)
* Yaml syntax - [yaml_lint](src/Task/YamlLint/README.md)
Expand All @@ -27,7 +27,7 @@ This repository currently has the following checks:
## Pre-requisites

* Composer
* PHP >= 7.3
* PHP >= 8.1

## Installation

Expand Down
2 changes: 1 addition & 1 deletion src/Task/PhpCompatibility/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ parameters:
- '/libraries/'
extensions: ['php', 'inc', 'module', 'install', 'theme']
run_on: ['.']
testVersion: '8.0'
testVersion: '8.1'
standard: 'PHPCompatibility'
parallel: 20
extensions:
Expand Down
2 changes: 1 addition & 1 deletion src/Task/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Wunderio\GrumPHP\Task\PhpCompatibility\PhpCompatibilityTask:
defaults: ['.']
allowed_types: ['array']
testVersion:
defaults: '8.0'
defaults: '8.1'
allowed_types: ['string']
standard:
defaults: 'PHPCompatibility'
Expand Down
2 changes: 1 addition & 1 deletion tests/PhpCompatibility/PhpCompatibilityTaskTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function testBuildsProcessArguments(): void {
$stub->method('getConfig')->willReturn($taskConfig);
$taskConfig->method('getOptions')->willReturn([
'standard' => 'php-compatibility.xm',
'testVersion' => '8.0',
'testVersion' => '8.1',
'extensions' => ['php'],
'run_on' => ['.'],
'ignore_patterns' => ['/vendor/'],
Expand Down