projects/packages/changelogger/src/ValidateCommand.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 200-205 (lines=6) @@ | 
                                                            
                                    | 197 |  | 		$files = $input->getArgument( 'files' ); | 
                                                            
                                    | 198 |  | 		if ( ! $files ) { | 
                                                            
                                    | 199 |  | 			$files = array(); | 
                                                            
                                    | 200 |  | 			foreach ( new \DirectoryIterator( Config::changesDir() ) as $file ) { | 
                                                            
                                    | 201 |  | 				$name = $file->getBasename(); | 
                                                            
                                    | 202 |  | 				if ( '.' !== $name[0] ) { | 
                                                            
                                    | 203 |  | 					$files[] = $file->getPathname(); | 
                                                            
                                    | 204 |  | 				} | 
                                                            
                                    | 205 |  | 			} | 
                                                            
                                    | 206 |  | 			sort( $files ); | 
                                                            
                                    | 207 |  | 		} | 
                                                            
                                    | 208 |  |  | 
                                                                        
                 
                                                            
                    
projects/packages/changelogger/src/Utils.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 200-205 (lines=6) @@ | 
                                                            
                                    | 197 |  | 		$ret         = array(); | 
                                                            
                                    | 198 |  |  | 
                                                            
                                    | 199 |  | 		$allFiles = array(); | 
                                                            
                                    | 200 |  | 		foreach ( new \DirectoryIterator( $dir ) as $file ) { | 
                                                            
                                    | 201 |  | 			$name = $file->getBasename(); | 
                                                            
                                    | 202 |  | 			if ( '.' !== $name[0] ) { | 
                                                            
                                    | 203 |  | 				$allFiles[ $name ] = $file->getPathname(); | 
                                                            
                                    | 204 |  | 			} | 
                                                            
                                    | 205 |  | 		} | 
                                                            
                                    | 206 |  | 		asort( $allFiles ); | 
                                                            
                                    | 207 |  | 		foreach ( $allFiles as $name => $path ) { | 
                                                            
                                    | 208 |  | 			$diagnostics    = null; |