Skip to content

Commit 02f40ab

Browse files
author
Bastian Schwarz
committed
Updated phive dependencies, migrated the config, also migrated PHPUnit ad added a config for composer-require-checker to ignore deployer since it comes as phar and well ... will always be required.
1 parent d1abe02 commit 02f40ab

12 files changed

Lines changed: 3975 additions & 1598 deletions

.idea/deployer.secrets.iml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/php.xml

Lines changed: 91 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/phpunit.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phive.xml renamed to .phive/phars.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
~
1717
-->
1818
<phive xmlns="https://phar.io/phive">
19-
<phar name="phpunit" version="^10.0" location="./tools/phpunit.phar" copy="true" installed="10.0.16"/>
20-
<phar name="psalm" version="^5.8" location="./tools/psalm" copy="true" installed="5.8.0"/>
21-
<phar name="composer-unused" version="^0.8.6" location="./tools/composer-unused" copy="true" installed="0.8.6"/>
22-
<phar name="composer-require-checker" version="^4.5" location="./tools/composer-require-checker" copy="true" installed="4.5.0"/>
23-
<phar name="infection" version="^0.26" location="./tools/infection" copy="true" installed="0.26.19"/>
19+
<phar name="phpunit" version="^10.0" location="./tools/phpunit.phar" copy="true" installed="10.1.3"/>
20+
<phar name="psalm" version="^5.8" location="./tools/psalm" copy="true" installed="5.11.0"/>
21+
<phar name="composer-unused" version="^0.8.6" location="./tools/composer-unused" copy="true" installed="0.8.8"/>
22+
<phar name="composer-require-checker" version="^4.5" location="./tools/composer-require-checker" copy="true" installed="4.6.0"/>
23+
<phar name="infection" version="^0.27" location="./tools/infection" copy="true" installed="0.27.0"/>
2424
</phive>

composer-require-checker.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"symbol-whitelist" : [
3+
"Deployer\\Host\\Host"
4+
]
5+
}

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,13 @@
3636
"phpunit": "tools/phpunit.phar -c test/phpunit.dist.xml test/",
3737
"psalm": "tools/psalm --threads=10 --long-progress",
3838
"composer-unused": "tools/composer-unused --no-progress --no-interaction",
39-
"composer-require-checker": "tools/composer-require-checker --no-interaction",
39+
"composer-require-checker": "tools/composer-require-checker --no-interaction --config-file=$(pwd)/composer-require-checker.json",
4040
"infection": "XDEBUG_MODE=coverage tools/infection --min-msi=100 --min-covered-msi=100 --threads=4 --no-progress --show-mutations",
4141
"ci-all": [
4242
"@phpunit",
4343
"@psalm",
4444
"@composer-unused",
45+
"@composer-require-checker",
4546
"@infection"
4647
]
4748
},

test/phpunit.dist.xml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,8 @@
1414
~ See the License for the specific language governing permissions and
1515
~ limitations under the License.
1616
-->
17-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
19-
colors="true"
20-
bootstrap="./bootstrap.php"
21-
cacheDirectory="../.cache/phpunit"
22-
>
23-
<coverage>
24-
<include>
25-
<directory suffix=".php">./../src</directory>
26-
</include>
27-
</coverage>
17+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd" colors="true" bootstrap="./bootstrap.php" cacheDirectory="../.cache/phpunit">
18+
<coverage/>
2819
<testsuites>
2920
<testsuite name="all">
3021
<directory>.</directory>
@@ -33,4 +24,9 @@
3324
<php>
3425
<ini name="date.timezone" value="Europe/Berlin"/>
3526
</php>
27+
<source>
28+
<include>
29+
<directory>./../src</directory>
30+
</include>
31+
</source>
3632
</phpunit>

tools/composer-require-checker

135 Bytes
Binary file not shown.

tools/composer-unused

282 KB
Binary file not shown.

tools/infection

12.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)