@ -75,8 +75,13 @@ trait HaveAccess
$this -> warn ( 'You are connected to a development version of Firefly III.' );
}
if ( str_starts_with ( $reportedVersion , 'branch' )) {
$this -> line ( sprintf ( 'Connected to Firefly III %s' , $reportedVersion ));
$this -> warn ( 'You are connected to a branch version of Firefly III.' );
}
$compare = version_compare ( $reportedVersion , config ( 'importer.minimum_version' ));
if ( - 1 === $compare && ! str_starts_with ( $reportedVersion , 'develop' )) {
if ( - 1 === $compare && ! str_starts_with ( $reportedVersion , 'develop' ) && ! str_starts_with ( $reportedVersion , 'branch' ) ) {
$this -> error ( sprintf ( 'The data importer cannot communicate with Firefly III v%s. Please upgrade to Firefly III v%s or higher.' , $reportedVersion , config ( 'importer.minimum_version' )));
return false ;