protected function composerManifestExists($path, Node $node, Deployment $deployment)
    {
        // In dry run mode, no checkout is there, this we must not assume a composer.json is there!
        if ($deployment->isDryRun()) {
            return false;
        }
        $composerJsonPath = Files::concatenatePaths([$path, 'composer.json']);
        $composerJsonExists = $this->shell->executeOrSimulate('test -f ' . escapeshellarg($composerJsonPath), $node, $deployment, true);
        if ($composerJsonExists === false) {
            $deployment->getLogger()->debug('No composer.json found in path "' . $composerJsonPath . '"');
            return false;
        }

        return true;
    }
protected function composerManifestExists($path, Node $node, Deployment $deployment)
    {
        // In dry run mode, no checkout is there, this we must not assume a composer.json is there!
        if ($deployment->isDryRun()) {
            return false;
        }
        $composerJsonPath = Files::concatenatePaths([$path, 'composer.json']);
        $composerJsonExists = $this->shell->executeOrSimulate('test -f ' . escapeshellarg($composerJsonPath), $node, $deployment, true);
        if ($composerJsonExists === false) {
            $deployment->getLogger()->debug('No composer.json found in path "' . $composerJsonPath . '"');
            return false;
        }

        return true;
    }
protected function composerManifestExists ( $ path , Node $ node , Deployment $ deployment ) { // In dry run mode, no checkout is there, this we must not assume a composer.json is there! if ( $ deployment -> isDryRun ( ) ) { return false ; } $ composerJsonPath = Files :: concatenatePaths ( [ $ path , 'composer.json' ] ) ; $ composerJsonExists = $ this -> shell -> executeOrSimulate ( 'test -f ' . escapeshellarg ( $ composerJsonPath ) , $ node , $ deployment , true ) ; if ( $ composerJsonExists === false ) { $ deployment -> getLogger ( ) -> debug ( 'No composer.json found in path "' . $ composerJsonPath . '"' ) ; return false ; } return true ; }
Checks if a composer manifest exists in the directory at the given path.

If no manifest exists, a log message is recorded.

@param string $path
@param \TYPO3\Surf\Domain\Model\Node $node
@param \TYPO3\Surf\Domain\Model\Deployment $deployment
@return bool
Checks if a composer manifest exists in the directory at the given path .