getTestName(), 'SKIPPED-') !== false) { $this->markTestSkipped(); } $a_stmts = \Psalm\Provider\StatementsProvider::parseStatements($a); $b_stmts = \Psalm\Provider\StatementsProvider::parseStatements($b); $diff = \Psalm\Diff\FileStatementsDiffer::diff($a_stmts, $b_stmts, $a, $b); $this->assertSame( $same_methods, $diff[0] ); $this->assertSame( $same_signatures, $diff[1] ); $this->assertSame(count($diff_map_offsets), count($diff[2])); $found_offsets = array_map( /** * @param array{0: int, 1: int, 2: int, 3: int} $arr * * @return array{0: int, 1: int} */ function (array $arr) { return [$arr[2], $arr[3]]; }, $diff[2] ); $this->assertSame($diff_map_offsets, $found_offsets); } /** * @return array */ public function getChanges() { return [ 'sameFile' => [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ ' [ '