title: PHP Fatal error: Class not found
body: <p>I've a very strange issue. In one class "SMSNotifier" I have </p>
  
  <pre><code>require_once (__DIR__ . "/../InvitationNotifier.php");
  [...] 
  class SMSNotifier extends InvitationNotifier {
  [...] 
  }
  </code></pre>
  
  <p>this class is included in another script which is called from the cli. When calling this script I get </p>
  
  <pre><code>PHP Fatal error:  Class 'InvitationNotifier' not found in [...]/include/classi/notifiche/notifiers/SMSNotifier.php on line 12
  </code></pre>
  
  <p>The strange thing is that if I replace the require_once with a require I get instead </p>
  
  <pre><code>PHP Fatal error:  Cannot redeclare class InvitationNotifier in [...]/include/classi/notifiche/InvitationNotifier.php on line 11
  </code></pre>
  
  <p>What could be the issue here? </p>
  
  <p>Thank you in advance for any thought. I've ran out of them...</p>