Sstalle\php7cc\PathCheckSettings::getCheckedFileExtensions PHP Method

getCheckedFileExtensions() public method

public getCheckedFileExtensions ( ) : array
return array
    public function getCheckedFileExtensions()
    {
        return $this->checkedFileExtensions;
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * @param PathCheckSettings $checkSettings
  */
 public function check(PathCheckSettings $checkSettings)
 {
     $this->visitorResolver->setLevel($checkSettings->getMessageLevel());
     foreach ($this->visitorResolver->resolve() as $visitor) {
         $this->traverser->addVisitor($visitor);
     }
     $this->pathChecker->check($this->pathTraversableFactory->createTraversable($checkSettings->getCheckedPaths(), $checkSettings->getCheckedFileExtensions(), $checkSettings->getExcludedPaths()), $checkSettings->getUseRelativePaths());
 }