Skip to content

Commit dec9a1d

Browse files
committed
Update README and UPGRADE, fix composer.json typo, update gitignore
1 parent ae7a9d0 commit dec9a1d

File tree

5 files changed

+32
-33
lines changed

5 files changed

+32
-33
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
vendor
22
composer.lock
3-
.php_cs.cache
3+
.php-cs-fixer.cache
44
.phpunit.result.cache

.php-cs-fixer.dist.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?php
22

3-
$finder = PhpCsFixer\Finder::create()->in(__DIR__);
4-
$config = new PhpCsFixer\Config();
5-
6-
return $config->setRules([
3+
return (new PhpCsFixer\Config())
4+
->setRules([
75
'@Symfony' => true,
86
'phpdoc_annotation_without_dot' => false,
97
])
10-
->setFinder($finder);
8+
->setFinder(
9+
PhpCsFixer\Finder::create()
10+
->in(__DIR__)
11+
)
12+
;

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,24 @@
33
[![Packagist Version](https://img.shields.io/packagist/v/league/flysystem-bundle.svg?style=flat-square)](https://packagist.org/packages/league/flysystem-bundle)
44
[![Software license](https://img.shields.io/github/license/thephpleague/flysystem-bundle.svg?style=flat-square)](https://github.com/thephpleague/flysystem-bundle/blob/master/LICENSE)
55

6-
[![SymfonyInsight](https://insight.symfony.com/projects/525fdfa3-d482-4218-b4b9-3c2efc305fac/big.svg)](https://insight.symfony.com/projects/525fdfa3-d482-4218-b4b9-3c2efc305fac)
7-
86
flysystem-bundle is a Symfony bundle integrating the [Flysystem](https://flysystem.thephpleague.com)
97
library into Symfony applications.
108

119
It provides an efficient abstraction for the filesystem in order to change the storage backend depending
1210
on the execution environment (local files in development, cloud storage in production and memory in tests).
1311

1412
> Note: you are reading the documentation for flysystem-bundle 3.0, which relies on Flysystem 3.
15-
> If you use Flysystem 1.X, use [flysystem-bundle 1.X](https://github.com/thephpleague/flysystem-bundle/tree/1.x).
16-
> If you use Flysystem 2.X, use [flysystem-bundle 2.X](https://github.com/thephpleague/flysystem-bundle/tree/2.3.0).
13+
> If you use Flysystem 1.x, use [flysystem-bundle 1.x](https://github.com/thephpleague/flysystem-bundle/tree/1.x).
14+
> If you use Flysystem 2.x, use [flysystem-bundle 2.x](https://github.com/thephpleague/flysystem-bundle/tree/2.x).
1715
> Read the [Upgrade guide](https://github.com/thephpleague/flysystem-bundle/blob/master/UPGRADE.md) to learn how to upgrade.
1816
1917
## Installation
2018

21-
flysystem-bundle requires PHP 8.0+ and Symfony 5.4+.
19+
flysystem-bundle 3.x requires PHP 8.0+ and Symfony 5.4+.
20+
21+
> If you need support for a lower PHP/Symfony version, consider using
22+
> [flysystem-bundle 2.x](https://github.com/thephpleague/flysystem-bundle/tree/2.x) which support Flysystem 3.x
23+
> and older PHP/Symfony versions.
2224
2325
You can install the bundle using Symfony Flex:
2426

UPGRADE.md

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Upgrading from 2.0 to 3.0
2+
3+
flysystem-bundle 3.0 dropped support for End-Of-Life versions of PHP, Symfony and Flysystem.
4+
5+
No backward incompatible code change have been directly introduced by this bundle version.
6+
You should read the [Flysystem 3.x changelog](https://github.com/thephpleague/flysystem/blob/3.x/CHANGELOG.md)
7+
for any indirect change that may affect you.
8+
9+
The list of changes is the following:
10+
11+
* Dropped support for PHP 7.x ;
12+
* Dropped support for Symfony 4.2 to 5.3 ;
13+
* Dropped support of Flysystem 2.x ;
14+
* Added support for Azure Blob Storage (`league/flysystem-azure-blob-storage ^3.1`)
15+
116
# Upgrading from 1.0 to 2.0
217

318
flysystem-bundle 2.0 introduces backward incompatible changes, meaning you will need to update
@@ -9,26 +24,9 @@ changes. You should read
924

1025
In addition to the library updates, the bundle also changed a bit:
1126

12-
* Add official support for PHP 8 ;
27+
* Add official support for PHP 8.x ;
1328
* Migration to AsyncAWS 1.0 ;
1429
* Drop support for PHP 7.1 ;
1530
* Drop support for Azure, Dropbox, Rackspace and WebDAV adapters (following the main library) ;
1631
* Drop support for null, cache, zip and replicate adapters (following the main library) ;
1732
* Drop support for plugins ;
18-
19-
# Upgrading from 2.0 to 3.0
20-
21-
flysystem-bundle 3.0 relies on Flysystem 3.0, PHP 8.0+ and Flysystem adapters 3.1+.
22-
23-
The changes in this version focus on dropping support for EOL versions of PHP and Symfony and
24-
adding support for Azure Blob Storage.
25-
No new backwards incompatible code changes have been directly introduced by this new bundle version.
26-
You should read the [Flysystem 3.x Change Log](https://github.com/thephpleague/flysystem/blob/3.x/CHANGELOG.md)
27-
for any changes that may effect you.
28-
29-
These changes are;
30-
31-
* Added support for Azure Blob Storage (`league/flysystem-azure-blob-storage ^3.1`)
32-
* Dropped support for PHP 7
33-
* Dropped support of `league/flysystem ^2.0` and older Flysystem adapters `league/flysystem-* ^2.0|3.0.*`
34-
* Dropped support for Symfony 4.2 to 5.3

composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "league/flysystem-bundle",
3-
"description": "Symfony bundle integrating Flysystem into Symfony 4.4+ applications",
3+
"description": "Symfony bundle integrating Flysystem into Symfony 5.4+ applications",
44
"type": "symfony-bundle",
55
"license": "MIT",
66
"authors": [
@@ -42,9 +42,6 @@
4242
"symfony/var-dumper": "^5.4|^6.0",
4343
"symfony/yaml": "^5.4|^6.0"
4444
},
45-
"conflict": {
46-
"league/flysystem-cached-adapter": "<1.0.9"
47-
},
4845
"config": {
4946
"preferred-install": {
5047
"*": "dist"

0 commit comments

Comments
 (0)