<commit_before><?php
namespace Fumocker\Tests;

use Fumocker\Proxy;

class ProxyTest extends \PHPUnit_Framework_TestCase
{
    public static function provideNotStringTypes()
    {
        return array(
            array(123),
            array(new \stdClass()),
            array(array()),
            array(null),
        );
    }

    public static function provideEmpties()
    {
        return array(
            array(''),
            array('  '),
        );
    }

    public static function provideValidCallbacks()
    {
        $static_method = array(__NAMESPACE__.'\StubMethodCall', 'staticMethod');
        $object_method = array(new StubMethodCall(), 'objectMethod');
        $closure = function() {};
        $function = 'is_callable';

        return array(
              array($static_method),
              array($object_method),
              array($closure),
              array($function),
        );
    }

    public static function provideNoCallableItems()
    {
        return array(
            array('string'),<commit_msg>[proxy] code style<commit_after><?php
namespace Fumocker\Tests;

use Fumocker\Proxy;

class ProxyTest extends \PHPUnit_Framework_TestCase
{
    public static function provideNotStringTypes()
    {
        return array(
            array(123),
            array(new \stdClass()),
            array(array()),
            array(null),
        );
    }

    public static function provideEmpties()
    {
        return array(
            array(''),
            array('  '),
        );
    }

    public static function provideValidCallbacks()
    {
        $static_method = array(__NAMESPACE__.'\StubMethodCall', 'staticMethod');
        $object_method = array(new StubMethodCall(), 'objectMethod');
        $closure = function() {};
        $function = 'is_callable';

        return array(
            array($static_method),
            array($object_method),
            array($closure),
            array($function),
        );
    }

    public static function provideNoCallableItems()
    {
        return array(
            array('string'),
{'fraction_non_alphanumeric': 0.11393011010052657, 'fraction_numerical': 0.0028721876495931067, 'mean_word_length': 1.9478138222849084, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '4493765', 'n_tokens_mistral': 549, 'n_tokens_neox': 539, 'n_words': 113}