Skip to content

Commit 6905772

Browse files
authored
Merge pull request #347 from greg0ire/remove-phpcs-workflow
Remove PHPCS workflow
2 parents cf0d8dc + b03c30b commit 6905772

File tree

2 files changed

+1
-36
lines changed

2 files changed

+1
-36
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -11,39 +11,6 @@ on:
1111
- cron: "0 17 * * *"
1212

1313
jobs:
14-
coding-standards:
15-
name: "Coding Standards"
16-
17-
runs-on: "ubuntu-22.04"
18-
19-
strategy:
20-
matrix:
21-
php-version:
22-
- "7.4"
23-
24-
steps:
25-
- name: "Checkout"
26-
uses: "actions/checkout@v5"
27-
28-
- name: "Install PHP"
29-
uses: "shivammathur/setup-php@v2"
30-
with:
31-
coverage: "none"
32-
php-version: "${{ matrix.php-version }}"
33-
34-
- name: "Cache dependencies installed with composer"
35-
uses: "actions/cache@v4"
36-
with:
37-
path: "~/.composer/cache"
38-
key: "php-${{ matrix.php-version }}-composer-${{ hashFiles('composer.json') }}"
39-
restore-keys: "php-${{ matrix.php-version }}-composer-"
40-
41-
- name: "Install dependencies with composer"
42-
run: "composer update --no-interaction --no-progress --no-suggest"
43-
44-
- name: "Run squizlabs/php_codesniffer"
45-
run: "vendor/bin/phpcs"
46-
4714
validate-against-schema:
4815
name: "Validate against schema"
4916

phpcs.xml.dist

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"
66
>
7-
<description>Check the code of the sniffs in doctrine/coding-standards.</description>
7+
<description>Used by the binaries inside bin/</description>
88

99
<arg name="basepath" value="." />
1010
<arg name="extensions" value="php" />
@@ -17,6 +17,4 @@
1717
<arg value="s" />
1818

1919
<rule ref="Doctrine" />
20-
21-
<file>lib</file>
2220
</ruleset>

0 commit comments

Comments
 (0)