-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major update - added strict types, increased phpstan to level 8, PSR1…
…2 support (#31) * Update tests.yml * Update tests.yml * Updated project to be compliant with phpstan level 6 * Update PelIfd.php * phpcs fix * Updated phpstan config * Changed order of github actions operations * Updated phpstan to level 7 * Updated phpstan to level 8 * Added rector support * Removed support for php 8.1 * Added declare(strict_types=1) * Update PelIllegalFormatException.php * Added phpinsights * Rector fix * Update tests.yml * Updated phpcs to use PSR12 standard * Update phpinsights.php * Updated examples * Added support for file streams to avoid memory issues when reading large files * Updated phpinsights config, added more tests * Added more tests * Added more tests * Updated tests * Create .gitattributes * Update .gitattributes * Readd 8.1, fail PHPUnit on warnings * Update tests.yml * Fixed phpunit warnings * Updated composer deps for php 8.1 * Update PelFileStream.php * Updated deps for php 8.1 (hopefully) * Removed composer.lock to avoid issues with different versions * Removed git actions cache --------- Co-authored-by: mondrake <[email protected]>
- Loading branch information
Showing
108 changed files
with
5,594 additions
and
7,011 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.github/ export-ignore | ||
test/ export-ignore | ||
examples/ export-ignore | ||
tutorials/ export-ignore | ||
*.sh export-ignore | ||
make-image-test.php export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ doc/* | |
vendor | ||
ChangeLog | ||
build-base* | ||
composer.lock | ||
/.phpcs-cache | ||
/.phpunit.result.cache | ||
/composer.lock | ||
/.settings/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,53 @@ | ||
{ | ||
"name" : "fileeye/pel", | ||
"type" : "library", | ||
"description" : "PHP Exif Library. A library for reading and writing Exif headers in JPEG and TIFF images using PHP.", | ||
"keywords" : [ | ||
"image", | ||
"exif" | ||
], | ||
"homepage" : "https://github.com/FileEye/pel", | ||
"authors" : [{ | ||
"name" : "Lars Olesen", | ||
"email" : "[email protected]", | ||
"homepage" : "http://intraface.dk", | ||
"role" : "Developer" | ||
}, { | ||
"name" : "Martin Geisler", | ||
"email" : "[email protected]", | ||
"homepage" : "http://geisler.net", | ||
"role" : "Developer" | ||
} | ||
], | ||
"license" : "GPL-2.0", | ||
"require" : { | ||
"php" : ">=8.1" | ||
}, | ||
"require-dev" : { | ||
"ext-gd" : "*", | ||
"ext-exif" : "*", | ||
"squizlabs/php_codesniffer" : ">=3.8", | ||
"phpunit/phpunit" : "^10 || ^11 ", | ||
"phpstan/extension-installer": "^1.4", | ||
"phpstan/phpstan": "^2", | ||
"phpstan/phpstan-phpunit": "^2" | ||
}, | ||
"name" : "fileeye/pel", | ||
"type" : "library", | ||
"description" : "PHP Exif Library. A library for reading and writing Exif headers in JPEG and TIFF images using PHP.", | ||
"keywords" : [ | ||
"image", | ||
"exif" | ||
], | ||
"homepage" : "https://github.com/FileEye/pel", | ||
"authors" : [{ | ||
"name" : "Lars Olesen", | ||
"email" : "[email protected]", | ||
"homepage" : "http://intraface.dk", | ||
"role" : "Developer" | ||
}, { | ||
"name" : "Martin Geisler", | ||
"email" : "[email protected]", | ||
"homepage" : "http://geisler.net", | ||
"role" : "Developer" | ||
} | ||
], | ||
"license" : "GPL-2.0", | ||
"require" : { | ||
"php" : ">=8.1" | ||
}, | ||
"require-dev" : { | ||
"ext-gd" : "*", | ||
"ext-exif" : "*", | ||
"squizlabs/php_codesniffer" : ">=3.7", | ||
"phpunit/phpunit" : "^10 || ^11 ", | ||
"phpstan/extension-installer": "^1.4", | ||
"phpstan/phpstan": "^1 || ^2", | ||
"phpstan/phpstan-phpunit": "^1 || ^2", | ||
"rector/rector": "^1 || ^2", | ||
"nunomaduro/phpinsights": "^1 || ^2" | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"phpstan/extension-installer": true | ||
"phpstan/extension-installer": true, | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
}, | ||
"autoload" : { | ||
"psr-4" : { | ||
"lsolesen\\pel\\" : "src/" | ||
} | ||
}, | ||
"autoload-dev" : { | ||
"psr-4" : { | ||
"Pel\\Test\\" : "test/" | ||
} | ||
} | ||
"autoload" : { | ||
"psr-4" : { | ||
"lsolesen\\pel\\" : "src/" | ||
} | ||
}, | ||
"autoload-dev" : { | ||
"psr-4" : { | ||
"Pel\\Test\\" : "test/" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.