Skip to content

Commit b4d876f

Browse files
committed
Modernize CS build
1 parent b451b2f commit b4d876f

File tree

5 files changed

+331
-5
lines changed

5 files changed

+331
-5
lines changed

Diff for: .github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
uses: "shivammathur/setup-php@v2"
6060
with:
6161
coverage: "none"
62-
php-version: "7.3"
62+
php-version: "8.0"
6363

6464
- name: "Validate Composer"
6565
run: "composer validate"

Diff for: build-cs/.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
/composer.lock
21
/vendor

Diff for: build-cs/composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"require": {
3-
"php": "^7.1 || ^8.0"
3+
"php": "^7.4 || ^8.0"
44
},
55
"require-dev": {
6-
"consistence/coding-standard": "^3.10",
6+
"consistence-community/coding-standard": "^3.11",
77
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
88
"slevomat/coding-standard": "^6.4.1"
99
}

Diff for: build-cs/composer.lock

+327
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: phpcs.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<ruleset name="PHPStan PHPDoc Parser">
33
<config name="php_version" value="70100"/>
4-
<rule ref="build-cs/vendor/consistence/coding-standard/Consistence/ruleset.xml">
4+
<rule ref="build-cs/vendor/consistence-community/coding-standard/Consistence/ruleset.xml">
55
<exclude name="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.InvalidFormat"/>
66
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword"/>
77
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation"/>

0 commit comments

Comments
 (0)