Skip to content

Commit

Permalink
feat: Added flysystem dependency for InterventionRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Nov 23, 2022
1 parent c191ca1 commit 09769ca
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"james-heinrich/getid3": "^1.9",
"jms/serializer": "^3.1.1",
"jms/serializer-bundle": "^3.10.0",
"league/flysystem-bundle": "^3.0",
"lexik/jwt-authentication-bundle": "^2.13",
"nelmio/cors-bundle": "^2.2",
"phpdocumentor/reflection-docblock": "^5.2",
Expand Down Expand Up @@ -83,7 +84,7 @@
"pimple/pimple": "*",
"rector/rector": "^0.14.5",
"rezozero/crypto": "^1.0.0",
"rezozero/intervention-request-bundle": "~2.0.1",
"rezozero/intervention-request-bundle": "~3.0.0 || dev-develop",
"rezozero/tree-walker": "^1.3.0",
"roadiz/doc-generator": "~2.0.0",
"roadiz/documents": "~2.1.0 || dev-develop",
Expand Down
1 change: 1 addition & 0 deletions config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
JMS\SerializerBundle\JMSSerializerBundle::class => ['all' => true],
Symfony\Cmf\Bundle\RoutingBundle\CmfRoutingBundle::class => ['all' => true],
Rollerworks\Bundle\PasswordStrengthBundle\RollerworksPasswordStrengthBundle::class => ['all' => true],
League\FlysystemBundle\FlysystemBundle::class => ['all' => true],
RZ\InterventionRequestBundle\RZInterventionRequestBundle::class => ['all' => true],
Sentry\SentryBundle\SentryBundle::class => ['all' => true],
ApiPlatform\Core\Bridge\Symfony\Bundle\ApiPlatformBundle::class => ['all' => true],
Expand Down
7 changes: 7 additions & 0 deletions config/packages/flysystem.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Read the documentation at https://github.com/thephpleague/flysystem-bundle/blob/master/docs/1-getting-started.md
flysystem:
storages:
intervention_request.storage:
adapter: 'local'
options:
directory: '%kernel.project_dir%/public/files'

0 comments on commit 09769ca

Please sign in to comment.