Skip to content

Add PhpVersion param on isSmallerThanOrEqual and isGreaterThanOrEqual #17791

Add PhpVersion param on isSmallerThanOrEqual and isGreaterThanOrEqual

Add PhpVersion param on isSmallerThanOrEqual and isGreaterThanOrEqual #17791

Triggered via pull request September 25, 2024 08:57
Status Failure
Total duration 3m 46s
Artifacts 1

static-analysis.yml

on: pull_request
Generate baseline
1m 24s
Generate baseline
Generate PHP baseline
1m 21s
Generate PHP baseline
Matrix: PHPStan with result cache
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

49 errors and 3 warnings
PHPStan with result cache (8.1): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Class PHPStan\Rules\Functions\RandomIntParametersRule constructor invoked with 2 parameters, 3 required.
PHPStan with result cache (8.1): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Parameter #2 $phpVersion of class PHPStan\Rules\Functions\RandomIntParametersRule constructor expects PHPStan\Php\PhpVersion, true given.
PHPStan with result cache (8.1)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Class PHPStan\Rules\Functions\RandomIntParametersRule constructor invoked with 2 parameters, 3 required.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Class PHPStan\Rules\Functions\RandomIntParametersRule constructor invoked with 2 parameters, 3 required.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Parameter #2 $phpVersion of class PHPStan\Rules\Functions\RandomIntParametersRule constructor expects PHPStan\Php\PhpVersion, true given.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Parameter #2 $phpVersion of class PHPStan\Rules\Functions\RandomIntParametersRule constructor expects PHPStan\Php\PhpVersion, true given.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
Generate baseline
Process completed with exit code 1.
PHPStan with result cache (8.2): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Class PHPStan\Rules\Functions\RandomIntParametersRule constructor invoked with 2 parameters, 3 required.
PHPStan with result cache (8.2): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Parameter #2 $phpVersion of class PHPStan\Rules\Functions\RandomIntParametersRule constructor expects PHPStan\Php\PhpVersion, true given.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.3): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Class PHPStan\Rules\Functions\RandomIntParametersRule constructor invoked with 2 parameters, 3 required.
PHPStan with result cache (8.3): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Parameter #2 $phpVersion of class PHPStan\Rules\Functions\RandomIntParametersRule constructor expects PHPStan\Php\PhpVersion, true given.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Class PHPStan\Rules\Functions\RandomIntParametersRule constructor invoked with 2 parameters, 3 required.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Parameter #2 $phpVersion of class PHPStan\Rules\Functions\RandomIntParametersRule constructor expects PHPStan\Php\PhpVersion, true given.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan with result cache (8.4): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Class PHPStan\Rules\Functions\RandomIntParametersRule constructor invoked with 2 parameters, 3 required.
PHPStan with result cache (8.4): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Parameter #2 $phpVersion of class PHPStan\Rules\Functions\RandomIntParametersRule constructor expects PHPStan\Php\PhpVersion, true given.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Class PHPStan\Rules\Functions\RandomIntParametersRule constructor invoked with 2 parameters, 3 required.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Parameter #2 $phpVersion of class PHPStan\Rules\Functions\RandomIntParametersRule constructor expects PHPStan\Php\PhpVersion, true given.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Class PHPStan\Rules\Functions\RandomIntParametersRule constructor invoked with 2 parameters, 3 required.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Parameter #2 $phpVersion of class PHPStan\Rules\Functions\RandomIntParametersRule constructor expects PHPStan\Php\PhpVersion, true given.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Class PHPStan\Rules\Functions\RandomIntParametersRule constructor invoked with 2 parameters, 3 required.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Parameter #2 $phpVersion of class PHPStan\Rules\Functions\RandomIntParametersRule constructor expects PHPStan\Php\PhpVersion, true given.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, windows-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Class PHPStan\Rules\Functions\RandomIntParametersRule constructor invoked with 2 parameters, 3 required.
PHPStan (8.4, windows-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Parameter #2 $phpVersion of class PHPStan\Rules\Functions\RandomIntParametersRule constructor expects PHPStan\Php\PhpVersion, true given.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Class PHPStan\Rules\Functions\RandomIntParametersRule constructor invoked with 2 parameters, 3 required.
PHPStan (8.3, windows-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Parameter #2 $phpVersion of class PHPStan\Rules\Functions\RandomIntParametersRule constructor expects PHPStan\Php\PhpVersion, true given.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Class PHPStan\Rules\Functions\RandomIntParametersRule constructor invoked with 2 parameters, 3 required.
PHPStan (8.2, windows-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Parameter #2 $phpVersion of class PHPStan\Rules\Functions\RandomIntParametersRule constructor expects PHPStan\Php\PhpVersion, true given.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Class PHPStan\Rules\Functions\RandomIntParametersRule constructor invoked with 2 parameters, 3 required.
PHPStan (8.1, windows-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Parameter #2 $phpVersion of class PHPStan\Rules\Functions\RandomIntParametersRule constructor expects PHPStan\Php\PhpVersion, true given.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Class PHPStan\Rules\Functions\RandomIntParametersRule constructor invoked with 2 parameters, 3 required.
PHPStan (8.0, windows-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Parameter #2 $phpVersion of class PHPStan\Rules\Functions\RandomIntParametersRule constructor expects PHPStan\Php\PhpVersion, true given.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Class PHPStan\Rules\Functions\RandomIntParametersRule constructor invoked with 2 parameters, 3 required.
PHPStan (7.4, windows-latest): tests/PHPStan/Rules/Functions/RandomIntParametersRuleTest.php#L17
Parameter #2 $phpVersion of class PHPStan\Rules\Functions\RandomIntParametersRule constructor expects PHPStan\Php\PhpVersion, true given.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPStan (7.4, windows-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "transformed-src". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size Digest
transformed-src Expired
4.15 MB