Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Rename previously created PSR-14 events #3682

Merged
merged 1 commit into from
Jun 6, 2023

Conversation

bmack
Copy link
Collaborator

@bmack bmack commented Jun 5, 2023

New namings:

  • ApacheSolrForTypo3\Solr\Event\Indexing\AfterIndexItemEvent is now called ApacheSolrForTypo3\Solr\Event\Indexing\AfterItemHasBeenIndexedEvent
  • ApacheSolrForTypo3\Solr\Event\Indexing\AfterIndexItemsEvent is now called ApacheSolrForTypo3\Solr\Event\Indexing\AfterItemsHaveBeenIndexedEvent
  • ApacheSolrForTypo3\Solr\Event\Indexing\BeforeIndexItemEvent is now called ApacheSolrForTypo3\Solr\Event\Indexing\BeforeItemIsIndexedEvent
  • ApacheSolrForTypo3\Solr\Event\Indexing\BeforeIndexItemsEvent is now called ApacheSolrForTypo3\Solr\Event\Indexing\BeforeItemsAreIndexedEvent
  • ApacheSolrForTypo3\Solr\Event\Parser\AfterFacetParsedEvent is now called ApacheSolrForTypo3\Solr\Event\Parser\AfterFacedIsParsedEvent
  • ApacheSolrForTypo3\Solr\Event\Routing\PostProcessUriEvent is now called ApacheSolrForTypo3\Solr\Event\Routing\AfterUriIsProcessedEvent
  • ApacheSolrForTypo3\Solr\Event\Routing\BeforeProcessCachedVariablesEvent is now called ApacheSolrForTypo3\Solr\Event\Routing\BeforeCachedVariablesAreProcessedEvent
  • ApacheSolrForTypo3\Solr\Event\Routing\BeforeReplaceVariableInCachedUrlEvent is now called ApacheSolrForTypo3\Solr\Event\Routing\BeforeVariableInCachedUrlAreReplacedEvent
  • ApacheSolrForTypo3\Solr\Event\Search\AfterFrequentlySearchedEvent is now called ApacheSolrForTypo3\Solr\Event\Search\AfterFrequentlySearchHasBeenExecutedEvent
  • ApacheSolrForTypo3\Solr\Event\Search\AfterSearchEvent is now called ApacheSolrForTypo3\Solr\Event\Search\BeforeSearchResultIsShownEvent
  • ApacheSolrForTypo3\Solr\Event\Search\FormEvent is now called ApacheSolrForTypo3\Solr\Event\Search\BeforeSearchFormIsShownEvent

Fixes: #3681

New namings:

* `ApacheSolrForTypo3\Solr\Event\Indexing\AfterIndexItemEvent` is now called `ApacheSolrForTypo3\Solr\Event\Indexing\AfterItemHasBeenIndexedEvent`
* `ApacheSolrForTypo3\Solr\Event\Indexing\AfterIndexItemsEvent` is now called `ApacheSolrForTypo3\Solr\Event\Indexing\AfterItemsHaveBeenIndexedEvent`
* `ApacheSolrForTypo3\Solr\Event\Indexing\BeforeIndexItemEvent` is now called `ApacheSolrForTypo3\Solr\Event\Indexing\BeforeItemIsIndexedEvent`
* `ApacheSolrForTypo3\Solr\Event\Indexing\BeforeIndexItemsEvent` is now called `ApacheSolrForTypo3\Solr\Event\Indexing\BeforeItemsAreIndexedEvent`
* `ApacheSolrForTypo3\Solr\Event\Parser\AfterFacetParsedEvent` is now called `ApacheSolrForTypo3\Solr\Event\Parser\AfterFacetIsParsedEvent`
* `ApacheSolrForTypo3\Solr\Event\Routing\PostProcessUriEvent` is now called `ApacheSolrForTypo3\Solr\Event\Routing\AfterUriIsProcessedEvent`
* `ApacheSolrForTypo3\Solr\Event\Routing\BeforeProcessCachedVariablesEvent` is now called `ApacheSolrForTypo3\Solr\Event\Routing\BeforeCachedVariablesAreProcessedEvent`
* `ApacheSolrForTypo3\Solr\Event\Routing\BeforeReplaceVariableInCachedUrlEvent` is now called `ApacheSolrForTypo3\Solr\Event\Routing\BeforeVariableInCachedUrlAreReplacedEvent`
* `ApacheSolrForTypo3\Solr\Event\Search\AfterFrequentlySearchedEvent` is now called `ApacheSolrForTypo3\Solr\Event\Search\AfterFrequentlySearchHasBeenExecutedEvent`
* `ApacheSolrForTypo3\Solr\Event\Search\AfterSearchEvent` is now called `ApacheSolrForTypo3\Solr\Event\Search\BeforeSearchResultIsShownEvent`
* `ApacheSolrForTypo3\Solr\Event\Search\FormEvent` is now called `ApacheSolrForTypo3\Solr\Event\Search\BeforeSearchFormIsShownEvent`

Documentation has been updated

Fixes: TYPO3-Solr#3681
@bmack bmack force-pushed the pr/unify-event-naming branch from d953ec7 to 1fdf7dd Compare June 6, 2023 09:19
@dkd-kaehm dkd-kaehm merged commit 4c96b41 into TYPO3-Solr:main Jun 6, 2023
@bmack bmack deleted the pr/unify-event-naming branch June 6, 2023 10:28
@dkd-kaehm dkd-kaehm mentioned this pull request Oct 13, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TASK] Unify naming of PSR-14 events
2 participants