Skip to content

Commit 16eb8de

Browse files
authored
Merge pull request #312 from phansys/patches
Bump "slevomat/coding-standard" to ^8.11
2 parents 4bcfa9d + fae6351 commit 16eb8de

File tree

5 files changed

+12
-30
lines changed

5 files changed

+12
-30
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"require": {
2525
"php": "^7.2 || ^8.0",
2626
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.0.0",
27-
"slevomat/coding-standard": "^8.6.2",
27+
"slevomat/coding-standard": "^8.11",
2828
"squizlabs/php_codesniffer": "^3.7"
2929
},
3030
"config": {

tests/php72-compatibility.patch

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
diff --git a/tests/expected_report.txt b/tests/expected_report.txt
2-
index d1e1fad..ea3b611 100644
2+
index 1773423..f6e6841 100644
33
--- a/tests/expected_report.txt
44
+++ b/tests/expected_report.txt
5-
@@ -12,30 +12,27 @@ tests/input/class-references.php 10 0
6-
tests/input/ClassPropertySpacing.php 2 0
7-
tests/input/concatenation_spacing.php 49 0
8-
tests/input/constants-no-lsb.php 2 0
9-
tests/input/constants-var.php 6 0
5+
@@ -16,26 +16,23 @@ tests/input/constants-var.php 6 0
106
tests/input/ControlStructures.php 28 0
117
tests/input/doc-comment-spacing.php 11 0
128
tests/input/duplicate-assignment-variable.php 1 0
@@ -41,7 +37,7 @@ index d1e1fad..ea3b611 100644
4137
tests/input/semicolon_spacing.php 3 0
4238
tests/input/single-line-array-spacing.php 5 0
4339
tests/input/spread-operator.php 6 0
44-
@@ -44,17 +41,16 @@ tests/input/strings.php 1 0
40+
@@ -44,17 +41,16 @@ tests/input/strings.php 3 0
4541
tests/input/superfluous-naming.php 11 0
4642
tests/input/test-case.php 8 0
4743
tests/input/trailing_comma_on_array.php 1 0

tests/php73-compatibility.patch

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
diff --git a/tests/expected_report.txt b/tests/expected_report.txt
2-
index d1e1fad..9a78bc1 100644
2+
index 1773423..0ea80d5 100644
33
--- a/tests/expected_report.txt
44
+++ b/tests/expected_report.txt
5-
@@ -12,30 +12,27 @@ tests/input/class-references.php 10 0
6-
tests/input/ClassPropertySpacing.php 2 0
7-
tests/input/concatenation_spacing.php 49 0
8-
tests/input/constants-no-lsb.php 2 0
9-
tests/input/constants-var.php 6 0
5+
@@ -16,26 +16,23 @@ tests/input/constants-var.php 6 0
106
tests/input/ControlStructures.php 28 0
117
tests/input/doc-comment-spacing.php 11 0
128
tests/input/duplicate-assignment-variable.php 1 0
@@ -41,7 +37,7 @@ index d1e1fad..9a78bc1 100644
4137
tests/input/semicolon_spacing.php 3 0
4238
tests/input/single-line-array-spacing.php 5 0
4339
tests/input/spread-operator.php 6 0
44-
@@ -44,17 +41,17 @@ tests/input/strings.php 1 0
40+
@@ -44,17 +41,17 @@ tests/input/strings.php 3 0
4541
tests/input/superfluous-naming.php 11 0
4642
tests/input/test-case.php 8 0
4743
tests/input/trailing_comma_on_array.php 1 0

tests/php74-compatibility.patch

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
diff --git a/tests/expected_report.txt b/tests/expected_report.txt
2-
index d1e1fad..ed67841 100644
2+
index 1773423..9422a54 100644
33
--- a/tests/expected_report.txt
44
+++ b/tests/expected_report.txt
5-
@@ -12,30 +12,27 @@ tests/input/class-references.php 10 0
6-
tests/input/ClassPropertySpacing.php 2 0
7-
tests/input/concatenation_spacing.php 49 0
8-
tests/input/constants-no-lsb.php 2 0
9-
tests/input/constants-var.php 6 0
5+
@@ -16,26 +16,23 @@ tests/input/constants-var.php 6 0
106
tests/input/ControlStructures.php 28 0
117
tests/input/doc-comment-spacing.php 11 0
128
tests/input/duplicate-assignment-variable.php 1 0
@@ -39,7 +35,7 @@ index d1e1fad..ed67841 100644
3935
tests/input/semicolon_spacing.php 3 0
4036
tests/input/single-line-array-spacing.php 5 0
4137
tests/input/spread-operator.php 6 0
42-
@@ -44,17 +41,17 @@ tests/input/strings.php 1 0
38+
@@ -44,17 +41,17 @@ tests/input/strings.php 3 0
4339
tests/input/superfluous-naming.php 11 0
4440
tests/input/test-case.php 8 0
4541
tests/input/trailing_comma_on_array.php 1 0

tests/php80-compatibility.patch

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
diff --git a/tests/expected_report.txt b/tests/expected_report.txt
2-
index d1e1fad..71022c4 100644
2+
index 1773423..449da88 100644
33
--- a/tests/expected_report.txt
44
+++ b/tests/expected_report.txt
5-
@@ -12,13 +12,12 @@ tests/input/class-references.php 10 0
6-
tests/input/ClassPropertySpacing.php 2 0
7-
tests/input/concatenation_spacing.php 49 0
8-
tests/input/constants-no-lsb.php 2 0
9-
tests/input/constants-var.php 6 0
10-
tests/input/ControlStructures.php 28 0
11-
tests/input/doc-comment-spacing.php 11 0
5+
@@ -18,7 +18,6 @@ tests/input/doc-comment-spacing.php 11 0
126
tests/input/duplicate-assignment-variable.php 1 0
137
tests/input/EarlyReturn.php 7 0
148
tests/input/example-class.php 47 0

0 commit comments

Comments
 (0)