diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml
index 51f9285..91f2d32 100644
--- a/.github/workflows/coding-standards.yml
+++ b/.github/workflows/coding-standards.yml
@@ -8,7 +8,7 @@ on:
paths:
- .github/workflows/coding-standards.yml
- composer.*
- - lib/**
+ - src/**
- phpcs.xml.dist
- test_fixtures/**
- tests/**
@@ -18,7 +18,7 @@ on:
paths:
- .github/workflows/coding-standards.yml
- composer.*
- - lib/**
+ - src/**
- phpcs.xml.dist
- test_fixtures/**
- tests/**
diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml
index 47a302f..8154c5f 100644
--- a/.github/workflows/continuous-integration.yml
+++ b/.github/workflows/continuous-integration.yml
@@ -7,7 +7,7 @@ on:
paths:
- .github/workflows/continuous-integration.yml
- composer.*
- - lib/**
+ - src/**
- phpunit.xml.dist
- test_fixtures/**
- tests/**
@@ -17,7 +17,7 @@ on:
paths:
- .github/workflows/continuous-integration.yml
- composer.*
- - lib/**
+ - src/**
- phpunit.xml.dist
- test_fixtures/**
- tests/**
diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml
index 407ec9b..a46557b 100644
--- a/.github/workflows/static-analysis.yml
+++ b/.github/workflows/static-analysis.yml
@@ -7,7 +7,7 @@ on:
paths:
- .github/workflows/static-analysis.yml
- composer.*
- - lib/**
+ - src/**
- phpstan*
- psalm*
- test_fixtures/**
@@ -18,7 +18,7 @@ on:
paths:
- .github/workflows/static-analysis.yml
- composer.*
- - lib/**
+ - src/**
- phpstan*
- psalm*
- test_fixtures/**
diff --git a/composer.json b/composer.json
index f8319f9..4f8d3e8 100644
--- a/composer.json
+++ b/composer.json
@@ -21,7 +21,7 @@
},
"autoload": {
"psr-4": {
- "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations"
+ "Doctrine\\Deprecations\\": "src"
}
},
"autoload-dev": {
diff --git a/phpcs.xml b/phpcs.xml
index 05327cb..23d3c4c 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -12,7 +12,7 @@
- lib
+ src
tests
test_fixtures
diff --git a/phpstan.neon b/phpstan.neon
index fecbc9d..81cb874 100644
--- a/phpstan.neon
+++ b/phpstan.neon
@@ -1,14 +1,14 @@
parameters:
level: 9
paths:
- - lib
+ - src
- tests
- test_fixtures
ignoreErrors:
# False positive due to https://github.com/phpstan/phpstan/issues/9384
-
message: '/^Static property Doctrine\\Deprecations\\Deprecation::\$type \(int<0, 7>\|null\) does not accept int\.$/'
- path: lib/Doctrine/Deprecations/Deprecation.php
+ path: src/Deprecation.php
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
diff --git a/psalm.xml b/psalm.xml
index 44993b5..f317e47 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -9,8 +9,8 @@
findUnusedCode="false"
>
-
-
+
+
diff --git a/lib/Doctrine/Deprecations/Deprecation.php b/src/Deprecation.php
similarity index 100%
rename from lib/Doctrine/Deprecations/Deprecation.php
rename to src/Deprecation.php
diff --git a/lib/Doctrine/Deprecations/PHPUnit/VerifyDeprecations.php b/src/PHPUnit/VerifyDeprecations.php
similarity index 100%
rename from lib/Doctrine/Deprecations/PHPUnit/VerifyDeprecations.php
rename to src/PHPUnit/VerifyDeprecations.php
diff --git a/tests/Doctrine/Deprecations/DeprecationTest.php b/tests/DeprecationTest.php
similarity index 100%
rename from tests/Doctrine/Deprecations/DeprecationTest.php
rename to tests/DeprecationTest.php
diff --git a/tests/Doctrine/Deprecations/VerifyDeprecationsTest.php b/tests/VerifyDeprecationsTest.php
similarity index 100%
rename from tests/Doctrine/Deprecations/VerifyDeprecationsTest.php
rename to tests/VerifyDeprecationsTest.php