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

Commit 7babcdf

Browse files
committed
WIP
1 parent aeabf44 commit 7babcdf

File tree

7 files changed

+77
-36
lines changed

7 files changed

+77
-36
lines changed

.gitattributes

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,18 @@
22
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
33

44
# Ignore all test and documentation with "export-ignore".
5+
/.github export-ignore
56
/.gitattributes export-ignore
67
/.gitignore export-ignore
78
/phpunit.xml.dist export-ignore
9+
/art export-ignore
10+
/docs export-ignore
811
/tests export-ignore
912
/.editorconfig export-ignore
10-
/.php_cs.dist export-ignore
11-
/.github 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: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
.DS_Store
21
.idea
32
.phpunit.result.cache
43
.phpunit.cache
5-
build
64
composer.lock
75
coverage
8-
docs
6+
phpunit.xml
7+
phpstan.neon
8+
testbench.yaml
99
vendor
10-
.php_cs.cache
11-
.php-cs-fixer.cache
12-
coverage.xml
10+
node_modules
11+
.phpactor.json
12+
build

.php-cs-fixer.cache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"php":"8.3.12","version":"3.70.0:v3.70.0#2ecd5aae0edc937f0d5aa4a22d1d705c6b2e084e","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces_position":true,"class_definition":true,"constant_case":true,"control_structure_braces":true,"control_structure_continuation_position":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline","keep_multiple_spaces_after_comma":true},"no_break_comment":true,"no_closing_tag":true,"no_multiple_statements_per_line":true,"no_space_around_double_colon":true,"no_spaces_after_function_name":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"single_space_around_construct":{"constructs_followed_by_a_single_space":["abstract","as","case","catch","class","do","else","elseif","final","for","foreach","function","if","interface","namespace","private","protected","public","static","switch","trait","try","use_lambda","while"],"constructs_preceded_by_a_single_space":["as","else","elseif","use_lambda"]},"spaces_inside_parentheses":true,"statement_indentation":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["method","property"]},"encoding":true,"full_opening_tag":true,"array_syntax":{"syntax":"short"},"ordered_imports":{"sort_algorithm":"alpha"},"no_unused_imports":true,"trailing_comma_in_multiline":true,"phpdoc_scalar":true,"unary_operator_spaces":true,"binary_operator_spaces":true,"blank_line_before_statement":{"statements":["break","continue","declare","return","throw","try"]},"phpdoc_single_line_var_spacing":true,"phpdoc_var_without_name":true,"single_trait_insert_per_statement":true,"single_quote":true},"hashes":{"\/private\/var\/folders\/5p\/yjskyj_10tx0k7221hbl8cfh0000gn\/T\/PHP CS Fixertemp_folder2962\/tests\/PrerenderMiddlewareTest.php":"8a57a9fd0dfbbd8568f512e46a19da02","\/private\/var\/folders\/5p\/yjskyj_10tx0k7221hbl8cfh0000gn\/T\/PHP CS Fixertemp_folder4256\/tests\/TestCase.php":"130fb887a0f4e617c71bfbf1d4134e07","\/private\/var\/folders\/5p\/yjskyj_10tx0k7221hbl8cfh0000gn\/T\/PHP CS Fixertemp_folder2007\/tests\/TestCase.php":"130fb887a0f4e617c71bfbf1d4134e07","\/private\/var\/folders\/5p\/yjskyj_10tx0k7221hbl8cfh0000gn\/T\/PHP CS Fixertemp_folder1941\/tests\/Feature\/PrerenderMiddlewareTest.php":"1612783abbae5207c7c3a3ad7e9f6c6e","\/private\/var\/folders\/5p\/yjskyj_10tx0k7221hbl8cfh0000gn\/T\/PHP CS Fixertemp_folder950\/tests\/Feature\/PrerenderMiddlewareTest.php":"1612783abbae5207c7c3a3ad7e9f6c6e","\/private\/var\/folders\/5p\/yjskyj_10tx0k7221hbl8cfh0000gn\/T\/PHP CS Fixertemp_folder293\/tests\/TestCase.php":"79538e1112e25458e40348dc07f2548d","\/private\/var\/folders\/5p\/yjskyj_10tx0k7221hbl8cfh0000gn\/T\/PHP CS Fixertemp_folder4960\/tests\/TestCase.php":"8e3feb5532fb250daa80057c08790904","\/private\/var\/folders\/5p\/yjskyj_10tx0k7221hbl8cfh0000gn\/T\/PHP CS Fixertemp_folder347\/tests\/PrerenderMiddlewareTest.php":"8a57a9fd0dfbbd8568f512e46a19da02","\/private\/var\/folders\/5p\/yjskyj_10tx0k7221hbl8cfh0000gn\/T\/PHP CS Fixertemp_folder3233\/tests\/TestCase.php":"130fb887a0f4e617c71bfbf1d4134e07","\/private\/var\/folders\/5p\/yjskyj_10tx0k7221hbl8cfh0000gn\/T\/PHP CS Fixertemp_folder2210\/tests\/Feature\/PrerenderMiddlewareTest.php":"1612783abbae5207c7c3a3ad7e9f6c6e","\/private\/var\/folders\/5p\/yjskyj_10tx0k7221hbl8cfh0000gn\/T\/PHP CS Fixertemp_folder1934\/tests\/Feature\/PrerenderMiddlewareTest.php":"1612783abbae5207c7c3a3ad7e9f6c6e","\/private\/var\/folders\/5p\/yjskyj_10tx0k7221hbl8cfh0000gn\/T\/PHP CS Fixertemp_folder2796\/tests\/TestCase.php":"8e3feb5532fb250daa80057c08790904","\/private\/var\/folders\/5p\/yjskyj_10tx0k7221hbl8cfh0000gn\/T\/PHP CS Fixertemp_folder4866\/tests\/TestCase.php":"044189bdf2aab76cf9b5cbf6dd03dee7"}}

