Skip to content

Commit 52cb316

Browse files

File tree

365 files changed

+6005
-2369
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

365 files changed

+6005
-2369
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
pull_request:
66
schedule:
7-
- cron: '40 6 * * *'
7+
- cron: '40 6 * * *'
88

99
jobs:
1010
testsuite:

.phpstorm.meta.php

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717
\In2code\In2publishCore\Component\Core\Record\Model\Record::S_MOVED,
1818
\In2code\In2publishCore\Component\Core\Record\Model\Record::S_SOFT_DELETED,
1919
\In2code\In2publishCore\Component\Core\Record\Model\Record::S_DELETED,
20-
\In2code\In2publishCore\Component\Core\Record\Model\Record::S_UNCHANGED
20+
\In2code\In2publishCore\Component\Core\Record\Model\Record::S_UNCHANGED,
2121
);
2222
expectedReturnValues(
2323
\In2code\In2publishCore\Service\Context\ContextService::getContext(),
2424
\In2code\In2publishCore\Service\Context\ContextService::LOCAL,
25-
\In2code\In2publishCore\Service\Context\ContextService::FOREIGN
25+
\In2code\In2publishCore\Service\Context\ContextService::FOREIGN,
2626
);
2727
expectedReturnValues(
2828
\In2code\In2publishCore\Component\Core\Record\Model\Dependency::getRequirement(),
29-
argumentsSet('DependencyRequirement')
29+
argumentsSet('DependencyRequirement'),
3030
);
3131

3232
override(\Psr\Container\ContainerInterface::get(), type(0));
@@ -37,14 +37,14 @@
3737
\In2code\In2publishCore\Component\Core\PreProcessing\ProcessingResult::__construct(),
3838
0,
3939
\In2code\In2publishCore\Component\Core\PreProcessing\ProcessingResult::COMPATIBLE,
40-
\In2code\In2publishCore\Component\Core\PreProcessing\ProcessingResult::INCOMPATIBLE
40+
\In2code\In2publishCore\Component\Core\PreProcessing\ProcessingResult::INCOMPATIBLE,
4141
);
4242
expectedArguments(
4343
\In2code\In2publishCore\Component\RemoteProcedureCall\Envelope::__construct(),
4444
0,
4545
\In2code\In2publishCore\Component\RemoteProcedureCall\EnvelopeDispatcher::CMD_FOLDER_EXISTS,
4646
\In2code\In2publishCore\Component\RemoteProcedureCall\EnvelopeDispatcher::CMD_FILE_EXISTS,
47-
\In2code\In2publishCore\Component\RemoteProcedureCall\EnvelopeDispatcher::CMD_LIST_FOLDER_CONTENTS
47+
\In2code\In2publishCore\Component\RemoteProcedureCall\EnvelopeDispatcher::CMD_LIST_FOLDER_CONTENTS,
4848
);
4949
expectedArguments(
5050
\In2code\In2publishCore\Component\ConfigContainer\Builder::addNode(),
@@ -55,35 +55,29 @@
5555
\In2code\In2publishCore\Component\ConfigContainer\Node\Node::T_OPTIONAL_ARRAY,
5656
\In2code\In2publishCore\Component\ConfigContainer\Node\Node::T_OPTIONAL_STRING,
5757
\In2code\In2publishCore\Component\ConfigContainer\Node\Node::T_INTEGER,
58-
\In2code\In2publishCore\Component\ConfigContainer\Node\Node::T_BOOLEAN
58+
\In2code\In2publishCore\Component\ConfigContainer\Node\Node::T_BOOLEAN,
5959
);
6060
expectedArguments(
6161
\In2code\In2publishCore\Testing\Data\FalStorageTestSubjectsProvider::getStorages(),
6262
0,
6363
\In2code\In2publishCore\Testing\Data\FalStorageTestSubjectsProvider::PURPOSE_CASE_SENSITIVITY,
6464
\In2code\In2publishCore\Testing\Data\FalStorageTestSubjectsProvider::PURPOSE_DRIVER,
6565
\In2code\In2publishCore\Testing\Data\FalStorageTestSubjectsProvider::PURPOSE_MISSING,
66-
\In2code\In2publishCore\Testing\Data\FalStorageTestSubjectsProvider::PURPOSE_UNIQUE_TARGET
66+
\In2code\In2publishCore\Testing\Data\FalStorageTestSubjectsProvider::PURPOSE_UNIQUE_TARGET,
6767
);
6868
expectedArguments(
6969
\In2code\In2publishCore\Service\Database\RawRecordService::getRawRecord(),
7070
2,
71-
argumentsSet('side')
71+
argumentsSet('side'),
7272
);
7373
expectedArguments(
7474
\In2code\In2publishCore\Service\Database\RawRecordService::fetchRecord(),
7575
2,
76-
argumentsSet('side')
76+
argumentsSet('side'),
7777
);
7878
expectedArguments(
7979
\In2code\In2publishCore\Component\Core\Record\Model\Dependency::__construct(),
8080
3,
81-
argumentsSet('DependencyRequirement')
81+
argumentsSet('DependencyRequirement'),
8282
);
8383
}
84-
85-
86-
87-
88-
89-

