From e1d445b54f917fa4f7b3f135da571bb6e39f7e89 Mon Sep 17 00:00:00 2001 From: Tom Witkowski Date: Mon, 24 Jun 2024 10:50:26 +0200 Subject: [PATCH] switch to PSR-12 --- pint.json | 3 +++ src/DeepFace.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 pint.json diff --git a/pint.json b/pint.json new file mode 100644 index 0000000..ea5e72c --- /dev/null +++ b/pint.json @@ -0,0 +1,3 @@ +{ + "preset": "psr12" +} diff --git a/src/DeepFace.php b/src/DeepFace.php index 37c9784..8b22204 100644 --- a/src/DeepFace.php +++ b/src/DeepFace.php @@ -29,7 +29,7 @@ class DeepFace public function __construct(string $python = null) { - $this->python = $python ?? (new ExecutableFinder)->find( + $this->python = $python ?? (new ExecutableFinder())->find( name: 'python3', default: 'python3', );