Conversation
ariskataoka
left a comment
There was a problem hiding this comment.
phpcs-scanning skipped
hashes-api-scanning skipped
skipped-files
Maximum number of lines exceeded (25000):
- large-php-file-original.php
Note that the above file(s) were not analyzed due to their length.
ariskataoka
left a comment
There was a problem hiding this comment.
phpcs-scanning skipped
hashes-api-scanning skipped
ariskataoka
left a comment
There was a problem hiding this comment.
phpcs scanning turned up:
🚫 1 error
hashes-api-scanning skipped
| * @return bool | ||
| */ | ||
| function find_my_string( $a, $b ): bool { | ||
| if ( $x = str_contains( $a, $b ) ) { |
There was a problem hiding this comment.
| return $x; | ||
| } | ||
| $result2 = find_my_string('a', 'b'); | ||
| var_dump( $result2 ); |
There was a problem hiding this comment.
| $result = fn( $c ) => $c . php8_fun( $my_super_array[ array_rand( $my_super_array, 1 ) ] ); | ||
|
|
||
| $x = 'x'; | ||
| var_dump( $result($x) ); |
There was a problem hiding this comment.
| public function method(array $a) {} | ||
| } | ||
| class C2 extends C1 { | ||
| public function method(int $a) {} |
There was a problem hiding this comment.
🚫 Error: PHP syntax error: Declaration of C2::method(int $a) must be compatible with C1::method(array $a) (Generic.PHP.Syntax.PHPSyntax).
ariskataoka
left a comment
There was a problem hiding this comment.
hashes-api-scanning skipped
ariskataoka
left a comment
There was a problem hiding this comment.
hashes-api-scanning skipped
No description provided.