diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 0000000000..e0629c9276 --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,4 @@ +parameters: + paths: + - src + level: 6 \ No newline at end of file diff --git a/pint.json b/pint.json index ef654c64d1..940cc35bf1 100644 --- a/pint.json +++ b/pint.json @@ -1,3 +1,6 @@ { - "preset": "psr12" + "preset": "psr12", + "exclude": [ + "tests/" + ] } \ No newline at end of file diff --git a/src/Adapter/SwooleClient.php b/src/Adapter/SwooleClient.php index c0f9386f0e..9dce323acd 100644 --- a/src/Adapter/SwooleClient.php +++ b/src/Adapter/SwooleClient.php @@ -2,7 +2,6 @@ namespace Utopia\Mongo\Adapter; -use Swoole\Client; use Utopia\Mongo\Adapter; class SwooleClient extends Adapter