forked from GitLabPHP/Client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Jeroeny/update
refactor
- Loading branch information
Showing
192 changed files
with
10,646 additions
and
14,020 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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
* text=auto | ||
|
||
/doc export-ignore | ||
/test export-ignore | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.styleci.yml export-ignore | ||
/.travis.yml export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/README.md export-ignore | ||
/UPGRADE.md export-ignore | ||
/doc export-ignore | ||
/test export-ignore | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.styleci.yml export-ignore | ||
/.travis.yml export-ignore | ||
/phpcs.xml export-ignore | ||
/phpstan.neon export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/README.md export-ignore | ||
/UPGRADE.md 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
.idea | ||
vendor/ | ||
composer.lock | ||
|
||
.idea | ||
.phpunit.result.cache | ||
.phpcs-cache |
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,25 +1,17 @@ | ||
language: php | ||
|
||
sudo: false | ||
|
||
php: | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
- 7.3 | ||
- 7.4snapshot | ||
|
||
matrix: | ||
# test latest PHP stable version with lowest dependencies and phpstan static analysis | ||
include: | ||
- php: 7.1 | ||
env: COMPOSER_FLAGS="--prefer-lowest" STATIC_ANALYSIS=yes | ||
|
||
before_script: | ||
- travis_retry composer self-update | ||
- travis_retry composer update --no-interaction ${COMPOSER_FLAGS} | ||
- if [ "$STATIC_ANALYSIS" != "" ]; then curl -L https://github.com/phpstan/phpstan/releases/download/0.8/phpstan.phar -o phpstan.phar; fi; | ||
install: | ||
- composer install --no-progress | ||
|
||
script: | ||
- vendor/bin/phpunit --verbose --coverage-text | ||
- if [ "$STATIC_ANALYSIS" != "" ]; then php phpstan.phar analyse --level=4 lib; fi; | ||
- ./vendor/bin/phpcs | ||
- ./vendor/bin/phpstan analyse -c phpstan.neon | ||
- ./vendor/bin/phpunit --coverage-clover=coverage.xml | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) |
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,63 @@ | ||
{ | ||
"name": "m4tthumphrey/php-gitlab-api", | ||
"type": "library", | ||
"description": "GitLab API client", | ||
"homepage": "https://github.com/m4tthumphrey/php-gitlab-api", | ||
"keywords": ["gitlab", "api"], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Matt Humphrey", | ||
"homepage": "http://m4tt.io" | ||
}, | ||
{ | ||
"name": "KnpLabs Team", | ||
"homepage": "http://knplabs.com" | ||
}, | ||
{ | ||
"name": "Thibault Duplessis", | ||
"email": "[email protected]", | ||
"homepage": "http://ornicar.github.com" | ||
} | ||
], | ||
"require": { | ||
"php": "^5.6 || ^7.0", | ||
"ext-xml": "*", | ||
"php-http/client-common": "^1.6", | ||
"php-http/client-implementation": "^1.0", | ||
"php-http/discovery": "^1.2", | ||
"php-http/httplug": "^1.1", | ||
"php-http/multipart-stream-builder": "^1.0", | ||
"symfony/options-resolver": "^2.6 || ^3.0 || ^4.0" | ||
}, | ||
"require-dev": { | ||
"guzzlehttp/psr7": "^1.2", | ||
"php-http/guzzle6-adapter": "^1.0", | ||
"php-http/mock-client": "^1.0", | ||
"phpunit/phpunit": "^5.7.27 || ^6.5" | ||
}, | ||
"autoload": { | ||
"psr-4": { "Gitlab\\": "lib/Gitlab/" } | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { "Gitlab\\Tests\\": "test/Gitlab/Tests/" } | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "9.14-dev" | ||
} | ||
} | ||
"name": "jeroeny/gitlab-api", | ||
"type": "library", | ||
"description": "GitLab API client", | ||
"homepage": "https://github.com/jeroeny/gitlab-api", | ||
"keywords": [ | ||
"gitlab", | ||
"api" | ||
], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Matt Humphrey", | ||
"homepage": "http://m4tt.io" | ||
}, | ||
{ | ||
"name": "KnpLabs Team", | ||
"homepage": "http://knplabs.com" | ||
}, | ||
{ | ||
"name": "Thibault Duplessis", | ||
"email": "[email protected]", | ||
"homepage": "http://ornicar.github.com" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.2", | ||
"ext-json": "*", | ||
"ext-xml": "*", | ||
"php-http/client-common": "^2.0", | ||
"php-http/discovery": "^1.7", | ||
"php-http/httplug": "^2.0", | ||
"php-http/message": "^1.8", | ||
"php-http/multipart-stream-builder": "^1.1", | ||
"symfony/options-resolver": "^4.3" | ||
}, | ||
"require-dev": { | ||
"dealerdirect/phpcodesniffer-composer-installer": "^0.5", | ||
"doctrine/coding-standard": "^6.0", | ||
"guzzlehttp/psr7": "^1.6", | ||
"moxio/php-codesniffer-sniffs": "^2.3", | ||
"php-http/guzzle6-adapter": "^2.0", | ||
"php-http/mock-client": "^1.3", | ||
"phpstan/phpstan": "^0.11", | ||
"phpunit/phpunit": "^8.4", | ||
"slevomat/coding-standard": "^5.0", | ||
"squizlabs/php_codesniffer": "^3.5", | ||
"zendframework/zend-diactoros": "^2.1" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Gitlab\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Gitlab\\Tests\\": "tests/unit" | ||
} | ||
}, | ||
"config": { | ||
"sort-packages": true | ||
} | ||
} |
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,8 +1,8 @@ | ||
version: "3" | ||
services: | ||
php: | ||
build: etc/docker/dev/php | ||
build: . | ||
volumes: | ||
- .:/app | ||
working_dir: /app | ||
command: tail -f /dev/null | ||
command: tail -f /dev/null |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.