.project/qa/phpcs.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0"?>
2-
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd">
2+
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer"
3+
xsi:noNamespaceSchemaLocation="phpcs.xsd">
34
<file>../../Classes</file>
45
<file>../../Tests</file>
56

@@ -8,5 +9,5 @@
89
<arg name="parallel" value="75"/>
910
<arg value="np"/>
1011

11-
<rule ref="PSR12" />
12+
<rule ref="PSR12"/>
1213
</ruleset>

.project/qa/phpmd.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@
77
>
88
<description>PHPMD rules</description>
99

10-
<rule ref="rulesets/codesize.xml" />
10+
<rule ref="rulesets/codesize.xml"/>
1111
<rule ref="rulesets/cleancode.xml">
1212
<exclude name="ElseExpression"/>
1313
<exclude name="StaticAccess"/>
1414
</rule>
1515
<rule ref="rulesets/controversial.xml">
1616
<exclude name="Superglobals"/>
1717
</rule>
18-
<rule ref="rulesets/design.xml" />
18+
<rule ref="rulesets/design.xml"/>
1919
<rule ref="rulesets/naming.xml">
2020
<exclude name="LongVariable"/>
2121
<exclude name="ShortVariable"/>
2222
</rule>
23-
<rule ref="rulesets/unusedcode.xml" />
23+
<rule ref="rulesets/unusedcode.xml"/>
2424

2525
<rule ref="rulesets/cleancode.xml/StaticAccess">
2626
<properties>

.project/qa/psalm.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
<?xml version="1.0"?>
22
<psalm
3-
errorLevel="4"
4-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xmlns="https://getpsalm.org/schema/config"
6-
xsi:schemaLocation="https://getpsalm.org/schema/config"
7-
autoloader="phpstan_bootstrap.php"
3+
errorLevel="4"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xmlns="https://getpsalm.org/schema/config"
6+
xsi:schemaLocation="https://getpsalm.org/schema/config"
7+
autoloader="phpstan_bootstrap.php"
88
>
99
<projectFiles>
10-
<directory name="../../Classes" />
10+
<directory name="../../Classes"/>
1111
<ignoreFiles>
12-
<directory name="../../.Build/" />
12+
<directory name="../../.Build/"/>
1313
</ignoreFiles>
1414
</projectFiles>
1515

1616
<issueHandlers>
1717
<InternalMethod>
1818
<errorLevel type="suppress">
19-
<directory name="../../Classes" />
19+
<directory name="../../Classes"/>
2020
</errorLevel>
2121
</InternalMethod>
2222
<InternalClass>
2323
<errorLevel type="suppress">
24-
<directory name="../../Classes" />
24+
<directory name="../../Classes"/>
2525
</errorLevel>
2626
</InternalClass>
2727
<UndefinedClass>
2828
<errorLevel type="suppress">
29-
<referencedClass name="Spyc" />
30-
<referencedClass name="CoStack\Logs\Controller\LogController" />
29+
<referencedClass name="Spyc"/>
30+
<referencedClass name="CoStack\Logs\Controller\LogController"/>
3131
</errorLevel>
3232
</UndefinedClass>
3333
</issueHandlers>

