Skip to content

Commit

Permalink
Cleanup fix cs and qs
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesbochmann committed Nov 25, 2024
1 parent 93be8b7 commit b35d378
Show file tree
Hide file tree
Showing 115 changed files with 137 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/phpci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- "8.0"
- "8.1"
- "8.2"
- "8.3"

steps:
-
Expand Down Expand Up @@ -74,6 +75,7 @@ jobs:
- "8.0"
- "8.1"
- "8.2"
- "8.3"

steps:
-
Expand Down Expand Up @@ -122,10 +124,18 @@ jobs:
php-version: "7.4"
- typo3-version: "^11.5"
php-version: "8.0"
- typo3-version: "^11.5"
php-version: "8.1"
- typo3-version: "^11.5"
php-version: "8.2"
- typo3-version: "^11.5"
php-version: "8.3"
- typo3-version: "^12.4"
php-version: "8.1"
- typo3-version: "^12.4"
php-version: "8.2"
- typo3-version: "^12.4"
php-version: "8.3"

steps:
-
Expand Down
9 changes: 9 additions & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,14 @@
'no_superfluous_phpdoc_tags' => false,
'fully_qualified_strict_types' => false,
'php_unit_method_casing' => false,
'trailing_comma_in_multiline' => [
'after_heredoc' => true,
// no support for "arguments" and "parameters" as we need support for PHP 7.4
'elements' => [
'array_destructuring',
'arrays',
'match',
],
],
])
->setLineEnding("\n");
1 change: 1 addition & 0 deletions action/class.tx_mksearch_action_AbstractSearch.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions action/class.tx_mksearch_action_ElasticSearch.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions action/class.tx_mksearch_action_Search.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions action/class.tx_mksearch_action_SearchSolr.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@
"@test:phpcompatibility:7.4",
"@test:phpcompatibility:8.0",
"@test:phpcompatibility:8.1",
"@test:phpcompatibility:8.2"
"@test:phpcompatibility:8.2",
"@test:phpcompatibility:8.3"
],
"test:phpcompatibility:7.4": [
"[ -e .Build/bin/phpcs ] || composer update",
Expand All @@ -129,6 +130,10 @@
"[ -e .Build/bin/phpcs ] || composer update",
".Build/bin/phpcs --ignore=.Build/*,/Resources/Public/JavaScript/*,./Resources/Private/PHP/Elastica/Composer/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Indices/Split.php -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.2"
],
"test:phpcompatibility:8.3": [
"[ -e .Build/bin/phpcs ] || composer update",
".Build/bin/phpcs --ignore=.Build/*,/Resources/Public/JavaScript/*,./Resources/Private/PHP/Elastica/Composer/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Indices/Split.php -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.3"
],
"test:phpstan": [
"[ -e .Build/bin/phpstan ] || composer update --ansi",
".Build/bin/phpstan analyse -c phpstan.neon --memory-limit=512M --ansi"
Expand Down
1 change: 1 addition & 0 deletions filter/class.tx_mksearch_filter_ElasticSearchBase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions filter/class.tx_mksearch_filter_IStoreIndex.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions filter/class.tx_mksearch_filter_SolrAutocomplete.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @author Hannes Bochmann
*
Expand Down
1 change: 1 addition & 0 deletions hooks/class.tx_mksearch_hooks_DatabaseConnection.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions hooks/class.tx_mksearch_hooks_EngineZendLucene.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions hooks/class.tx_mksearch_hooks_IndexerAutoUpdate.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions indexer/class.tx_mksearch_indexer_BaseMedia.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions indexer/class.tx_mksearch_indexer_FAL.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions indexer/class.tx_mksearch_indexer_Page.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @author Hannes Bochmann
*
Expand Down
1 change: 1 addition & 0 deletions indexer/class.tx_mksearch_indexer_TtAddressAddress.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions indexer/class.tx_mksearch_indexer_TtContent.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @author Hannes Bochmann <[email protected]>
*
Expand Down
1 change: 1 addition & 0 deletions indexer/class.tx_mksearch_indexer_TxNewsNews.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @author Hannes Bochmann
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @author Hannes Bochmann
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @author Hannes Bochmann
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @author Hannes Bochmann <[email protected]>
*
Expand Down
1 change: 1 addition & 0 deletions interface/class.tx_mksearch_interface_Indexer.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions interface/class.tx_mksearch_interface_IndexerDocument.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions interface/class.tx_mksearch_interface_IndexerField.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions interface/class.tx_mksearch_interface_SearchEngine.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions interface/class.tx_mksearch_interface_SearchHit.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions marker/class.tx_mksearch_marker_CorePage.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions marker/class.tx_mksearch_marker_CoreTtContent.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions marker/class.tx_mksearch_marker_CoreTtNews.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions marker/class.tx_mksearch_marker_Facet.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @author Hannes Bochmann
*
Expand Down
1 change: 1 addition & 0 deletions marker/class.tx_mksearch_marker_General.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions marker/class.tx_mksearch_marker_GroupedFacet.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions marker/class.tx_mksearch_marker_Irfaq.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions marker/class.tx_mksearch_marker_Search.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions marker/class.tx_mksearch_marker_SearchResultSimple.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions mod1/class.tx_mksearch_mod1_Module.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions mod1/decorator/class.tx_mksearch_mod1_decorator_Index.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions model/class.tx_mksearch_model_Facet.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @author Hannes Bochmann
*
Expand Down
1 change: 1 addition & 0 deletions model/class.tx_mksearch_model_IndexerDocumentBase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions model/class.tx_mksearch_model_IndexerFieldBase.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions model/class.tx_mksearch_model_SearchHit.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions model/class.tx_mksearch_model_SolrHit.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions model/class.tx_mksearch_model_Suggestion.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @author Hannes Bochmann
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions model/internal/class.tx_mksearch_model_internal_Config.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions model/internal/class.tx_mksearch_model_internal_Index.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
1 change: 1 addition & 0 deletions scheduler/class.tx_mksearch_scheduler_IndexTask.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/***************************************************************
* Copyright notice
*
Expand Down
Loading

0 comments on commit b35d378

Please sign in to comment.