Skip to content

Commit 7289319

Browse files
committed
WIP
1 parent a09e3df commit 7289319

8 files changed

+27
-125
lines changed

.gitattributes

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@
66
/.gitattributes export-ignore
77
/.gitignore export-ignore
88
/phpunit.xml.dist export-ignore
9+
/art export-ignore
10+
/docs export-ignore
911
/tests export-ignore
1012
/.editorconfig export-ignore
11-
/.php_cs.dist export-ignore
13+
/.php_cs.dist.php export-ignore
1214
/psalm.xml export-ignore
1315
/psalm.xml.dist export-ignore
1416
/testbench.yaml export-ignore
17+
/UPGRADING.md export-ignore
18+
/phpstan.neon.dist export-ignore
19+
/phpstan-baseline.neon export-ignore

.gitignore

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
.idea
2-
.php_cs
3-
.php_cs.cache
4-
.php-cs-fixer.cache
52
.phpunit.result.cache
63
.phpunit.cache
7-
build
84
composer.lock
95
coverage
10-
docs
116
phpunit.xml
12-
psalm.xml
7+
phpstan.neon
138
testbench.yaml
149
vendor
1510
node_modules
16-
phpstan.neon
11+
.phpactor.json
12+
build

.php-cs-fixer.dist.php

Lines changed: 0 additions & 48 deletions
This file was deleted.

.php_cs.dist

Lines changed: 0 additions & 40 deletions
This file was deleted.

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<img src="https://banners.beyondco.de/Laravel%20Flysystem%20Cloudinary.png?theme=light&packageManager=composer+require&packageName=codebar-ag%2Flaravel-flysystem-cloudinary&pattern=circuitBoard&style=style_2&description=An+opinionated+way+to+integrate+Cloudinary+with+the+Laravel+filesystem&md=1&showWatermark=0&fontSize=150px&images=cloud&widths=500&heights=500">
22

33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/codebar-ag/laravel-flysystem-cloudinary.svg?style=flat-square)](https://packagist.org/packages/codebar-ag/laravel-flysystem-cloudinary)
4+
[![GitHub-Tests](https://github.com/codebar-ag/laravel-flysystem-cloudinary/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/codebar-ag/laravel-flysystem-cloudinary/actions/workflows/run-tests.yml)
5+
[![GitHub Code Style](https://github.com/codebar-ag/laravel-flysystem-cloudinary/actions/workflows/fix-php-code-style-issues.yml/badge.svg?branch=main)](https://github.com/codebar-ag/laravel-flysystem-cloudinary/actions/workflows/fix-php-code-style-issues.yml)
46
[![Total Downloads](https://img.shields.io/packagist/dt/codebar-ag/laravel-flysystem-cloudinary.svg?style=flat-square)](https://packagist.org/packages/codebar-ag/laravel-flysystem-cloudinary)
5-
[![run-tests](https://github.com/codebar-ag/laravel-flysystem-cloudinary/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/codebar-ag/laravel-flysystem-cloudinary/actions/workflows/run-tests.yml)
6-
[![PHPStan](https://github.com/codebar-ag/laravel-flysystem-cloudinary/actions/workflows/phpstan.yml/badge.svg?branch=main)](https://github.com/codebar-ag/laravel-flysystem-cloudinary/actions/workflows/phpstan.yml)
7-
[![Fix PHP code style issues](https://github.com/codebar-ag/laravel-flysystem-cloudinary/actions/workflows/fix-php-code-style-issues.yml/badge.svg?branch=main)](https://github.com/codebar-ag/laravel-flysystem-cloudinary/actions/workflows/fix-php-code-style-issues.yml)
87

98
## 💡 What is Cloudinary?
109

@@ -17,12 +16,15 @@ additional parameters to your url 😉
1716

1817
- Cloudinary Account
1918

20-
| Package | PHP | Laravel | Flysystem |
21-
|-----------|--------|---------------|-------------|
22-
| >v4.0 | >8.3 | > Laravel 11 | > 3.0 |
23-
| >v3.0 | >8.2 | > Laravel 10 | > 3.0 |
24-
| >v2.0 | >8.1 | > Laravel 9 | > 3.0 |
25-
| >v1.0 | >8.0 | > Laravel 8 | > 1.1 |
19+
| Package | PHP | Laravel | Flysystem |
20+
|-----------|-------------|-----------|-------------|
21+
| v12.0 | ^8.2 - ^8.4 | 12.x | 3.25.1 |
22+
| v11.0 | ^8.2 - ^8.3 | 11.x | 3.0 |
23+
| v4.0 | ^8.2 - ^8.3 | 11.x | 3.0 |
24+
| v3.0 | 8.2 | 10.x | 3.0 |
25+
| v2.0 | 8.1 | 9.x | 3.0 |
26+
| v1.0 | 8.0 | 8.x | 1.1 |
27+
2628

2729
## ⚙️ Installation
2830

phpstan.neon.dist

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ includes:
22
- phpstan-baseline.neon
33

44
parameters:
5-
level: 4
5+
level: 5
66
paths:
77
- src
88
- config
99
tmpDir: build/phpstan
1010
checkOctaneCompatibility: true
1111
checkModelProperties: true
12-
checkMissingIterableValueType: false
13-
12+
noEnvCallsOutsideOfConfig: false

phpunit.xml.dist

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd" backupGlobals="false"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" backupGlobals="false"
44
bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false"
55
executionOrder="random" failOnWarning="true" failOnRisky="true" failOnEmptyTestSuite="true"
66
beStrictAboutOutputDuringTests="true" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
@@ -16,7 +16,11 @@
1616
<clover outputFile="build/logs/clover.xml"/>
1717
</report>
1818
</coverage>
19+
<logging>
20+
<junit outputFile="build/report.junit.xml"/>
21+
</logging>
1922
<php>
23+
<env name="APP_KEY" value="base64:F+mHMDBbavrsp/I3WYA5lDSwDJJI/0wQG4eM3csq/lo="/>
2024
<env name="FILESYSTEM_DRIVER" value="cloudinary"/>
2125
<env name="CLOUDINARY_CLOUD_NAME" value="cloudinary_cloud_name"/>
2226
<env name="CLOUDINARY_API_KEY" value="cloudinary_api_key"/>

psalm.xml.dist

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)