I see two possible solutions: 1) skip tests if extension is not present 2) add `ext-ftp` to `require-dev` (maybe better)