Skip to content

Commit

Permalink
WIP: Version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnv committed Sep 22, 2021
1 parent 7102c2e commit 05bf1d6
Show file tree
Hide file tree
Showing 34 changed files with 3,910 additions and 2,342 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: PHP CI

on: [push]
on: [ push ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
- uses: actions/checkout@v1
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'

- name: Validate composer.json and composer.lock
run: composer validate
- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md

- name: Run test suite
run: ./vendor/bin/phpunit
- name: Run test suite
run: ./vendor/bin/phpunit
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ vendor
composer.phar
phpunit.xml
.vscode
.phpunit*
52 changes: 26 additions & 26 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,10 @@
{
"name": "imagekit/imagekit",
"type": "library",
"version": "1.2.2",
"description": "PHP library for Imagekit",
"keywords": [
"library",
"imagekit",
"image management"
],
"homepage": "https://github.com/imagekit-developer/imagekit-php",
"support": {
"email": "[email protected]"
},
"authors": [
{
"name": "Imagekit",
"homepage": "https://github.com/imagekit-developer/imagekit-php/graphs/contributors"
}
],
"license": "MIT",
"require": {
"php":"^5.3.3 || ^7.0 || ^8.0",
"ext-curl": "*",
"guzzlehttp/guzzle": "~6.0 || ~7.0",
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "^9",
"ext-json": "*"
},
"autoload": {
"psr-4": {
"ImageKit\\": "src/ImageKit/"
Expand All @@ -38,5 +14,29 @@
"psr-4": {
"ImageKit\\Tests\\": "tests/"
}
}
}
},
"description": "PHP library for Imagekit",
"homepage": "https://github.com/imagekit-developer/imagekit-php",
"keywords": [
"library",
"imagekit",
"image management"
],
"license": "MIT",
"name": "imagekit/imagekit",
"require": {
"php": ">=5.6.0",
"ext-curl": "*",
"guzzlehttp/guzzle": "~6.0 || ~7.0",
"ext-json": "*",
"beberlei/assert": "^3.3"
},
"require-dev": {
"phpunit/phpunit": "^9"
},
"support": {
"email": "[email protected]"
},
"type": "library",
"version": "2.0.0"
}
Loading

0 comments on commit 05bf1d6

Please sign in to comment.