title: DoctrineExtensions looking in wrong directory
body: <p>I'm using Doctrine ORM in my PHP project.</p>
  
  <p>In one of my queries I'm using the 'COS' (cosine) and 'SIN' (sine) functions, in order to make this possible on Doctrine I have to add this to my entitymanager configuration:</p>
  
  <pre><code>$config-&gt;addCustomNumericFunction('COS', 'DoctrineExtensions\Query\Mysql\cos');
  $config-&gt;addCustomNumericFunction('SIN', 'DoctrineExtensions\Query\Mysql\sin');
  </code></pre>
  
  <p>This works fine when I run it on my local PC + server.</p>
  
  <p>But once I put the project on the online webserver I'm facing with these errors:</p>
  
  <pre><code>Fatal error: Class 'DoctrineExtensions\Query\Mysql\cos' not found in /home/USER/domains/USER.com/public_html/MYDIRECTORY/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php on line 3418
  
  Fatal error: Class 'DoctrineExtensions\Query\Mysql\sin' not found in /home/USER/domains/USER.com/public_html/MYDIRECTORY/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php on line 3418
  </code></pre>
  
  <p>It's looking in the 'vendor\doctrine' directory instead of the 'vendor\beberlei\DoctrineExtensions' directory.</p>
  
  <p>My composer contains:</p>
  
  <pre><code>"beberlei/DoctrineExtensions": "dev-master"
  </code></pre>
  
  <p>And the vendor autoloader contains:</p>
  
  <pre><code>'DoctrineExtensions\\' =&gt; array($vendorDir . '/beberlei/DoctrineExtensions/src')
  </code></pre>
  
  <p>Can anyone explain this to me... I tried adding a classloader, but still the same problem. </p>
  
  <p>Localhost is working fine...</p>