getPathConflicts() public method

public getPathConflicts ( )
 public function testGetPathConflictsMergesNestedConflicts()
 {
     $this->initDefaultManager();
     $this->rootPackageFile->addPathMapping($mapping1 = new PathMapping('/path', 'override'));
     $this->packageFile1->addPathMapping($mapping2 = new PathMapping('/path', 'resources'));
     // multiple conflicts: /path, /path/config, /path/config/config.yml
     // only /path is reported
     $conflicts = $this->manager->getPathConflicts();
     $this->assertCount(1, $conflicts);
     $this->assertInstanceOf('Puli\\Manager\\Api\\Repository\\PathConflict', $conflicts[0]);
     $this->assertSame(array('vendor/package1' => $mapping2, 'vendor/root' => $mapping1), $conflicts[0]->getMappings());
 }