Skip to content

Commit 6a396e4

Browse files
committed
Add phpcs configuration file
1 parent 53b3756 commit 6a396e4

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.phpcs.xml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0"?>
2+
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd">
3+
<description>Coding standard configuration for the Bigcommerce V3 API Client.</description>
4+
5+
<file>src</file>
6+
<file>tests</file>
7+
8+
<rule ref="PSR12"/>
9+
</ruleset>

src/BigCommerce/Api/Catalog/BrandsApi.php

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class BrandsApi extends ResourceApi
3333
private const BRAND_ENDPOINT = 'catalog/brands/%d';
3434
private const BRANDS_ENDPOINT = 'catalog/brands';
3535

36+
public const DO_NOT_MERGE = "this because it's only to test the new phpcs github action with annotations. This line is clearly too long.";
3637
public const FILTER_INCLUDE_FIELDS = 'include_fields';
3738
public const FILTER_EXCLUDE_FIELDS = 'exclude_fields';
3839

0 commit comments

Comments
 (0)