Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0"?>
<ruleset name="PHP AI Client Coding Standards">
<description>PSR-12 coding standards for PHP AI Client SDK</description>

<!-- Scan these files -->
<file>src</file>
<file>tests</file>

<!-- Ignore vendor directory -->
<exclude-pattern>*/vendor/*</exclude-pattern>

<!-- Use PSR-12 standard -->
<rule ref="PSR12"/>

<!-- Show progress, show sniff codes in all reports -->
<arg value="sp"/>

<!-- Set minimum supported PHP version -->
<config name="testVersion" value="7.4-"/>

<!-- Enable colors in output -->
<arg name="colors"/>

<!-- Check PHP syntax -->
<arg name="parallel" value="8"/>
</ruleset>
4 changes: 4 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
parameters:
level: max
paths:
- src