Last active
July 31, 2021 18:25
-
-
Save weirdan/69b9f4fe3d0d384295074a42427f7f7a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class T {} | |
abstract class A { | |
/** @param array<int, T> $t */ | |
abstract protected function f(array $t): void; | |
} | |
class B extends A | |
{ | |
/** | |
* @param array<int, T> $t | |
*/ | |
public function f(array $t): void | |
{ | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "vincentlanglet/twig-cs-fixer", | |
"require-dev": { | |
"vimeo/psalm": "dev-master" | |
}, | |
"autoload": { | |
"psr-4": { | |
"": "." | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<psalm xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="https://getpsalm.org/schema/config" | |
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" | |
phpVersion="8.0" | |
> | |
<projectFiles> | |
<file name="B.php" /> | |
<ignoreFiles> | |
<directory name="vendor" /> | |
</ignoreFiles> | |
</projectFiles> | |
</psalm> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment