Skip to content

Commit 35fd177

Browse files
authored
Fixed many errors and added support for renaming indexes (#4)
1 parent 6348406 commit 35fd177

9 files changed

Lines changed: 329 additions & 302 deletions

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.github/ export-ignore
2+
.husky/ export-ignore
23
tests/ export-ignore
34
.envrc export-ignore
45
.gitattributes export-ignore

composer.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,13 @@
5050
"toilal/doctrine-migrations-liquibase": "self.version"
5151
},
5252
"scripts": {
53-
"lint": "psalm --no-cache",
54-
"unittest": "phpunit",
55-
"integration": "behat",
53+
"lint": [
54+
"phpcs --colors",
55+
"psalm --no-cache"
56+
],
57+
"unittest": "phpunit --coverage-text --colors",
58+
"integration": "behat --colors",
5659
"test": [
57-
"phpcs",
5860
"@lint",
5961
"@unittest",
6062
"@integration"

phpunit.xml.dist

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
3-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true">
4-
<coverage processUncoveredFiles="true">
5-
<include>
6-
<directory suffix=".php">src/</directory>
7-
</include>
8-
</coverage>
9-
<testsuites>
10-
<testsuite name="unit">
11-
<directory>./tests/units/src</directory>
12-
</testsuite>
13-
</testsuites>
3+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/12.0/phpunit.xsd"
5+
backupGlobals="false"
6+
colors="true">
7+
<testsuites>
8+
<testsuite name="unit">
9+
<directory>./tests/units/src</directory>
10+
</testsuite>
11+
</testsuites>
12+
13+
<source>
14+
<include>
15+
<directory suffix=".php">src/</directory>
16+
</include>
17+
</source>
1418
</phpunit>

0 commit comments

Comments
 (0)