Version 1
[yaffs-website] / vendor / egulias / email-validator / tests / bootstrap.php
diff --git a/vendor/egulias/email-validator/tests/bootstrap.php b/vendor/egulias/email-validator/tests/bootstrap.php
new file mode 100644 (file)
index 0000000..676c4b1
--- /dev/null
@@ -0,0 +1,8 @@
+<?php
+
+if ( ! is_file($autoloadFile = __DIR__.'/../vendor/autoload.php')) {
+    echo 'Could not find "vendor/autoload.php". Did you forget to run "composer install --dev"?'.PHP_EOL;
+    exit(1);
+}
+
+require_once $autoloadFile;