Skip to content

Commit 7a5fee3

Browse files
committed
refactor: Remove PHP CodeSniffer step from CI and update exclusion rules in phpcs.xml and phpcs.xml.dist
1 parent d29353c commit 7a5fee3

5 files changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ jobs:
3737
- name: PHPCS Lint
3838
run: make lint
3939

40-
- name: PHP CodeSniffer
41-
run: ./vendor/bin/phpcs --runtime-set ignore_warnings_on_exit 1 --standard=PSR12 --exclude=Generic.NamingConventions.UpperCaseConstantName,PSR1.Methods.CamelCapsMethodName,PSR2.Methods.MethodDeclaration ./src
42-
4340
- name: PHPUnit Tests
4441
uses: php-actions/phpunit@v4
4542
with:

phpcs.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace" />
1010
<exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps" />
1111
<exclude name="PSR12.Classes.ClassDeclaration.MissingNamespace" />
12+
<exclude name="PSR12.Files.FileHeader" />
1213

1314
</ruleset>

phpcs.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<exclude-pattern>vendor/*</exclude-pattern>
1313

1414
<rule ref="PSR12">
15-
<exclude name="PSR12.Files.FileHeader.IncorrectOrder" />
15+
<exclude name="PSR12.Files.FileHeader" />
1616
</rule>
1717

1818
<rule ref="PSR1.Methods.CamelCapsMethodName">

src/Interfaces/BluemRequestInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?php
22

3-
declare(strict_types=1);
4-
53
/**
64
* © 2026 - Bluem Plugin Support <pluginsupport@bluem.nl>
75
*
86
* This source file is subject to the license that is bundled
97
* with this source code in the file LICENSE.
108
*/
119

10+
declare(strict_types=1);
11+
1212
namespace Bluem\BluemPHP\Interfaces;
1313

1414
use Bluem\BluemPHP\Requests\BluemRequest;

src/Interfaces/WebhookInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?php
22

3-
declare(strict_types=1);
4-
53
/**
64
* © 2026 - Bluem Plugin Support <pluginsupport@bluem.nl>
75
*
86
* This source file is subject to the license that is bundled
97
* with this source code in the file LICENSE.
108
*/
119

10+
declare(strict_types=1);
11+
1212
namespace Bluem\BluemPHP\Interfaces;
1313

1414
interface WebhookInterface

0 commit comments

Comments
 (0)