Skip to content

Commit

Permalink
[TASK] Rename namespace \\Trait\\ to \\Traits\\, due of consistency w…
Browse files Browse the repository at this point in the history
…ith 11.6.x

The \\Trait\\  namespace is allowed on PHP 8.0+ only.
To avoid confusions between EXT:solr 11.6 and 12.0 the namespace is adjusted to 11.6.x state.

Relates: #3843, #3844
  • Loading branch information
dkd-kaehm committed Nov 9, 2023
1 parent ece1b99 commit b3d5cb7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/EventListener/Extbase/PersistenceEventListener.php
Expand Up @@ -20,7 +20,7 @@
use ApacheSolrForTypo3\Solr\Domain\Index\Queue\UpdateHandler\Events\RecordDeletedEvent;
use ApacheSolrForTypo3\Solr\Domain\Index\Queue\UpdateHandler\Events\RecordGarbageCheckEvent;
use ApacheSolrForTypo3\Solr\Domain\Index\Queue\UpdateHandler\Events\RecordUpdatedEvent;
use ApacheSolrForTypo3\Solr\Trait\SkipMonitoringTrait;
use ApacheSolrForTypo3\Solr\Traits\SkipMonitoringTrait;
use TYPO3\CMS\Core\EventDispatcher\EventDispatcher;
use TYPO3\CMS\Extbase\Event\Persistence\EntityPersistedEvent;
use TYPO3\CMS\Extbase\Event\Persistence\EntityRemovedFromPersistenceEvent;
Expand Down
2 changes: 1 addition & 1 deletion Classes/IndexQueue/RecordMonitor.php
Expand Up @@ -21,7 +21,7 @@
use ApacheSolrForTypo3\Solr\Domain\Index\Queue\UpdateHandler\Events\RecordMovedEvent;
use ApacheSolrForTypo3\Solr\Domain\Index\Queue\UpdateHandler\Events\RecordUpdatedEvent;
use ApacheSolrForTypo3\Solr\Domain\Index\Queue\UpdateHandler\Events\VersionSwappedEvent;
use ApacheSolrForTypo3\Solr\Trait\SkipMonitoringTrait;
use ApacheSolrForTypo3\Solr\Traits\SkipMonitoringTrait;
use ApacheSolrForTypo3\Solr\Util;
use Psr\EventDispatcher\EventDispatcherInterface;
use TYPO3\CMS\Backend\Utility\BackendUtility;
Expand Down
Expand Up @@ -15,7 +15,7 @@
* The TYPO3 project - inspiring people to share!
*/

namespace ApacheSolrForTypo3\Solr\Trait;
namespace ApacheSolrForTypo3\Solr\Traits;

use ApacheSolrForTypo3\Solr\System\Configuration\ExtensionConfiguration;
use TYPO3\CMS\Core\Utility\GeneralUtility;
Expand Down

0 comments on commit b3d5cb7

Please sign in to comment.