Skip to content
This repository was archived by the owner on Oct 29, 2025. It is now read-only.

Commit 3875fab

Browse files
committed
WIP
1 parent 932a003 commit 3875fab

File tree

5 files changed

+63
-16
lines changed

5 files changed

+63
-16
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_size = 4
6+
indent_style = space
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.{yml,yaml}]
15+
indent_size = 2

.gitattributes

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Path-based git attributes
2+
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
3+
4+
# Ignore all test and documentation with "export-ignore".
5+
/.github export-ignore
6+
/.gitattributes export-ignore
7+
/.gitignore export-ignore
8+
/phpunit.xml.dist export-ignore
9+
/art export-ignore
10+
/docs export-ignore
11+
/tests export-ignore
12+
/.editorconfig export-ignore
13+
/.php_cs.dist.php export-ignore
14+
/psalm.xml export-ignore
15+
/psalm.xml.dist export-ignore
16+
/testbench.yaml export-ignore
17+
/UPGRADING.md export-ignore
18+
/phpstan.neon.dist export-ignore
19+
/phpstan-baseline.neon export-ignore

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
.idea
2+
.phpunit.result.cache
23
.phpunit.cache
3-
build
44
composer.lock
55
coverage
6-
docs
76
phpunit.xml
87
phpstan.neon
98
testbench.yaml
109
vendor
1110
node_modules
11+
.phpactor.json
12+
build

phpstan.neon.dist

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@ includes:
22
- phpstan-baseline.neon
33

44
parameters:
5-
level: 1
5+
level: 5
66
paths:
77
- src
8+
- config
89
tmpDir: build/phpstan
910
checkOctaneCompatibility: true
1011
checkModelProperties: true
11-
checkMissingIterableValueType: false
12-
ignoreErrors:
13-
# new static() is a best practice in Drupal, so we cannot fix that.
14-
- "#^Unsafe usage of new static#"
15-
12+
noEnvCallsOutsideOfConfig: false

phpunit.xml.dist

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,33 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd"
4-
bootstrap="vendor/autoload.php"
5-
colors="true"
6-
>
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" backupGlobals="false"
4+
bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false"
5+
executionOrder="random" failOnWarning="true" failOnRisky="true" failOnEmptyTestSuite="true"
6+
beStrictAboutOutputDuringTests="true" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
77
<testsuites>
8-
<testsuite name="Test Suite">
9-
<directory suffix="Test.php">./tests</directory>
8+
<testsuite name="codebar Solutions AG Test Suite">
9+
<directory>tests</directory>
1010
</testsuite>
1111
</testsuites>
1212
<coverage>
13+
<report>
14+
<html outputDirectory="build/coverage"/>
15+
<text outputFile="build/coverage.txt"/>
16+
<clover outputFile="build/logs/clover.xml"/>
17+
</report>
18+
</coverage>
19+
<logging>
20+
<junit outputFile="build/report.junit.xml"/>
21+
</logging>
22+
<php>
23+
<env name="APP_KEY" value="base64:F+mHMDBbavrsp/I3WYA5lDSwDJJI/0wQG4eM3csq/lo="/>
24+
<env name="MICROSOFT_PLANNER_CLIENT_ID" value=""/>
25+
<env name="MICROSOFT_PLANNER_TENANT_ID" value=""/>
26+
<env name="MICROSOFT_PLANNER_CLIENT_SECRET" value=""/>
27+
</php>
28+
<source>
1329
<include>
14-
<directory suffix=".php">./app</directory>
1530
<directory suffix=".php">./src</directory>
1631
</include>
17-
</coverage>
32+
</source>
1833
</phpunit>

0 commit comments

Comments
 (0)