Skip to content

Commit 898483b

Browse files
committed
Fix up move to php-collective
1 parent 36f0523 commit 898483b

28 files changed

+118
-257
lines changed

.phive/phars.xml

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

.scrutinizer.yml

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

composer.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "phauthentic/file-storage-image-processor",
2+
"name": "php-collective/file-storage-image-processor",
33
"description": "File Storage Image Processor",
44
"keywords": ["storage", "files", "file storage", "file system", "persistence", "media", "image processing", "agnostic"],
55
"type": "library",
@@ -17,7 +17,10 @@
1717
"ext-json": "*"
1818
},
1919
"require-dev": {
20-
"phauthentic/file-storage": "^1.0",
20+
"phpunit/phpunit": "^10.3",
21+
"phpstan/phpstan": "^1.10",
22+
"php-collective/code-sniffer": "^0.2.1",
23+
"php-collective/file-storage": "^1.0",
2124
"instituteweb/composer-scripts": "^1.1"
2225
},
2326
"minimum-stability": "dev",
@@ -29,38 +32,35 @@
2932
},
3033
"autoload": {
3134
"psr-4": {
32-
"Phauthentic\\Infrastructure\\Storage\\Processor\\Image\\": "src/"
35+
"PhpCollective\\Infrastructure\\Storage\\Processor\\Image\\": "src/"
3336
}
3437
},
3538
"autoload-dev": {
3639
"psr-4": {
37-
"Phauthentic\\Test\\": "tests/"
40+
"PhpCollective\\Test\\": "tests/"
3841
}
3942
},
4043
"scripts": {
4144
"post-install-cmd": [
4245
"php config/composer_post_install.php"
4346
],
4447
"test": [
45-
"./bin/phpunit"
48+
"phpunit"
4649
],
4750
"test-coverage": [
48-
"./bin/phpunit --coverage-text"
51+
"phpunit --coverage-text"
4952
],
5053
"test-coverage-html": [
51-
"./bin/phpunit --coverage-html ./tmp/coverage"
54+
"phpunit --coverage-html ./tmp/coverage"
5255
],
53-
"cscheck": [
54-
"./bin/phpcs ./src ./tests --standard=./phpcs.xml -s"
56+
"cs-check": [
57+
"phpcs -s"
5558
],
56-
"csfix": [
57-
"./bin/phpcbf ./src ./tests --standard=./phpcs.xml"
59+
"cs-fix": [
60+
"phpcbf"
5861
],
59-
"analyze": [
60-
"./bin/phpstan analyse ./src"
61-
],
62-
"phive": [
63-
"php ./config/composer_phive.php"
62+
"stan": [
63+
"phpstan analyze"
6464
],
6565
"serve": [
6666

contributing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Contributions are welcome. We accept pull requests on [GitHub][].
55
You can triage issues which may include reproducing bug reports or asking for
66
vital information, such as version numbers or reproduction instructions. If you
77
would like to start triaging issues, one easy way to get started is to
8-
[subscribe to phauthentic/file-storage on CodeTriage](https://codetriage.com/phauthentic/file-storage).
8+
[subscribe to php-collective/file-storage on CodeTriage](https://codetriage.com/php-collective/file-storage).
99

1010
This project adheres to a [Contributor Code of Conduct][]. By participating in
1111
this project and its community, you are expected to uphold this code.
@@ -15,7 +15,7 @@ this project and its community, you are expected to uphold this code.
1515

1616
You can find help and discussion in the following places:
1717

18-
* GitHub Issues: <https://github.com/phauthentic/file-storage/issues>
18+
* GitHub Issues: <https://github.com/php-collective/file-storage/issues>
1919

2020

2121
## Reporting Bugs

docs/Installation-and-Setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Install it via [Composer](https://getcomposer.org/)
66

77
```sh
8-
composer require phauthentic/file-storage-image-processor
8+
composer require php-collective/file-storage-image-processor
99
```
1010

1111
If you want to manually install it we assume you know what you're doing by not using Composer.

docs/Processing-Images.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Processing Images
22

33
```php
4-
use Phauthentic\Infrastructure\Storage\FileFactory;
5-
use Phauthentic\Infrastructure\Storage\PathBuilder\PathBuilder;
6-
use Phauthentic\Infrastructure\Storage\Processor\Image\ImageProcessor;
7-
use Phauthentic\Infrastructure\Storage\Processor\Image\ImageManipulationCollection;
8-
use Phauthentic\Infrastructure\Storage\FileStorage;
9-
use Phauthentic\Infrastructure\Storage\StorageAdapterFactory;
10-
use Phauthentic\Infrastructure\Storage\StorageService;
4+
use PhpCollective\Infrastructure\Storage\FileFactory;
5+
use PhpCollective\Infrastructure\Storage\PathBuilder\PathBuilder;
6+
use PhpCollective\Infrastructure\Storage\Processor\Image\ImageProcessor;
7+
use PhpCollective\Infrastructure\Storage\Processor\Image\ImageManipulationCollection;
8+
use PhpCollective\Infrastructure\Storage\FileStorage;
9+
use PhpCollective\Infrastructure\Storage\StorageAdapterFactory;
10+
use PhpCollective\Infrastructure\Storage\StorageService;
1111
use Intervention\Image\ImageManager;
1212

1313
/*******************************************************************************
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# File Storage Documentation
2-
3-
* [Installation & Setup](Installation-and-Setup.md)
4-
* [Processing Images](Processing-Images.md)
1+
# File Storage Documentation
2+
3+
* [Installation & Setup](Installation-and-Setup.md)
4+
* [Processing Images](Processing-Images.md)

example.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
require 'vendor/autoload.php';
66

7-
use Phauthentic\Infrastructure\Storage\Factories\LocalFactory;
8-
use Phauthentic\Infrastructure\Storage\FileFactory;
9-
use Phauthentic\Infrastructure\Storage\PathBuilder\PathBuilder;
10-
use Phauthentic\Infrastructure\Storage\Processor\Image\ImageProcessor;
11-
use Phauthentic\Infrastructure\Storage\Processor\Image\ImageVariantCollection;
12-
use Phauthentic\Infrastructure\Storage\FileStorage;
13-
use Phauthentic\Infrastructure\Storage\StorageAdapterFactory;
14-
use Phauthentic\Infrastructure\Storage\StorageService;
7+
use PhpCollective\Infrastructure\Storage\Factories\LocalFactory;
8+
use PhpCollective\Infrastructure\Storage\FileFactory;
9+
use PhpCollective\Infrastructure\Storage\PathBuilder\PathBuilder;
10+
use PhpCollective\Infrastructure\Storage\Processor\Image\ImageProcessor;
11+
use PhpCollective\Infrastructure\Storage\Processor\Image\ImageVariantCollection;
12+
use PhpCollective\Infrastructure\Storage\FileStorage;
13+
use PhpCollective\Infrastructure\Storage\StorageAdapterFactory;
14+
use PhpCollective\Infrastructure\Storage\StorageService;
1515
use Intervention\Image\ImageManager;
1616

1717
/*******************************************************************************

grumphp.yml

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

phpunit.xml

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

0 commit comments

Comments
 (0)