Skip to content

Commit c72e6ff

Browse files
authored
Merge pull request #102 from wunderio/feature/81-Change-PHP-refererences
#81 Change PHP refererence in readme and in php_compatibility task to 8.1.
2 parents 05aeaca + 5ab9489 commit c72e6ff

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This repository currently has the following checks:
1717

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

2929
* Composer
30-
* PHP >= 7.3
30+
* PHP >= 8.1
3131

3232
## Installation
3333

src/Task/PhpCompatibility/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ parameters:
1414
- '/libraries/'
1515
extensions: ['php', 'inc', 'module', 'install', 'theme']
1616
run_on: ['.']
17-
testVersion: '8.0'
17+
testVersion: '8.1'
1818
standard: 'PHPCompatibility'
1919
parallel: 20
2020
extensions:

src/Task/tasks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Wunderio\GrumPHP\Task\PhpCompatibility\PhpCompatibilityTask:
9999
defaults: ['.']
100100
allowed_types: ['array']
101101
testVersion:
102-
defaults: '8.0'
102+
defaults: '8.1'
103103
allowed_types: ['string']
104104
standard:
105105
defaults: 'PHPCompatibility'

tests/PhpCompatibility/PhpCompatibilityTaskTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function testBuildsProcessArguments(): void {
4747
$stub->method('getConfig')->willReturn($taskConfig);
4848
$taskConfig->method('getOptions')->willReturn([
4949
'standard' => 'php-compatibility.xm',
50-
'testVersion' => '8.0',
50+
'testVersion' => '8.1',
5151
'extensions' => ['php'],
5252
'run_on' => ['.'],
5353
'ignore_patterns' => ['/vendor/'],

0 commit comments

Comments
 (0)