Skip to content

Commit cd010f3

Browse files
committed
[TASK] Fix TYPO3 coding standards issues after upgrade to v0.5.5
See: https://github.com/TYPO3/coding-standards/releases/tag/v0.5.5
1 parent 94803dc commit cd010f3

File tree

18 files changed

+10
-21
lines changed

18 files changed

+10
-21
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
name: Mount RAMFS
6363
run: |
6464
sudo mkdir -p ${{ env.CI_BUILD_DIRECTORY }}
65-
sudo mount -t tmpfs -o size=2048m none ${{ env.CI_BUILD_DIRECTORY }}
65+
sudo mount -t tmpfs -o size=2560m none ${{ env.CI_BUILD_DIRECTORY }}
6666
sudo mkdir -p ${{ env.CI_BUILD_DIRECTORY }}/data-{solr,mysql,tika-binaries} \
6767
&& sudo chown $USER ${{ env.CI_BUILD_DIRECTORY }}/data-{mysql,tika-binaries} \
6868
&& sudo chown 8983:8983 ${{ env.CI_BUILD_DIRECTORY }}/data-solr

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
*.cache
12
.Build
23
.DS_Store
34
/.buildpath

Classes/Controller/Backend/PreviewController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
*/
3838
class PreviewController
3939
{
40-
4140
/**
4241
* @param ServerRequestInterface $request
4342
* @return string|Response

Classes/Controller/Backend/SolrModule/TikaControlPanelModuleController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
*/
4141
class TikaControlPanelModuleController extends AbstractModuleController
4242
{
43-
4443
/**
4544
* Tika configuration
4645
*

Classes/Process.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
*/
2424
class Process
2525
{
26-
2726
/**
2827
* Process ID
2928
*

Classes/Service/Extractor/TextExtractor.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
*/
3535
class TextExtractor implements TextExtractorInterface
3636
{
37-
3837
/**
3938
* @var array
4039
*/

Classes/Service/File/SizeValidator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
*/
2828
class SizeValidator
2929
{
30-
3130
/**
3231
* @var array
3332
*/

Classes/Service/Tika/AbstractService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ protected function getAdditionalCommandOptions(): string
103103

104104
// Early return if no additional command options are configured
105105
// or configuration does not match required pattern (only -D parameter is supported)
106-
if ('' === $commandOptions || !preg_match_all(self::JAVA_COMMAND_OPTIONS_REGEX, $commandOptions, $matches)) {
106+
if ($commandOptions === '' || !preg_match_all(self::JAVA_COMMAND_OPTIONS_REGEX, $commandOptions, $matches)) {
107107
return '';
108108
}
109109

Classes/Service/Tika/ServerService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function startServer(): void
141141
public function stopServer(): void
142142
{
143143
$pid = $this->getServerPid();
144-
if (null === $pid) {
144+
if ($pid === null) {
145145
return;
146146
}
147147

Classes/Service/Tika/ServiceFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
*/
3131
class ServiceFactory
3232
{
33-
3433
/**
3534
* Creates an instance of a Tika service
3635
*

0 commit comments

Comments
 (0)