We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 37-47 (lines=11) @@ | ||
| 34 | (new GlobalVariablesPass())->process($container); |
|
| 35 | } |
|
| 36 | ||
| 37 | public function invalidAliasProvider() |
|
| 38 | { |
|
| 39 | return [ |
|
| 40 | [null], |
|
| 41 | [new \stdClass()], |
|
| 42 | [[]], |
|
| 43 | [true], |
|
| 44 | [false], |
|
| 45 | [''], |
|
| 46 | ]; |
|
| 47 | } |
|
| 48 | } |
|
| 49 | ||
| @@ 36-45 (lines=10) @@ | ||
| 33 | ConnectionBuilder::connectionFromPromisedArray($invalidPromise, []); |
|
| 34 | } |
|
| 35 | ||
| 36 | public function invalidPromiseDataProvider() |
|
| 37 | { |
|
| 38 | return [ |
|
| 39 | [new \stdClass()], |
|
| 40 | ['fake'], |
|
| 41 | [['fake']], |
|
| 42 | [false], |
|
| 43 | [true], |
|
| 44 | ]; |
|
| 45 | } |
|
| 46 | ||
| 47 | public function testRespectsASmallerFirstWhenSlicing() |
|
| 48 | { |
|