Skip to content

Commit

Permalink
composer update
Browse files Browse the repository at this point in the history
  • Loading branch information
clxmstaab committed Sep 1, 2022
1 parent a021261 commit 35089ec
Show file tree
Hide file tree
Showing 48 changed files with 1,136 additions and 392 deletions.
2 changes: 1 addition & 1 deletion vendor/composer/autoload_psr4.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
'Spaze\\PHPStan\\Rules\\Disallowed\\' => array($vendorDir . '/spaze/phpstan-disallowed-calls/src'),
'PhpParser\\' => array($vendorDir . '/nikic/php-parser/lib/PhpParser'),
'PHPStan\\PhpDocParser\\' => array($vendorDir . '/phpstan/phpdoc-parser/src'),
'PHPStan\\' => array($vendorDir . '/phpstan/phpstan-deprecation-rules/src', $vendorDir . '/phpstan/phpstan-phpunit/src', $vendorDir . '/phpstan/phpstan-symfony/src', $vendorDir . '/phpstan/phpstan-strict-rules/src'),
'PHPStan\\' => array($vendorDir . '/phpstan/phpstan-deprecation-rules/src', $vendorDir . '/phpstan/phpstan-phpunit/src', $vendorDir . '/phpstan/phpstan-strict-rules/src', $vendorDir . '/phpstan/phpstan-symfony/src'),
'Composer\\Semver\\' => array($vendorDir . '/composer/semver/src'),
);
4 changes: 2 additions & 2 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ class ComposerStaticInit7d28987f5749c840ef9609f53969aebc
array (
0 => __DIR__ . '/..' . '/phpstan/phpstan-deprecation-rules/src',
1 => __DIR__ . '/..' . '/phpstan/phpstan-phpunit/src',
2 => __DIR__ . '/..' . '/phpstan/phpstan-symfony/src',
3 => __DIR__ . '/..' . '/phpstan/phpstan-strict-rules/src',
2 => __DIR__ . '/..' . '/phpstan/phpstan-strict-rules/src',
3 => __DIR__ . '/..' . '/phpstan/phpstan-symfony/src',
),
'Composer\\Semver\\' =>
array (
Expand Down
58 changes: 29 additions & 29 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -451,17 +451,17 @@
},
{
"name": "phpstan/phpstan-strict-rules",
"version": "1.4.0",
"version_normalized": "1.4.0.0",
"version": "1.4.2",
"version_normalized": "1.4.2.0",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan-strict-rules.git",
"reference": "a73b39739b5e165a7a40075ecf05c4385f6c0d1b"
"reference": "4e57160a710dea304fbd1a177ce38edd9b3848db"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/a73b39739b5e165a7a40075ecf05c4385f6c0d1b",
"reference": "a73b39739b5e165a7a40075ecf05c4385f6c0d1b",
"url": "https://api.github.com/repos/phpstan/phpstan-strict-rules/zipball/4e57160a710dea304fbd1a177ce38edd9b3848db",
"reference": "4e57160a710dea304fbd1a177ce38edd9b3848db",
"shasum": ""
},
"require": {
Expand All @@ -474,7 +474,7 @@
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^9.5"
},
"time": "2022-08-23T15:07:03+00:00",
"time": "2022-08-25T15:04:21+00:00",
"type": "phpstan-extension",
"extra": {
"phpstan": {
Expand All @@ -496,23 +496,23 @@
"description": "Extra strict and opinionated rules for PHPStan",
"support": {
"issues": "https://github.com/phpstan/phpstan-strict-rules/issues",
"source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.4.0"
"source": "https://github.com/phpstan/phpstan-strict-rules/tree/1.4.2"
},
"install-path": "../phpstan/phpstan-strict-rules"
},
{
"name": "phpstan/phpstan-symfony",
"version": "1.2.9",
"version_normalized": "1.2.9.0",
"version": "1.2.13",
"version_normalized": "1.2.13.0",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan-symfony.git",
"reference": "f4cb3b8915d3656e780f305f01c86b70ff933272"
"reference": "016e441a19a2af79ca0c60920ba0d61747b4e855"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-symfony/zipball/f4cb3b8915d3656e780f305f01c86b70ff933272",
"reference": "f4cb3b8915d3656e780f305f01c86b70ff933272",
"url": "https://api.github.com/repos/phpstan/phpstan-symfony/zipball/016e441a19a2af79ca0c60920ba0d61747b4e855",
"reference": "016e441a19a2af79ca0c60920ba0d61747b4e855",
"shasum": ""
},
"require": {
Expand All @@ -530,17 +530,17 @@
"phpstan/phpstan-strict-rules": "^1.0",
"phpunit/phpunit": "^9.5",
"psr/container": "1.0 || 1.1.1",
"symfony/config": "^4.2 || ^5.0",
"symfony/console": "^4.0 || ^5.0",
"symfony/dependency-injection": "^4.0 || ^5.0",
"symfony/form": "^4.0 || ^5.0",
"symfony/framework-bundle": "^4.4 || ^5.0",
"symfony/http-foundation": "^5.1",
"symfony/messenger": "^4.2 || ^5.0",
"symfony/config": "^5.4 || ^6.1",
"symfony/console": "^5.4 || ^6.1",
"symfony/dependency-injection": "^5.4 || ^6.1",
"symfony/form": "^5.4 || ^6.1",
"symfony/framework-bundle": "^5.4 || ^6.1",
"symfony/http-foundation": "^5.4 || ^6.1",
"symfony/messenger": "^5.4",
"symfony/polyfill-php80": "^1.24",
"symfony/serializer": "^4.0 || ^5.0"
"symfony/serializer": "^5.4"
},
"time": "2022-08-05T20:13:38+00:00",
"time": "2022-08-28T13:34:45+00:00",
"type": "phpstan-extension",
"extra": {
"phpstan": {
Expand Down Expand Up @@ -570,7 +570,7 @@
"description": "Symfony Framework extensions and rules for PHPStan",
"support": {
"issues": "https://github.com/phpstan/phpstan-symfony/issues",
"source": "https://github.com/phpstan/phpstan-symfony/tree/1.2.9"
"source": "https://github.com/phpstan/phpstan-symfony/tree/1.2.13"
},
"install-path": "../phpstan/phpstan-symfony"
},
Expand Down Expand Up @@ -694,17 +694,17 @@
},
{
"name": "symplify/phpstan-rules",
"version": "11.1.5",
"version_normalized": "11.1.5.0",
"version": "11.1.6",
"version_normalized": "11.1.6.0",
"source": {
"type": "git",
"url": "https://github.com/symplify/phpstan-rules.git",
"reference": "cb053a9ef5997a4957252b666cb3c44d2d5f7572"
"reference": "cdc32e41315225ce96e8aba6814000d965c32592"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symplify/phpstan-rules/zipball/cb053a9ef5997a4957252b666cb3c44d2d5f7572",
"reference": "cb053a9ef5997a4957252b666cb3c44d2d5f7572",
"url": "https://api.github.com/repos/symplify/phpstan-rules/zipball/cdc32e41315225ce96e8aba6814000d965c32592",
"reference": "cdc32e41315225ce96e8aba6814000d965c32592",
"shasum": ""
},
"require": {
Expand All @@ -715,7 +715,7 @@
"phpstan/phpstan": "^1.8.1",
"webmozart/assert": "^1.10"
},
"time": "2022-08-16T08:52:08+00:00",
"time": "2022-08-31T08:14:48+00:00",
"type": "phpstan-extension",
"extra": {
"branch-alias": {
Expand Down Expand Up @@ -745,7 +745,7 @@
],
"description": "Set of Symplify rules for PHPStan",
"support": {
"source": "https://github.com/symplify/phpstan-rules/tree/11.1.5"
"source": "https://github.com/symplify/phpstan-rules/tree/11.1.6"
},
"funding": [
{
Expand Down
22 changes: 11 additions & 11 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '732cce21a1267b93782d93f589e3b6da5d7233ed',
'reference' => 'a021261c6d48d74c96de8f52d6cedcfa3122bcbc',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '732cce21a1267b93782d93f589e3b6da5d7233ed',
'reference' => 'a021261c6d48d74c96de8f52d6cedcfa3122bcbc',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down Expand Up @@ -83,18 +83,18 @@
'dev_requirement' => false,
),
'phpstan/phpstan-strict-rules' => array(
'pretty_version' => '1.4.0',
'version' => '1.4.0.0',
'reference' => 'a73b39739b5e165a7a40075ecf05c4385f6c0d1b',
'pretty_version' => '1.4.2',
'version' => '1.4.2.0',
'reference' => '4e57160a710dea304fbd1a177ce38edd9b3848db',
'type' => 'phpstan-extension',
'install_path' => __DIR__ . '/../phpstan/phpstan-strict-rules',
'aliases' => array(),
'dev_requirement' => false,
),
'phpstan/phpstan-symfony' => array(
'pretty_version' => '1.2.9',
'version' => '1.2.9.0',
'reference' => 'f4cb3b8915d3656e780f305f01c86b70ff933272',
'pretty_version' => '1.2.13',
'version' => '1.2.13.0',
'reference' => '016e441a19a2af79ca0c60920ba0d61747b4e855',
'type' => 'phpstan-extension',
'install_path' => __DIR__ . '/../phpstan/phpstan-symfony',
'aliases' => array(),
Expand All @@ -119,9 +119,9 @@
'dev_requirement' => false,
),
'symplify/phpstan-rules' => array(
'pretty_version' => '11.1.5',
'version' => '11.1.5.0',
'reference' => 'cb053a9ef5997a4957252b666cb3c44d2d5f7572',
'pretty_version' => '11.1.6',
'version' => '11.1.6.0',
'reference' => 'cdc32e41315225ce96e8aba6814000d965c32592',
'type' => 'phpstan-extension',
'install_path' => __DIR__ . '/../symplify/phpstan-rules',
'aliases' => array(),
Expand Down
5 changes: 3 additions & 2 deletions vendor/phpstan/phpstan-strict-rules/rules.neon
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,20 @@ conditionalTags:
phpstan.rules.rule: %strictRules.noVariableVariables%
PHPStan\Rules\VariableVariables\VariableVariablesRule:
phpstan.rules.rule: %strictRules.noVariableVariables%
PHPStan\Rules\VariableVariables\VariablePropertyFetchRule:
phpstan.rules.rule: %strictRules.noVariableVariables%

services:
-
class: PHPStan\Rules\BooleansInConditions\BooleanRuleHelper

-
class: PHPStan\Rules\Operators\OperatorRuleHelper

-
class: PHPStan\Rules\VariableVariables\VariablePropertyFetchRule
arguments:
universalObjectCratesClasses: %universalObjectCratesClasses%
tags:
- phpstan.rules.rule

-
class: PHPStan\Rules\DisallowedConstructs\DisallowedLooseComparisonRule
Expand Down
24 changes: 12 additions & 12 deletions vendor/phpstan/phpstan-symfony/.github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ jobs:
coverage: "none"
php-version: "${{ matrix.php-version }}"

- name: "Downgrade PHPUnit"
if: matrix.php-version == '7.2'
run: "composer require --dev phpunit/phpunit:^8.5.29 --no-update --update-with-dependencies"

- name: "Validate Composer"
run: "composer validate"

- name: "Install dependencies"
run: "composer install --no-interaction --no-progress"

- name: "Downgrade PHPUnit"
if: matrix.php-version == '7.2' || matrix.php-version == '7.3'
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"

- name: "Lint"
run: "make lint"

Expand Down Expand Up @@ -101,6 +101,10 @@ jobs:
coverage: "none"
php-version: "${{ matrix.php-version }}"

- name: "Downgrade PHPUnit"
if: matrix.php-version == '7.2'
run: "composer require --dev phpunit/phpunit:^8.5.29 --no-update --update-with-dependencies"

- name: "Install lowest dependencies"
if: ${{ matrix.dependencies == 'lowest' }}
run: "composer update --prefer-lowest --no-interaction --no-progress"
Expand All @@ -109,10 +113,6 @@ jobs:
if: ${{ matrix.dependencies == 'highest' }}
run: "composer update --no-interaction --no-progress"

- name: "Downgrade PHPUnit"
if: matrix.php-version == '7.2' || matrix.php-version == '7.3'
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"

- name: "Tests"
run: "make tests"

Expand Down Expand Up @@ -146,6 +146,10 @@ jobs:
extensions: mbstring
tools: composer:v2

- name: "Downgrade PHPUnit"
if: matrix.php-version == '7.2'
run: "composer require --dev phpunit/phpunit:^8.5.29 --no-update --update-with-dependencies"

- name: "Install lowest dependencies"
if: ${{ matrix.dependencies == 'lowest' }}
run: "composer update --prefer-lowest --no-interaction --no-progress"
Expand All @@ -154,9 +158,5 @@ jobs:
if: ${{ matrix.dependencies == 'highest' }}
run: "composer update --no-interaction --no-progress"

- name: "Downgrade PHPUnit"
if: matrix.php-version == '7.2' || matrix.php-version == '7.3'
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"

- name: "PHPStan"
run: "make phpstan"
19 changes: 8 additions & 11 deletions vendor/phpstan/phpstan-symfony/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,17 @@
"phpstan/phpstan-strict-rules": "^1.0",
"phpunit/phpunit": "^9.5",
"psr/container": "1.0 || 1.1.1",
"symfony/config": "^4.2 || ^5.0",
"symfony/console": "^4.0 || ^5.0",
"symfony/dependency-injection": "^4.0 || ^5.0",
"symfony/form": "^4.0 || ^5.0",
"symfony/framework-bundle": "^4.4 || ^5.0",
"symfony/http-foundation": "^5.1",
"symfony/messenger": "^4.2 || ^5.0",
"symfony/config": "^5.4 || ^6.1",
"symfony/console": "^5.4 || ^6.1",
"symfony/dependency-injection": "^5.4 || ^6.1",
"symfony/form": "^5.4 || ^6.1",
"symfony/framework-bundle": "^5.4 || ^6.1",
"symfony/http-foundation": "^5.4 || ^6.1",
"symfony/messenger": "^5.4",
"symfony/polyfill-php80": "^1.24",
"symfony/serializer": "^4.0 || ^5.0"
"symfony/serializer": "^5.4"
},
"config": {
"platform": {
"php": "7.4.6"
},
"sort-packages": true
},
"extra": {
Expand Down
12 changes: 11 additions & 1 deletion vendor/phpstan/phpstan-symfony/extension.neon
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@ parameters:
- stubs/Symfony/Component/Console/Command.stub
- stubs/Symfony/Component/Console/Helper/HelperInterface.stub
- stubs/Symfony/Component/Console/Output/OutputInterface.stub
- stubs/Symfony/Component/Form/ChoiceList/Loader/ChoiceLoaderInterface.stub
- stubs/Symfony/Component/DependencyInjection/ContainerBuilder.stub
- stubs/Symfony/Component/DependencyInjection/Extension/ExtensionInterface.stub
- stubs/Symfony/Component/EventDispatcher/EventDispatcherInterface.stub
- stubs/Symfony/Component/EventDispatcher/EventSubscriberInterface.stub
- stubs/Symfony/Component/EventDispatcher/GenericEvent.stub
- stubs/Symfony/Component/Form/ChoiceList/Loader/ChoiceLoaderInterface.stub
- stubs/Symfony/Component/Form/Exception/ExceptionInterface.stub
- stubs/Symfony/Component/Form/Exception/RuntimeException.stub
- stubs/Symfony/Component/Form/Exception/TransformationFailedException.stub
- stubs/Symfony/Component/Form/DataTransformerInterface.stub
- stubs/Symfony/Component/Form/FormBuilderInterface.stub
- stubs/Symfony/Component/Form/FormInterface.stub
Expand Down Expand Up @@ -175,10 +178,17 @@ services:
tags: [phpstan.broker.dynamicMethodReturnTypeExtension]

# InputInterface::getOption() return type
-
factory: PHPStan\Type\Symfony\GetOptionTypeHelper
-
factory: PHPStan\Type\Symfony\InputInterfaceGetOptionDynamicReturnTypeExtension
tags: [phpstan.broker.dynamicMethodReturnTypeExtension]

# InputInterface::getOptions() return type
-
factory: PHPStan\Type\Symfony\InputInterfaceGetOptionsDynamicReturnTypeExtension
tags: [phpstan.broker.dynamicMethodReturnTypeExtension]

# InputInterface::hasOption() type specification
-
factory: PHPStan\Type\Symfony\OptionTypeSpecifyingExtension
Expand Down
Loading

0 comments on commit 35089ec

Please sign in to comment.