From bd3aad2d37475ffac2ed1b40de24ec9056a9fef5 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Thu, 25 Jul 2024 17:05:50 +0200 Subject: [PATCH] fix namespace --- .../Fixture/ManyToMany/adder_param.php.inc | 4 +- .../adder_param_with_typehint_only.php.inc | 4 +- .../Fixture/ManyToMany/no_var.php.inc | 4 +- .../ManyToMany/no_var_attribute.php.inc | 4 +- .../ManyToMany/param_without_array.php.inc | 4 +- .../skip_collection_generic_class.php.inc | 2 +- .../skip_collection_generic_object.php.inc | 2 +- .../Fixture/ManyToMany/var_fixture.php.inc | 4 +- .../Fixture/ManyToMany/var_static.php.inc | 4 +- .../ManyToMany/var_without_array.php.inc | 4 +- .../ManyToMany/var_without_collection.php.inc | 4 +- .../Fixture/Odm/orm_many.php.inc | 50 +++++++++++++++++++ .../Fixture/OneToMany/adder_param.php.inc | 4 +- .../adder_param_with_typehint_only.php.inc | 4 +- .../Fixture/OneToMany/no_var.php.inc | 4 +- .../OneToMany/no_var_attribute.php.inc | 4 +- .../OneToMany/param_without_array.php.inc | 4 +- .../skip_collection_generic_class.php.inc | 2 +- .../skip_collection_generic_object.php.inc | 2 +- .../Fixture/OneToMany/var_fixture.php.inc | 4 +- .../Fixture/OneToMany/var_static.php.inc | 4 +- .../OneToMany/var_without_array.php.inc | 4 +- .../OneToMany/var_without_collection.php.inc | 4 +- 23 files changed, 90 insertions(+), 40 deletions(-) create mode 100644 rules-tests/CodeQuality/Rector/Property/ImproveDoctrineCollectionDocTypeInEntityRector/Fixture/Odm/orm_many.php.inc diff --git a/rules-tests/CodeQuality/Rector/Property/ImproveDoctrineCollectionDocTypeInEntityRector/Fixture/ManyToMany/adder_param.php.inc b/rules-tests/CodeQuality/Rector/Property/ImproveDoctrineCollectionDocTypeInEntityRector/Fixture/ManyToMany/adder_param.php.inc index 66490ad5..25e6fb4f 100644 --- a/rules-tests/CodeQuality/Rector/Property/ImproveDoctrineCollectionDocTypeInEntityRector/Fixture/ManyToMany/adder_param.php.inc +++ b/rules-tests/CodeQuality/Rector/Property/ImproveDoctrineCollectionDocTypeInEntityRector/Fixture/ManyToMany/adder_param.php.inc @@ -1,6 +1,6 @@ items; + } +} + +?> +----- + + */ + private $items = []; + + public function getItems() + { + return $this->items; + } +} + +?> diff --git a/rules-tests/CodeQuality/Rector/Property/ImproveDoctrineCollectionDocTypeInEntityRector/Fixture/OneToMany/adder_param.php.inc b/rules-tests/CodeQuality/Rector/Property/ImproveDoctrineCollectionDocTypeInEntityRector/Fixture/OneToMany/adder_param.php.inc index 3c3f7080..a19e8ea3 100644 --- a/rules-tests/CodeQuality/Rector/Property/ImproveDoctrineCollectionDocTypeInEntityRector/Fixture/OneToMany/adder_param.php.inc +++ b/rules-tests/CodeQuality/Rector/Property/ImproveDoctrineCollectionDocTypeInEntityRector/Fixture/OneToMany/adder_param.php.inc @@ -1,6 +1,6 @@