Skip to content

Commit 58b9a5a

Browse files
committed
Initial commit
0 parents  commit 58b9a5a

File tree

10 files changed

+153
-0
lines changed

10 files changed

+153
-0
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_size = 4
6+
indent_style = space
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
* text=auto
2+
3+
/.gitattributes export-ignore
4+
/.gitignore export-ignore
5+
/.travis.yml export-ignore
6+
/phpunit.xml export-ignore
7+
/tests export-ignore

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Dependencies
2+
composer.lock
3+
vendor

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Use Docker environment
2+
sudo: false
3+
4+
# Setup build matrix
5+
language: php
6+
php:
7+
- 5.5
8+
- 5.6
9+
- 7
10+
11+
env:
12+
matrix:
13+
- PREFER_LOWEST="--prefer-lowest"
14+
- PREFER_LOWEST=""
15+
16+
# Dependencies
17+
before_install:
18+
- composer self-update
19+
20+
install:
21+
- travis_retry composer update --no-interaction --prefer-source --dev $PREFER_LOWEST
22+
23+
script: composer test

CHANGELOG.MD

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# CHANGELOG
2+
3+
## 1.0.0
4+
5+
### Added
6+
- Initial commit

LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Madewithlove
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software is furnished to do so,
10+
subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Whitespace-only changes.

composer.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"name": "bramdevries/oauth-slack",
3+
"description": "Slack OAuth 2.0 Client Provider for The PHP League OAuth2-Client",
4+
"license": "MIT",
5+
"authors": [
6+
{
7+
"name": "Bram Devries",
8+
"email": "[email protected]",
9+
"homepage": "https://github.com/bramdevries"
10+
}
11+
],
12+
"keywords": [
13+
"oauth",
14+
"oauth2",
15+
"client",
16+
"authorization",
17+
"authorisation",
18+
"slack"
19+
],
20+
"require": {
21+
"php": ">=5.5.0",
22+
"league/oauth2-client": "~1.0"
23+
},
24+
"require-dev": {
25+
"phpunit/phpunit": "^4.8",
26+
"mockery/mockery": "^0.9.4"
27+
},
28+
"autoload": {
29+
"psr-4": {
30+
"Bramdevries\\Oauth\\Client\\": "src"
31+
}
32+
},
33+
"autoload-dev": {
34+
"psr-4": {
35+
"Bramdevries\\Oauth\\Client\\": "spec"
36+
}
37+
},
38+
"scripts": {
39+
"test": "phpunit"
40+
}
41+
}

phpunit.xml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit backupGlobals="false"
3+
backupStaticAttributes="false"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
convertErrorsToExceptions="true"
7+
convertNoticesToExceptions="true"
8+
convertWarningsToExceptions="true"
9+
processIsolation="false"
10+
stopOnFailure="false"
11+
syntaxCheck="false"
12+
>
13+
<logging>
14+
<log type="coverage-html"
15+
target="./build/coverage/html"
16+
charset="UTF-8"
17+
highlight="false"
18+
lowUpperBound="35"
19+
highLowerBound="70"/>
20+
<log type="coverage-clover"
21+
target="./build/coverage/log/coverage.xml"/>
22+
</logging>
23+
<testsuites>
24+
<testsuite name="Package Test Suite">
25+
<directory suffix=".php">./tests/</directory>
26+
</testsuite>
27+
</testsuites>
28+
<filter>
29+
<whitelist>
30+
<directory suffix=".php">./</directory>
31+
<exclude>
32+
<directory suffix=".php">./vendor</directory>
33+
<directory suffix=".php">./tests</directory>
34+
</exclude>
35+
</whitelist>
36+
</filter>
37+
</phpunit>

src/Provider/Slack.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
namespace Bramdevries\Oauth\Client\Provider;
4+
5+
class Slack
6+
{
7+
}

0 commit comments

Comments
 (0)