<commit_before><?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/zf2 for the canonical source repository
 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace Zend\EventManager;

/**
 * @deprecated Please use EventManagerAwareTrait instead.
 *
 * This trait exists solely for backwards compatibility in the 2.x branch and
 * will likely be removed in 3.x.
 */
trait ProvidesEvents
{
    use EventManagerAwareTrait;
}<commit_msg>[zendframework/zf2#5283] Add E_USER_DEPRECATED error on loading old trait<commit_after><?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/zf2 for the canonical source repository
 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace Zend\EventManager;

trigger_error('Zend\EventManager\ProvidesEvents has been deprecated in favor of Zend\EventManager\EventManagerAwareTrait; please update your code', E_USER_DEPRECATED);

/**
 * @deprecated Please use EventManagerAwareTrait instead.
 *
 * This trait exists solely for backwards compatibility in the 2.x branch and
 * will likely be removed in 3.x.
 */
trait ProvidesEvents
{
    use EventManagerAwareTrait;
}
{'fraction_non_alphanumeric': 0.10786360473208072, 'fraction_numerical': 0.018789144050104383, 'mean_word_length': 4.2290909090909095, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1965768', 'n_tokens_mistral': 457, 'n_tokens_neox': 426, 'n_words': 128}