[go: nahoru, domu]

Skip to content

Commit

Permalink
Merge pull request #460 from jmsche/allow-no-annotation-reader
Browse files Browse the repository at this point in the history
Allow the bundle to work without Annotation Reader enabled in Symfony
  • Loading branch information
stof committed Aug 31, 2023
2 parents b40623d + f8bc957 commit eb677bf
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 eb677bf

Please sign in to comment.