Skip to content

Commit 8642880

Browse files
committed
Add require checker config & dependabot
1 parent 8d76d1b commit 8642880

File tree

4 files changed

+29
-1
lines changed

4 files changed

+29
-1
lines changed

.dependabot/config.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 1
2+
update_configs:
3+
- package_manager: "php:composer"
4+
directory: "/"
5+
update_schedule: "weekly"
6+
automerged_updates:
7+
- match:
8+
dependency_type: "development"
9+
update_type: "all"
10+
- match:
11+
dependency_type: "production"
12+
update_type: "semver:patch"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ psalm:
2525

2626
.PHONY: test
2727
test:
28-
docker run -it --rm -v${PWD}:/opt/project -w /opt/project php:7.4-pcov tools/phpunit
28+
docker run -it --rm -v${PWD}:/opt/project -w /opt/project php:7.2 tools/phpunit
2929

3030
.PHONY: pre-commit-test
3131
pre-commit-test: test phpcs phpstan psalm

composer-require-config.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"symbol-whitelist" : [
3+
"null", "true", "false",
4+
"static", "self", "parent",
5+
"array", "string", "int", "float", "bool", "iterable", "callable", "void", "object"
6+
],
7+
"php-core-extensions" : [
8+
"Core",
9+
"pcre",
10+
"Reflection",
11+
"tokenizer",
12+
"SPL",
13+
"standard"
14+
]
15+
}

phive.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
<phar name="phpunit" version="^8.4.3" installed="8.4.3" location="./tools/phpunit" copy="true"/>
44
<phar name="phpstan" version="^0.12.1" installed="0.12.2" location="./tools/phpstan" copy="true"/>
55
<phar name="psalm" version="^3.7.2" installed="3.7.2" location="./tools/psalm" copy="true"/>
6+
<phar name="composer-require-checker" version="^1.0.0" installed="1.0.0" location="./tools/composer-require-checker" copy="true"/>
67
</phive>

0 commit comments

Comments
 (0)