mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	PHP 5.3 does not support "[]" brackets.
This commit is contained in:
		
							parent
							
								
									642773b5af
								
							
						
					
					
						commit
						4c719f5efd
					
				@ -58,13 +58,13 @@ class LinkSharedFilesTask extends AbstractTask implements IsReleaseAware
 | 
			
		||||
     */
 | 
			
		||||
    public function run()
 | 
			
		||||
    {
 | 
			
		||||
        $linkedFiles = $this->getParameter('linked_files', []);
 | 
			
		||||
        $linkedFolders = $this->getParameter(self::LINKED_FOLDERS, []);
 | 
			
		||||
        $linkedFiles = $this->getParameter('linked_files', array());
 | 
			
		||||
        $linkedFolders = $this->getParameter(self::LINKED_FOLDERS, array());
 | 
			
		||||
        $linkingStrategy = $this->getParameter(self::LINKED_STRATEGY, self::ABSOLUTE_LINKING);
 | 
			
		||||
 | 
			
		||||
        $linkedEntities = array_merge($linkedFiles, $linkedFolders);
 | 
			
		||||
 | 
			
		||||
        if (sizeof($linkedFiles) == 0 && sizeof($linkedFolders) == 0) {
 | 
			
		||||
        if (empty($linkedFiles) && empty($linkedFolders)) {
 | 
			
		||||
            throw new SkipException('No files and folders configured for sym-linking.');
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user