phpstan-baseline.neon

Whitespace-only changes.

phpstan.neon.dist

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
includes:
3+
- phpstan-baseline.neon
4+
5+
parameters:
6+
level: 5
7+
paths:
8+
- src
9+
- config
10+
tmpDir: build/phpstan
11+
checkOctaneCompatibility: true
12+
checkModelProperties: true
13+
noEnvCallsOutsideOfConfig: false

phpunit.xml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,29 @@
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>
12+
<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+
</php>
1225
<source>
1326
<include>
14-
<directory suffix=".php">./app</directory>
1527
<directory suffix=".php">./src</directory>
1628
</include>
1729
</source>

phpunit.xml.dist

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,30 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" executionOrder="random" failOnWarning="true" failOnRisky="true" beStrictAboutOutputDuringTests="true" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
3-
<testsuites>
4-
<testsuite name="CodebarAg Test Suite">
5-
<directory>tests</directory>
6-
</testsuite>
7-
</testsuites>
8-
<coverage>
9-
<report>
10-
<html outputDirectory="build/coverage"/>
11-
<text outputFile="build/coverage.txt"/>
12-
<clover outputFile="build/logs/clover.xml"/>
13-
</report>
14-
</coverage>
15-
<logging>
16-
<junit outputFile="build/report.junit.xml"/>
17-
</logging>
18-
<source>
19-
<include>
20-
<directory suffix=".php">./src</directory>
21-
</include>
22-
</source>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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">
7+
<testsuites>
8+
<testsuite name="codebar Solutions AG Test Suite">
9+
<directory>tests</directory>
10+
</testsuite>
11+
</testsuites>
12+
<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+
</php>
25+
<source>
26+
<include>
27+
<directory suffix=".php">./src</directory>
28+
</include>
29+
</source>
2330
</phpunit>

0 commit comments

Comments
 (0)