Build/FunctionalTests.xml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
<phpunit
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
4-
backupGlobals="true"
5-
bootstrap="FunctionalTestsBootstrap.php"
6-
colors="true"
7-
convertErrorsToExceptions="true"
8-
convertWarningsToExceptions="true"
9-
forceCoversAnnotation="false"
10-
stopOnError="false"
11-
stopOnFailure="false"
12-
stopOnIncomplete="false"
13-
stopOnSkipped="false"
14-
verbose="false"
15-
beStrictAboutTestsThatDoNotTestAnything="false"
16-
failOnWarning="true"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
4+
backupGlobals="true"
5+
bootstrap="FunctionalTestsBootstrap.php"
6+
colors="true"
7+
convertErrorsToExceptions="true"
8+
convertWarningsToExceptions="true"
9+
forceCoversAnnotation="false"
10+
stopOnError="false"
11+
stopOnFailure="false"
12+
stopOnIncomplete="false"
13+
stopOnSkipped="false"
14+
verbose="false"
15+
beStrictAboutTestsThatDoNotTestAnything="false"
16+
failOnWarning="true"
1717
>
1818
<testsuites>
1919
<testsuite name="Functional tests">
2020
<directory>../Tests/Functional/</directory>
2121
</testsuite>
2222
</testsuites>
2323
<php>
24-
<const name="TYPO3_MODE" value="BE" />
25-
<ini name="display_errors" value="1" />
26-
<env name="TYPO3_CONTEXT" value="Testing" />
24+
<const name="TYPO3_MODE" value="BE"/>
25+
<ini name="display_errors" value="1"/>
26+
<env name="TYPO3_CONTEXT" value="Testing"/>
2727
</php>
2828
</phpunit>

Build/UnitTests.xml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
<?xml version="1.0"?>
22
<phpunit
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
5-
backupGlobals="true"
6-
bootstrap="UnitTestsBootstrap.php"
7-
colors="true"
8-
convertErrorsToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
convertNoticesToExceptions="true"
11-
forceCoversAnnotation="true"
12-
processIsolation="false"
13-
stopOnError="false"
14-
stopOnFailure="false"
15-
stopOnIncomplete="false"
16-
stopOnSkipped="false"
17-
verbose="false"
18-
beStrictAboutTestsThatDoNotTestAnything="false"
19-
failOnWarning="true"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
5+
backupGlobals="true"
6+
bootstrap="UnitTestsBootstrap.php"
7+
colors="true"
8+
convertErrorsToExceptions="true"
9+
convertWarningsToExceptions="true"
10+
convertNoticesToExceptions="true"
11+
forceCoversAnnotation="true"
12+
processIsolation="false"
13+
stopOnError="false"
14+
stopOnFailure="false"
15+
stopOnIncomplete="false"
16+
stopOnSkipped="false"
17+
verbose="false"
18+
beStrictAboutTestsThatDoNotTestAnything="false"
19+
failOnWarning="true"
2020
>
2121
<testsuites>
2222
<testsuite name="Unit tests">

Build/UnitTestsBootstrap.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@
8282

8383
$cache = new PhpFrontend(
8484
'core',
85-
new NullBackend('production', [])
85+
new NullBackend('production', []),
8686
);
8787

8888
// Set all packages to active
8989
$packageManager = Bootstrap::createPackageManager(
9090
PackageManager::class,
91-
Bootstrap::createPackageCache($cache)
91+
Bootstrap::createPackageCache($cache),
9292
);
9393

9494
GeneralUtility::setSingletonInstance(PackageManager::class, $packageManager);
@@ -128,7 +128,7 @@
128128
$container = $builder->createDependencyInjectionContainer(
129129
$packageManager,
130130
$dependencyInjectionContainerCache,
131-
false
131+
false,
132132
);
133133

134134
// Push the container to GeneralUtility as we want to make sure its

0 commit comments

Comments
 (0)