auth0 / symfony

Symfony SDK for Auth0 Authentication and Management APIs.
MIT License
124 stars 74 forks source link

Commit composer.lock file #98

Closed lbalmaceda closed 4 years ago

lbalmaceda commented 4 years ago

Changes

This PR adds a composer.lock file, generated after running the composer update command. The PR also removes the snyk check from the CI config steps. This is going to be replaced with Snyk cloud checks (now that a lock file is present on the repo).

The required min php version is now faked on the composer.json file, in order for composer to take it into consideration when installing or updating the dependencies.

Output of the composer update command (aka versions that changed)

╰─$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 9 installs, 30 updates, 9 removals
  - Removing psr/simple-cache (1.0.1)
  - Removing psr/container (1.0.0)
  - Removing psr/cache (1.0.1)
  - Removing symfony/inflector (v4.4.5)
  - Removing symfony/cache (v3.4.38)
  - Removing sebastian/resource-operations (1.0.0)
  - Removing sebastian/object-enumerator (2.0.1)
  - Removing sebastian/code-unit-reverse-lookup (1.0.1)
  - Removing myclabs/deep-copy (1.9.5)
  - Downgrading paragonie/random_compat (v9.99.99 => v2.0.18): Downloading (connecting...)Downloading (0%)           Downloading (25%)Downloading (85%)Downloading (100%)
  - Downgrading ralouphie/getallheaders (3.0.3 => 2.0.5): Downloading (connecting...)Downloading (0%)           Downloading (55%)Downloading (100%)
  - Installing symfony/translation (v2.8.52): Downloading (connecting...)Downloading (100%)         
  - Installing symfony/templating (v2.8.52): Downloading (connecting...)Downloading (100%)         
  - Downgrading symfony/stopwatch (v3.4.38 => v2.8.52): Downloading (connecting...)Downloading (100%)         
  - Downgrading symfony/security (v3.3.18 => v2.8.52): Downloading (connecting...)Downloading (100%)         
  - Installing symfony/security-acl (v2.8.0): Downloading (connecting...)Downloading (100%)         
  - Downgrading symfony/property-access (v3.4.38 => v2.8.52): Downloading (connecting...)Downloading (100%)         
  - Installing ircmaxell/password-compat (v1.0.4): Downloading (connecting...)Downloading (0%)           Downloading (100%)
  - Installing symfony/polyfill-php55 (v1.14.0): Downloading (connecting...)Downloading (100%)         
  - Installing symfony/polyfill-php54 (v1.14.0): Downloading (connecting...)Downloading (100%)         
  - Downgrading symfony/http-foundation (v3.4.38 => v2.8.52): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
  - Downgrading symfony/event-dispatcher (v3.4.38 => v2.8.52): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (100%)
  - Downgrading symfony/debug (v4.4.5 => v2.8.52): Downloading (connecting...)Downloading (0%)           Downloading (15%)Downloading (25%)Downloading (40%)Downloading (55%)Downloading (70%)Downloading (80%)Downloading (95%)Downloading (100%)
  - Downgrading symfony/http-kernel (v3.4.38 => v2.8.52): Downloading (connecting...)Downloading (100%)         
  - Downgrading symfony/routing (v3.4.38 => v2.8.52): Downloading (connecting...)Downloading (100%)         
  - Downgrading symfony/finder (v3.4.38 => v2.8.52): Downloading (connecting...)Downloading (100%)         
  - Downgrading symfony/filesystem (v3.4.38 => v2.8.52): Downloading (connecting...)Downloading (0%)           Downloading (40%)Downloading (45%)Downloading (85%)Downloading (100%)
  - Downgrading symfony/dependency-injection (v3.4.38 => v2.8.52): Downloading (connecting...)Downloading (100%)         
  - Downgrading symfony/config (v3.4.38 => v2.8.52): Downloading (connecting...)Downloading (100%)         
  - Downgrading symfony/class-loader (v3.4.38 => v2.8.52): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (70%)Downloading (75%)Downloading (90%)Downloading (95%)Downloading (100%)
  - Installing symfony/asset (v2.8.52): Downloading (connecting...)Downloading (100%)         
  - Downgrading doctrine/cache (1.10.0 => v1.6.2): Downloading (connecting...)Downloading (0%)           Downloading (10%)Downloading (15%)Downloading (20%)Downloading (30%)Downloading (40%)Downloading (50%)Downloading (55%)Downloading (65%)Downloading (75%)Downloading (80%)Downloading (90%)Downloading (100%)
  - Installing doctrine/lexer (1.0.2): Downloading (connecting...)Downloading (0%)           Downloading (65%)Downloading (100%)
  - Installing doctrine/annotations (v1.2.7): Downloading (connecting...)Downloading (0%)           Downloading (10%)Downloading (70%)Downloading (80%)Downloading (90%)Downloading (100%)
  - Downgrading symfony/framework-bundle (v3.3.18 => v2.8.52): Downloading (connecting...)Downloading (100%)         
  - Downgrading phpdocumentor/reflection-common (2.0.0 => 1.0.1): Downloading (connecting...)Downloading (0%)           Downloading (100%)
  - Downgrading phpdocumentor/type-resolver (1.0.1 => 0.3.0): Downloading (connecting...)Downloading (100%)         
  - Downgrading phpdocumentor/reflection-docblock (4.3.4 => 3.2.2): Downloading (connecting...)Downloading (100%)         
  - Downgrading phpunit/php-token-stream (2.0.2 => 1.4.12): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (100%)
  - Downgrading symfony/yaml (v4.4.5 => v2.8.52): Downloading (connecting...)Downloading (0%)           Downloading (15%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (60%)Downloading (65%)Downloading (80%)Downloading (95%)Downloading (100%)
  - Downgrading sebastian/version (2.0.1 => 1.0.6): Downloading (connecting...)Downloading (0%)           Downloading (100%)
  - Downgrading sebastian/recursion-context (2.0.0 => 1.0.5): Downloading (connecting...)Downloading (0%)           Downloading (35%)Downloading (70%)Downloading (100%)
  - Downgrading sebastian/exporter (2.0.0 => 1.2.2): Downloading (connecting...)Downloading (0%)           Downloading (95%)Downloading (100%)
  - Downgrading sebastian/environment (2.0.0 => 1.3.8): Downloading (connecting...)Downloading (0%)           Downloading (15%)Downloading (30%)Downloading (45%)Downloading (60%)Downloading (75%)Downloading (100%)
  - Downgrading doctrine/instantiator (1.3.0 => 1.0.5): Downloading (connecting...)Downloading (0%)           Downloading (15%)Downloading (30%)Downloading (45%)Downloading (50%)Downloading (65%)Downloading (80%)Downloading (95%)Downloading (100%)
  - Downgrading phpunit/phpunit-mock-objects (3.4.4 => 2.3.8): Downloading (connecting...)Downloading (100%)         
  - Downgrading phpunit/php-code-coverage (4.0.8 => 2.2.4): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
  - Downgrading phpunit/phpunit (5.7.27 => 4.8.36): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
symfony/translation suggests installing psr/log-implementation (To use logging capability in translator)
symfony/templating suggests installing psr/log-implementation (For using debug logging in loaders)
symfony/security-acl suggests installing doctrine/dbal (For using the built-in ACL implementation)
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files

Testing

3 tests got their syntax updated to use PHPUnit 4.8 (compatible with the PHP 5.5). All of them pass now 👍 but haven't manually tested this library.

[ ] This change adds test coverage

[ ] This change has been tested on the latest version of Symfony

Checklist

[x] I have read the Auth0 general contribution guidelines

[x] I have read the Auth0 Code of Conduct

[ ] All existing and new tests complete without errors

lbalmaceda commented 4 years ago

Enforced the min required php version from the composer file. This should fix both CI jobs.