Skip to content

Commit b69d7ca

Browse files
Merge pull request #8 from codenamephp/update/phpunit10
Update to PHPUnit10
2 parents d09ed26 + 97f5d5f commit b69d7ca

32 files changed

Lines changed: 46603 additions & 51245 deletions

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ updates:
1515
schedule:
1616
interval: "daily"
1717

18+
- package-ecosystem: "docker"
19+
directory: "/"
20+
schedule:
21+
interval: "daily"
22+
1823
- package-ecosystem: "github-actions"
1924
directory: "/"
2025
schedule:

.idea/deployer.flow.iml

Lines changed: 2 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: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.run/Default.run.xml

Lines changed: 0 additions & 14 deletions
This file was deleted.

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,8 @@
5656
"composer-require-checker": "Checks for missing required composer packages",
5757
"infection": "Creates mutation tests to discover missing test coverage",
5858
"ci-all": "Runs all ci tools in sequence"
59+
},
60+
"require-dev": {
61+
"mockery/mockery": "^1.5"
5962
}
6063
}

docker/application/Dockerfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
FROM webdevops/php-dev:8.2
22

33
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer
4-
5-
RUN wget -O phive.phar "https://phar.io/releases/phive.phar" && \
6-
wget -O phive.phar.asc "https://phar.io/releases/phive.phar.asc" && \
7-
gpg --keyserver hkps://keys.openpgp.org --recv-keys 0x6AF725270AB81E04D79442549D8A98B29B2D5D79 && \
8-
gpg --verify phive.phar.asc phive.phar && \
9-
rm phive.phar.asc && \
10-
chmod +x phive.phar && \
11-
mv phive.phar /usr/local/bin/phive && \
12-
mkdir "/home/$APPLICATION_USER/.phive"
4+
COPY --from=phario/phive:0.15.2 /usr/local/bin/phive /usr/local/bin/phive
135

146
# configure services
157
RUN set -x \

phive.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="^9.0.1" installed="9.5.27" location="./tools/phpunit.phar" copy="true"/>
20-
<phar name="psalm" version="^5.0" installed="5.2.0" location="./tools/psalm" copy="true"/>
21-
<phar name="composer-unused" version="^0.8" installed="0.8.5" location="./tools/composer-unused" copy="true"/>
22-
<phar name="composer-require-checker" version="^4.0" installed="4.3.0" location="./tools/composer-require-checker" copy="true"/>
23-
<phar name="infection" version="^0.26" installed="0.26.16" location="./tools/infection" copy="true"/>
19+
<phar name="phpunit" version="^10.0" installed="10.0.16" location="./tools/phpunit.phar" copy="true"/>
20+
<phar name="psalm" version="^5.0" installed="5.8.0" location="./tools/psalm" copy="true"/>
21+
<phar name="composer-unused" version="^0.8" installed="0.8.6" location="./tools/composer-unused" copy="true"/>
22+
<phar name="composer-require-checker" version="^4.0" installed="4.5.0" location="./tools/composer-require-checker" copy="true"/>
23+
<phar name="infection" version="^0.26" installed="0.26.19" location="./tools/infection" copy="true"/>
2424
</phive>

psalm.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
xmlns="https://getpsalm.org/schema/config"
2222
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
2323
cacheDirectory=".cache/psalm"
24+
findUnusedCode="true"
25+
findUnusedBaselineEntry="true"
2426
>
2527
<projectFiles>
2628
<directory name="src"/>

src/command/factory/WithBinaryFromDeployer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php declare(strict_types=1);
22
/*
3-
* Copyright 2022 Bastian Schwarz <bastian@codename-php.de>.
3+
* Copyright 2023 Bastian Schwarz <bastian@codename-php.de>.
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)