Skip to content

Commit

Permalink
Allow the bundle to work without Annotation Reader enabled in Symfony
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsche committed Aug 31, 2023
1 parent b40623d commit f8bc957
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/Resources/config/blameable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<argument type="service" id="stof_doctrine_extensions.metadata_cache" />
</call>
<call method="setAnnotationReader">
<argument type="service" id="annotation_reader" />
<argument type="service" id="annotation_reader" on-invalid="ignore" />
</call>
</service>

Expand Down
2 changes: 1 addition & 1 deletion src/Resources/config/ip_traceable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<argument type="service" id="stof_doctrine_extensions.metadata_cache" />
</call>
<call method="setAnnotationReader">
<argument type="service" id="annotation_reader" />
<argument type="service" id="annotation_reader" on-invalid="ignore" />
</call>
</service>

Expand Down
2 changes: 1 addition & 1 deletion src/Resources/config/loggable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<argument type="service" id="stof_doctrine_extensions.metadata_cache" />
</call>
<call method="setAnnotationReader">
<argument type="service" id="annotation_reader" />
<argument type="service" id="annotation_reader" on-invalid="ignore" />
</call>
</service>

Expand Down
2 changes: 1 addition & 1 deletion src/Resources/config/reference_integrity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<argument type="service" id="stof_doctrine_extensions.metadata_cache" />
</call>
<call method="setAnnotationReader">
<argument type="service" id="annotation_reader" />
<argument type="service" id="annotation_reader" on-invalid="ignore" />
</call>
</service>
</services>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/config/sluggable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<argument type="service" id="stof_doctrine_extensions.metadata_cache" />
</call>
<call method="setAnnotationReader">
<argument type="service" id="annotation_reader" />
<argument type="service" id="annotation_reader" on-invalid="ignore" />
</call>
</service>
</services>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/config/softdeleteable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<argument type="service" id="stof_doctrine_extensions.metadata_cache" />
</call>
<call method="setAnnotationReader">
<argument type="service" id="annotation_reader" />
<argument type="service" id="annotation_reader" on-invalid="ignore" />
</call>
</service>
</services>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/config/sortable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<argument type="service" id="stof_doctrine_extensions.metadata_cache" />
</call>
<call method="setAnnotationReader">
<argument type="service" id="annotation_reader" />
<argument type="service" id="annotation_reader" on-invalid="ignore" />
</call>
</service>
</services>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/config/timestampable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<argument type="service" id="stof_doctrine_extensions.metadata_cache" />
</call>
<call method="setAnnotationReader">
<argument type="service" id="annotation_reader" />
<argument type="service" id="annotation_reader" on-invalid="ignore" />
</call>
</service>
</services>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/config/translatable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<argument type="service" id="stof_doctrine_extensions.metadata_cache" />
</call>
<call method="setAnnotationReader">
<argument type="service" id="annotation_reader" />
<argument type="service" id="annotation_reader" on-invalid="ignore" />
</call>
<call method="setDefaultLocale">
<argument>%stof_doctrine_extensions.default_locale%</argument>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/config/tree.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<argument type="service" id="stof_doctrine_extensions.metadata_cache" />
</call>
<call method="setAnnotationReader">
<argument type="service" id="annotation_reader" />
<argument type="service" id="annotation_reader" on-invalid="ignore" />
</call>
</service>
</services>
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/config/uploadable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<argument type="service" id="stof_doctrine_extensions.metadata_cache" />
</call>
<call method="setAnnotationReader">
<argument type="service" id="annotation_reader" />
<argument type="service" id="annotation_reader" on-invalid="ignore" />
</call>

<call method="setDefaultFileInfoClass">
Expand Down

0 comments on commit f8bc957

Please sign in to comment.