diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..07e119c
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/php.xml b/.idea/php.xml
new file mode 100644
index 0000000..0e09af4
--- /dev/null
+++ b/.idea/php.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/supabase-php.iml b/.idea/supabase-php.iml
new file mode 100644
index 0000000..97d7c95
--- /dev/null
+++ b/.idea/supabase-php.iml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/composer.json b/composer.json
index 78dc193..8bc0e4b 100644
--- a/composer.json
+++ b/composer.json
@@ -5,7 +5,6 @@
"keywords": ["supabase","supabasephp"],
"homepage": "https://github.com/supabase-community/storage-php",
"autoload": {
- "psr-0": { "": "src/" },
"psr-4": {
"Supabase\\": "src/"
}
diff --git a/src/Util/EnvSetup.php b/src/Util/EnvSetup.php
deleted file mode 100644
index cd03985..0000000
--- a/src/Util/EnvSetup.php
+++ /dev/null
@@ -1,40 +0,0 @@
-safeLoad();
- if (key_exists('API_KEY', $loaded)) {
- $apiKey = $loaded['API_KEY'];
- }
-
- if (key_exists('REFERENCE_ID', $loaded)) {
- $refId = $loaded['REFERENCE_ID'];
- }
- }
-
- if (empty($apiKey)) {
- throw new \Exception('Could not load API_KEY');
- }
-
- if (empty($refId)) {
- throw new \Exception('Could not load REFERENCE_ID');
- }
-
- return [
- 'API_KEY' => $apiKey,
- 'REFERENCE_ID' => $refId,
- ];
- }
-}
diff --git a/tests/integration/SupabaseClientIntTest.php b/tests/integration/SupabaseClientIntTest.php
index ede6480..88f4668 100644
--- a/tests/integration/SupabaseClientIntTest.php
+++ b/tests/integration/SupabaseClientIntTest.php
@@ -3,7 +3,7 @@
declare(strict_types=1);
use PHPUnit\Framework\TestCase;
-use Supabase\Util\EnvSetup;
+use Supabase\Common\EnvSetup;
final class SupabaseClientIntTest extends TestCase
{