From ad490c963bd88359a714fb2f1786aaf8c00ae17c Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Mon, 29 Jul 2024 10:14:29 -0100 Subject: feat(migration-attributes): tests Signed-off-by: Maxence Lange --- .../composer/composer/autoload_classmap.php | 1 + apps/testing/composer/composer/autoload_static.php | 1 + .../Migration/Version30000Date20240102030405.php | 41 ++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 apps/testing/lib/Migration/Version30000Date20240102030405.php (limited to 'apps') diff --git a/apps/testing/composer/composer/autoload_classmap.php b/apps/testing/composer/composer/autoload_classmap.php index 079f8877881..6dce2e26361 100644 --- a/apps/testing/composer/composer/autoload_classmap.php +++ b/apps/testing/composer/composer/autoload_classmap.php @@ -16,6 +16,7 @@ return array( 'OCA\\Testing\\Listener\\RegisterDeclarativeSettingsListener' => $baseDir . '/../lib/Listener/RegisterDeclarativeSettingsListener.php', 'OCA\\Testing\\Listener\\SetDeclarativeSettingsValueListener' => $baseDir . '/../lib/Listener/SetDeclarativeSettingsValueListener.php', 'OCA\\Testing\\Locking\\FakeDBLockingProvider' => $baseDir . '/../lib/Locking/FakeDBLockingProvider.php', + 'OCA\\Testing\\Migration\\Version30000Date20240102030405' => $baseDir . '/../lib/Migration/Version30000Date20240102030405.php', 'OCA\\Testing\\Provider\\FakeText2ImageProvider' => $baseDir . '/../lib/Provider/FakeText2ImageProvider.php', 'OCA\\Testing\\Provider\\FakeTextProcessingProvider' => $baseDir . '/../lib/Provider/FakeTextProcessingProvider.php', 'OCA\\Testing\\Provider\\FakeTextProcessingProviderSync' => $baseDir . '/../lib/Provider/FakeTextProcessingProviderSync.php', diff --git a/apps/testing/composer/composer/autoload_static.php b/apps/testing/composer/composer/autoload_static.php index 2332da70da9..3be58e04289 100644 --- a/apps/testing/composer/composer/autoload_static.php +++ b/apps/testing/composer/composer/autoload_static.php @@ -31,6 +31,7 @@ class ComposerStaticInitTesting 'OCA\\Testing\\Listener\\RegisterDeclarativeSettingsListener' => __DIR__ . '/..' . '/../lib/Listener/RegisterDeclarativeSettingsListener.php', 'OCA\\Testing\\Listener\\SetDeclarativeSettingsValueListener' => __DIR__ . '/..' . '/../lib/Listener/SetDeclarativeSettingsValueListener.php', 'OCA\\Testing\\Locking\\FakeDBLockingProvider' => __DIR__ . '/..' . '/../lib/Locking/FakeDBLockingProvider.php', + 'OCA\\Testing\\Migration\\Version30000Date20240102030405' => __DIR__ . '/..' . '/../lib/Migration/Version30000Date20240102030405.php', 'OCA\\Testing\\Provider\\FakeText2ImageProvider' => __DIR__ . '/..' . '/../lib/Provider/FakeText2ImageProvider.php', 'OCA\\Testing\\Provider\\FakeTextProcessingProvider' => __DIR__ . '/..' . '/../lib/Provider/FakeTextProcessingProvider.php', 'OCA\\Testing\\Provider\\FakeTextProcessingProviderSync' => __DIR__ . '/..' . '/../lib/Provider/FakeTextProcessingProviderSync.php', diff --git a/apps/testing/lib/Migration/Version30000Date20240102030405.php b/apps/testing/lib/Migration/Version30000Date20240102030405.php new file mode 100644 index 00000000000..bacb187cb37 --- /dev/null +++ b/apps/testing/lib/Migration/Version30000Date20240102030405.php @@ -0,0 +1,41 @@ + Date: Mon, 29 Jul 2024 11:16:38 -0100 Subject: fix(migration-attributes): psalm Signed-off-by: Maxence Lange --- .../Migration/Version30000Date20240102030405.php | 28 +++++++++++----------- .../Attributes/ColumnMigrationAttribute.php | 8 +++++++ .../Attributes/GenericMigrationAttribute.php | 4 ++++ .../Attributes/IndexMigrationAttribute.php | 7 ++++++ .../Migration/Attributes/MigrationAttribute.php | 6 +++++ .../Attributes/TableMigrationAttribute.php | 7 ++++++ 6 files changed, 46 insertions(+), 14 deletions(-) (limited to 'apps') diff --git a/apps/testing/lib/Migration/Version30000Date20240102030405.php b/apps/testing/lib/Migration/Version30000Date20240102030405.php index bacb187cb37..e7b6bdcd618 100644 --- a/apps/testing/lib/Migration/Version30000Date20240102030405.php +++ b/apps/testing/lib/Migration/Version30000Date20240102030405.php @@ -1,11 +1,11 @@