title: Deployer - Fatal error: Call to undefined function server()
body: <blockquote>
    <p>Deployer version 4.1.0</p>
  </blockquote>
  
  <p>When running <code>dep deploy test</code> the following error is reported:</p>
  
  <blockquote>
    <p>PHP Fatal error: Call to undefined function server()</p>
  </blockquote>
  
  <p>server ftn is defined as follows in config file:</p>
  
  <pre><code>// Configure servers
  server('test', 'test.server.com')
      -&gt;user('user')
      -&gt;identityFile('~/.ssh/id.pub', '~/.ssh/user', 'password')
      -&gt;stage("test")
      -&gt;env('deploy_path', '/var/www/project.com');  
  </code></pre>
  
  <p>This is pretty much the standard as per the <a href="https://deployer.org/docs/servers" rel="nofollow noreferrer">Deployer site</a>. Has anyone else experienced this issue? If so how did you resolve it?</p>