Skip to content

Commit 79d7697

Browse files
committed
Resubmitting prod edits; changing license type
1 parent 94fb28f commit 79d7697

File tree

4 files changed

+2
-14
lines changed

4 files changed

+2
-14
lines changed

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ The above command will by default run the linting, test cases and the code cover
1919
* The coverage report can be found at `<project directory>/data/clover/index.html`
2020
Note - Since the test and coverage steps come later in the build process than linting, so if linting fails, you won't get the coverage reports.
2121

22-
### Lint with PHP_CodeSniffer
23-
This project uses PHPCS for linting.
24-
25-
Linting checks are enforced with the build step itself. By default, the linting will run first and if there are any issues the build will fail.
26-
2722
### Running Test Suites
2823
However, the `composer run check` will run the tests automatically but if you need to run the tests separately, please run the below command in console -
2924
```

composer.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "astock/stock-api-libphp",
33
"description": "Adobe Stock API library",
4-
"license": "proprietary",
4+
"license": "Apache-2.0",
55
"require": {
66
"php": "~7.1",
77
"guzzlehttp/guzzle": "~6.0",
@@ -22,20 +22,13 @@
2222
"AdobeStock\\Api\\Test\\": "test"
2323
}
2424
},
25-
"repositories": [{
26-
"type": "vcs",
27-
"url": "git@git.corp.adobe.com:AdobeStock/phpcs-psr2-stock.git"
28-
}
29-
],
3025
"config": {
3126
"bin-dir": "vendor/bin/"
3227
},
3328
"scripts": {
3429
"check": [
35-
"@lint",
3630
"@test"
3731
],
38-
"lint": "vendor/bin/phpcs-psr2-stock src test",
3932
"test": "vendor/bin/phpunit",
4033
"test-coverage": "vendor/bin/phpunit --coverage-html data/clover"
4134
}

src/Client/Http/HttpClient.php

100755100644
File mode changed.

src/Core/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(string $api_key, string $product, string $env = null
4848
$end_points = Constants::getEndpoints() ;
4949

5050
if ($env === null) {
51-
$env = 'STAGE';
51+
$env = 'PROD';
5252
}
5353

5454
if ($env == 'PROD') {

0 commit comments

Comments
 (0)