Skip to content

Commit 32d751e

Browse files
authored
Merge pull request #23 from magehost/pr__security_symfony_com
Cleaned-up version of PR #21 - thanks to @gustawdaniel
2 parents 8a17238 + 61a11e4 commit 32d751e

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Run these commands to see some sample behavior:
2222
composer require symfony/symfony --update-with-all-dependencies
2323
composer audit
2424

25-
By default this tool uploads your `composer.lock` file to the [security.sensiolabs.org](https://security.sensiolabs.org/) webservice which uses the checks from https://github.com/FriendsOfPHP/security-advisories.
25+
By default this tool uploads your `composer.lock` file to the [security.symfony.com](https://security.symfony.com/) webservice which uses the checks from https://github.com/FriendsOfPHP/security-advisories.
2626

2727
You can check offline by downloading a local version of this [repo](https://github.com/FriendsOfPHP/security-advisories) and specify its path using:
2828

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
},
2323
"require": {
2424
"composer-plugin-api": "^1.1",
25-
"symfony/yaml": "^4.1"
25+
"symfony/yaml": "^4.1",
26+
"ext-json": "*",
27+
"ext-curl": "*"
2628
},
2729
"require-dev": {
2830
"composer/composer": "^1.6",

src/Checker/HttpChecker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ abstract protected function doHttpCheck($lock, $certFile);
7373

7474
private function getCertFile()
7575
{
76-
$certFile = __DIR__.'/../../res/security.sensiolabs.org.crt';
76+
$certFile = __DIR__.'/../../res/security.symfony.com.crt';
7777

7878
return $certFile;
7979
}

src/Checker/HttpCheckerInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
interface HttpCheckerInterface extends CheckerInterface
66
{
77

8-
const DEFAULT_ENDPOINT = 'https://security.sensiolabs.org/check_lock';
8+
const DEFAULT_ENDPOINT = 'https://security.symfony.com/check_lock';
99
const DEFAULT_TIMEOUT = 20;
1010

1111
/**

0 commit comments

Comments
 (0)