diff --git a/tests/composer/json_example.json b/tests/old_tests/composer/json_example.json similarity index 100% rename from tests/composer/json_example.json rename to tests/old_tests/composer/json_example.json diff --git a/tests/composer/lock_example.json b/tests/old_tests/composer/lock_example.json similarity index 100% rename from tests/composer/lock_example.json rename to tests/old_tests/composer/lock_example.json diff --git a/tests/example_project/README.md b/tests/old_tests/example_project/README.md similarity index 100% rename from tests/example_project/README.md rename to tests/old_tests/example_project/README.md diff --git a/tests/example_project/scripts/unit.bash b/tests/old_tests/example_project/scripts/unit.bash similarity index 100% rename from tests/example_project/scripts/unit.bash rename to tests/old_tests/example_project/scripts/unit.bash diff --git a/tests/example_project/scripts/unit.lua b/tests/old_tests/example_project/scripts/unit.lua similarity index 100% rename from tests/example_project/scripts/unit.lua rename to tests/old_tests/example_project/scripts/unit.lua diff --git a/tests/example_project/scripts/unit.pl b/tests/old_tests/example_project/scripts/unit.pl similarity index 100% rename from tests/example_project/scripts/unit.pl rename to tests/old_tests/example_project/scripts/unit.pl diff --git a/tests/example_project/scripts/unit.py2 b/tests/old_tests/example_project/scripts/unit.py2 similarity index 100% rename from tests/example_project/scripts/unit.py2 rename to tests/old_tests/example_project/scripts/unit.py2 diff --git a/tests/example_project/scripts/unit.py3 b/tests/old_tests/example_project/scripts/unit.py3 similarity index 100% rename from tests/example_project/scripts/unit.py3 rename to tests/old_tests/example_project/scripts/unit.py3 diff --git a/tests/example_project/src/ExampleLibrary/Data/first_names.txt b/tests/old_tests/example_project/src/ExampleLibrary/Data/first_names.txt similarity index 100% rename from tests/example_project/src/ExampleLibrary/Data/first_names.txt rename to tests/old_tests/example_project/src/ExampleLibrary/Data/first_names.txt diff --git a/tests/example_project/src/ExampleLibrary/Data/last_names.txt b/tests/old_tests/example_project/src/ExampleLibrary/Data/last_names.txt similarity index 100% rename from tests/example_project/src/ExampleLibrary/Data/last_names.txt rename to tests/old_tests/example_project/src/ExampleLibrary/Data/last_names.txt diff --git a/tests/example_project/src/ExampleLibrary/ExampleLibrary.php b/tests/old_tests/example_project/src/ExampleLibrary/ExampleLibrary.php similarity index 85% rename from tests/example_project/src/ExampleLibrary/ExampleLibrary.php rename to tests/old_tests/example_project/src/ExampleLibrary/ExampleLibrary.php index 7ea3dd7..3207a12 100644 --- a/tests/example_project/src/ExampleLibrary/ExampleLibrary.php +++ b/tests/old_tests/example_project/src/ExampleLibrary/ExampleLibrary.php @@ -2,10 +2,10 @@ /** @noinspection PhpMissingFieldTypeInspection */ - namespace ExampleLibrary; + namespace old_tests\example_project\src\ExampleLibrary; - use ExampleLibrary\Exceptions\FileNotFoundException; - use ExampleLibrary\Objects\Person; + use old_tests\example_project\src\ExampleLibrary\Exceptions\FileNotFoundException; + use old_tests\example_project\src\ExampleLibrary\Objects\Person; class ExampleLibrary { @@ -44,7 +44,7 @@ * * @param int $amount * @return array - * @throws Exceptions\InvalidNameException + * @throws \old_tests\example_project\src\ExampleLibrary\Exceptions\InvalidNameException */ public function generatePeople(int $amount=10): array { diff --git a/tests/example_project/src/ExampleLibrary/Exceptions/FileNotFoundException.php b/tests/old_tests/example_project/src/ExampleLibrary/Exceptions/FileNotFoundException.php similarity index 90% rename from tests/example_project/src/ExampleLibrary/Exceptions/FileNotFoundException.php rename to tests/old_tests/example_project/src/ExampleLibrary/Exceptions/FileNotFoundException.php index c78f7d4..de28add 100644 --- a/tests/example_project/src/ExampleLibrary/Exceptions/FileNotFoundException.php +++ b/tests/old_tests/example_project/src/ExampleLibrary/Exceptions/FileNotFoundException.php @@ -2,7 +2,7 @@ /** @noinspection PhpPropertyOnlyWrittenInspection */ - namespace ExampleLibrary\Exceptions; + namespace old_tests\example_project\src\ExampleLibrary\Exceptions; use Exception; use Throwable; diff --git a/tests/example_project/src/ExampleLibrary/Exceptions/InvalidNameException.php b/tests/old_tests/example_project/src/ExampleLibrary/Exceptions/InvalidNameException.php similarity index 89% rename from tests/example_project/src/ExampleLibrary/Exceptions/InvalidNameException.php rename to tests/old_tests/example_project/src/ExampleLibrary/Exceptions/InvalidNameException.php index 7eac94f..5bf2cff 100644 --- a/tests/example_project/src/ExampleLibrary/Exceptions/InvalidNameException.php +++ b/tests/old_tests/example_project/src/ExampleLibrary/Exceptions/InvalidNameException.php @@ -2,7 +2,7 @@ /** @noinspection PhpPropertyOnlyWrittenInspection */ - namespace ExampleLibrary\Exceptions; + namespace old_tests\example_project\src\ExampleLibrary\Exceptions; use Exception; use Throwable; diff --git a/tests/example_project/src/ExampleLibrary/Objects/Person.php b/tests/old_tests/example_project/src/ExampleLibrary/Objects/Person.php similarity index 94% rename from tests/example_project/src/ExampleLibrary/Objects/Person.php rename to tests/old_tests/example_project/src/ExampleLibrary/Objects/Person.php index 5b74a07..0896b2f 100644 --- a/tests/example_project/src/ExampleLibrary/Objects/Person.php +++ b/tests/old_tests/example_project/src/ExampleLibrary/Objects/Person.php @@ -1,8 +1,8 @@