Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions conf/config.neon
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ parameters:
- ../stubs/arrayFunctions.stub
- ../stubs/core.stub
- ../stubs/typeCheckingFunctions.stub
- ../stubs/openssl.stub
earlyTerminatingMethodCalls: []
earlyTerminatingFunctionCalls: []
memoryLimitFile: %tmpDir%/.memory_limit
Expand Down
13 changes: 13 additions & 0 deletions stubs/openssl.stub
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

/**
* @param-out string $signature
*/
function openssl_sign(

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / Compiler Tests

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan with result cache (8.4)

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan with result cache (8.3)

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, ubuntu-latest)

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan (8.2, ubuntu-latest)

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan (8.4, ubuntu-latest)

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / Integration tests (ubuntu-latest)

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / Integration tests (windows-latest)

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan with result cache (8.2)

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan (8.3, ubuntu-latest)

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan with result cache (8.1)

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, ubuntu-latest)

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan (8.1, windows-latest)

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan (8.4, windows-latest)

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan (8.3, windows-latest)

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan (8.2, windows-latest)

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan (8.0, windows-latest)

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / Result cache E2E tests (cd e2e/bug10449 ../../bin/phpstan analyze git apply patch.diff rm phpstan...

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / Result cache E2E tests (cd e2e/result-cache-2 echo -n > phpstan-baseline.neon ../../bin/phpstan -...

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / Result cache E2E tests (cd e2e/bug-9622 echo -n > phpstan-baseline.neon ../../bin/phpstan -vvv pa...

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / Result cache E2E tests (cd e2e/result-cache-3 echo -n > phpstan-baseline.neon ../../bin/phpstan -...

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / Result cache E2E tests (cd e2e/result-cache-7 echo -n > phpstan-baseline.neon ../../bin/phpstan -...

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / E2E tests (cd e2e/baseline-uninit-prop-trait ../../bin/phpstan analyse --debug --configuration te...

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / Result cache E2E tests (cd e2e/bug-9622-trait echo -n > phpstan-baseline.neon ../../bin/phpstan -...

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / Result cache E2E tests (cd e2e/result-cache-4 echo -n > phpstan-baseline.neon ../../bin/phpstan -...

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / Result cache E2E tests (cd e2e/result-cache-6 echo -n > phpstan-baseline.neon ../../bin/phpstan -...

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / Result cache E2E tests (cd e2e/bug10449b ../../bin/phpstan analyze git apply patch.diff rm phpsta...

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / E2E tests (bin/phpstan analyse e2e/only-files-not-analysed-trait/src -c e2e/only-files-not-analys...

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / Result cache E2E tests (cd e2e/result-cache-5 echo -n > phpstan-baseline.neon ../../bin/phpstan -...

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / Result cache E2E tests (cd e2e/result-cache-8 composer install ../../bin/phpstan echo -en '\n' >>...

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.

Check failure on line 6 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / Result cache E2E tests (cd e2e/result-cache-1 echo -n > phpstan-baseline.neon ../../bin/phpstan -...

Function openssl_sign() has parameter $private_key with no value type specified in iterable type array.
string $data,
string &$signature,
#[\SensitiveParameter] \OpenSSLAsymmetricKey|\OpenSSLCertificate|array|string $private_key,
string|int $algorithm = OPENSSL_ALGO_SHA1

Check failure on line 10 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan (7.4, ubuntu-latest)

Function openssl_sign() uses native union types but they're supported only on PHP 8.0 and later.

Check failure on line 10 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan (7.3, ubuntu-latest)

Function openssl_sign() uses native union types but they're supported only on PHP 8.0 and later.

Check failure on line 10 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan (7.2, ubuntu-latest)

Function openssl_sign() uses native union types but they're supported only on PHP 8.0 and later.

Check failure on line 10 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan (7.3, windows-latest)

Function openssl_sign() uses native union types but they're supported only on PHP 8.0 and later.

Check failure on line 10 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan (7.4, windows-latest)

Function openssl_sign() uses native union types but they're supported only on PHP 8.0 and later.

Check failure on line 10 in stubs/openssl.stub

View workflow job for this annotation

GitHub Actions / PHPStan (7.2, windows-latest)

Function openssl_sign() uses native union types but they're supported only on PHP 8.0 and later.
): bool
{
}
Loading