File tree Expand file tree Collapse file tree 5 files changed +46
-80
lines changed
Expand file tree Collapse file tree 5 files changed +46
-80
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ run :
9+ runs-on : ubuntu-latest
10+
11+ strategy :
12+ matrix :
13+ php-versions : ['7.4', '8.0']
14+
15+ name : PHP ${{ matrix.php-versions }}
16+
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v2
20+
21+ - name : Setup PHP
22+ uses : shivammathur/setup-php@v2
23+ with :
24+ php-version : ${{ matrix.php-versions }}
25+ tools : composer:v2
26+
27+ - name : Validate composer.json
28+ run : composer validate
29+
30+ - name : Install dependencies
31+ run : composer install -n --no-progress --no-suggest
32+
33+ - name : Coding Standard Checks
34+ run : PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --verbose --diff --dry-run
35+
36+ - name : Run phpunit tests
37+ run : vendor/bin/phpunit -d memory_limit=-1 --coverage-clover clover.xml
38+
39+ - name : Upload coverage to Codecov
40+ run : bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 11# CHANGELOG
22
3+ ## v3.1.0
4+ - Replace CircleCi with GitHub Actions
5+ - Add compatibility with PHP 8.0
6+
37## v3.0.1
48- Replace TravisCI and Scrutinizer with CircleCi and Codecov
59- Published docker image ` jellybellydev/imageorientationfix:1.0 ` starting from file ` .docker/php74/Dockerfile `
Original file line number Diff line number Diff line change 22
33PHP library to fix image orientation by exif data with thanks to method [ exif_read_data] ( http://it2.php.net/manual/en/function.exif-read-data.php )
44
5- [ ![ CircleCI ] ( https://circleci .com/gh/ JellyBellyDev/ImageOrientationFix.svg?style=svg )] ( https://circleci .com/gh/ JellyBellyDev/ImageOrientationFix )
5+ [ ![ Gitbub actions ] ( https://github .com/JellyBellyDev/ImageOrientationFix/workflows/Build/badge .svg )] ( https://github .com/JellyBellyDev/ImageOrientationFix/actions )
66[ ![ Latest Stable Version] ( https://poser.pugx.org/jellybellydev/image-orientation-fix/v/stable )] ( https://packagist.org/packages/jellybellydev/image-orientation-fix )
77[ ![ Total Downloads] ( https://poser.pugx.org/jellybellydev/image-orientation-fix/downloads )] ( https://packagist.org/packages/jellybellydev/image-orientation-fix )
88[ ![ composer.lock] ( https://poser.pugx.org/jellybellydev/image-orientation-fix/composerlock )] ( https://packagist.org/packages/jellybellydev/image-orientation-fix )
Original file line number Diff line number Diff line change 3131 }
3232 },
3333 "require" : {
34- "php" : " ^7.4" ,
34+ "php" : " ^7.4|^8.0 " ,
3535 "ext-gd" : " *" ,
3636 "ext-exif" : " *"
3737 },
You can’t perform that action at this time.
0 commit comments