<commit_before>import { PropTypes } from 'react';
const { shape, func, array } = PropTypes;

const subscriptionShape = shape({
  componentWillUnmount: func,
  subscriptions: array.isRequired,
  add: func.isRequired,
  removeAll: func.isRequired,
  publish: func.isRequired,
});

export default subscriptionShape;<commit_msg>refactor(propTypes): Removed optional parameter 'componentWillUnmount' from subscriptionShape declar<commit_after>import { PropTypes } from 'react';
const { shape, func, array } = PropTypes;

const subscriptionShape = shape({
  subscriptions: array.isRequired,
  add: func.isRequired,
  removeAll: func.isRequired,
  publish: func.isRequired,
});

export default subscriptionShape;
{'fraction_non_alphanumeric': 0.10354609929078014, 'fraction_numerical': 0.0, 'mean_word_length': 6.204081632653061, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4099804', 'n_tokens_mistral': 195, 'n_tokens_neox': 197, 'n_words': 54}