public function check(array $scripts, array $rollbacks)
    {
        $this->checkScripts($scripts, $rollbacks);

        foreach ($scripts as $k => $script) {
            $this->checkScript($script, $rollbacks[$k]);
        }

    }
public function check(array $scripts, array $rollbacks)
    {
        $this->checkScripts($scripts, $rollbacks);

        foreach ($scripts as $k => $script) {
            $this->checkScript($script, $rollbacks[$k]);
        }

    }
public function check ( array $ scripts , array $ rollbacks ) { $ this -> checkScripts ( $ scripts , $ rollbacks ) ; foreach ( $ scripts as $ k => $ script ) { $ this -> checkScript ( $ script , $ rollbacks [ $ k ] ) ; } }
Check a release scripts & rollbacks
and each script separately

@param array $scripts
@param array $rollbacks
@throws \RuntimeException
@throws \LogicException
@throws \InvalidArgumentException
Check a release scripts & rollbacks and each script separately