<commit_before><?php
/* This class is part of the XP framework
 *
 * $Id$
 */

  uses('net.xp_framework.unittest.tests.mock.IComplexInterface');

  /**
   * An abstract class for tests
   *
   * @purpose Mockery tests
   */
  abstract class PartiallyImplementedAbstractDummy extends Object implements IComplexInterface {
    public static function aStaticFunction($param1) { return $param1; }
    /**
     * Constructor
     */
    public function __construct($param1, $param2="default") {

    }

    /**
     * An implementation of the foo method from IComplexInterface.
     * 
     * @return string
     */
    public function foo()  {
      return "IComplexInterface.foo";
    }

    /**
     * Abstract method introduced in this class.
     */
    public abstract function baz($a);

    /**
     * Some non-interface method.
     *
     * @return string
     */
    public function foobar() {
      return "PartiallyImplementedAbstractDummy.foobar";
    }
  }
?><commit_msg>- Coding standards adjustments:   . Apidoc for all methods, including private   . Prefer single-quoted strings over double-quoted   . Remove deprecated @purpose tag<commit_after><?php
/* This class is part of the XP framework
 *
 * $Id$
 */

  uses('net.xp_framework.unittest.tests.mock.IComplexInterface');

  /**
   * An abstract class for tests
   *
   */
  abstract class PartiallyImplementedAbstractDummy extends Object implements IComplexInterface {

    /**
     * Static method
     *
     * @param   var param1
     * @return  var
     */
    public static function aStaticFunction($param1) { 
      return $param1; 
    }

    /**
     * Constructor
     *
     */
    public function __construct($param1, $param2= 'default') {
      // Empty
    }

    /**
     * An implementation of the foo method from IComplexInterface.
     * 
     * @return string
     */
    public function foo()  {
      return 'IComplexInterface.foo';
    }

    /**
     * Abstract method introduced in this class.
     *
     */
    public abstract function baz($a);

    /**
     * Some non-interface method.
     *
     * @return string
     */
    public function foobar() {
      return 'PartiallyImplementedAbstractDummy.foobar';
    }
  }
?>
{'fraction_non_alphanumeric': 0.10645015787099685, 'fraction_numerical': 0.0040595399188092015, 'mean_word_length': 2.300595238095238, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4269392', 'n_tokens_mistral': 650, 'n_tokens_neox': 625, 'n_words': 168}