Skip to content

Commit ea53296

Browse files
authored
Chore/check ci (#4)
* Bump stuff * Bump stuff * Bump stuff * Bump stuff
1 parent 4bd5581 commit ea53296

4 files changed

Lines changed: 15 additions & 8 deletions

File tree

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
version: 2.1
22

33
orbs:
4-
ci-caching: jobcloud/ci-caching@1.0.2
5-
ci-php: jobcloud/ci-php@0.29
4+
ci-caching: jobcloud/ci-caching@3.0
5+
ci-php: jobcloud/ci-php@2.1
66

77
workflows:
88
test-avro-validator:

Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
.PHONY: clean code-style coverage help test test-unit test-integration static-analysis infection-testing install-dependencies update-dependencies
1+
.PHONY: clean fix-code-style code-style coverage help test test-unit test-integration static-analysis infection-testing install-dependencies update-dependencies
22
.DEFAULT_GOAL := help
33

44
PHPSPEC = ./vendor/bin/phpspec run --format dot -vvv -c phpspec.yml
5-
PHPSTAN = ./vendor/bin/phpstan
5+
PHPSTAN = ./vendor/bin/phpstan analyse
66
PHPCS = ./vendor/bin/phpcs --extensions=php
7+
PHPCBF = ./vendor/bin/phpcbf ./src --standard=PSR12
78
INFECTION = ./vendor/bin/infection
89
CONSOLE = ./bin/console
910

@@ -15,7 +16,7 @@ fix-code-style:
1516

1617
code-style:
1718
mkdir -p build/logs/phpcs
18-
${PHPCS}
19+
${PHPCS} --report-junit=build/logs/phpcs/junit.xml
1920

2021
coverage:
2122
mkdir -p build/logs/phpspec/coverage
@@ -33,7 +34,7 @@ infection-testing:
3334
${INFECTION} --test-framework=phpspec --only-covered --coverage=build/logs/phpspec/coverage --min-msi=88 --threads=`nproc`
3435

3536
static-analysis:
36-
${PHPSTAN} analyse src --no-progress
37+
${PHPSTAN} src --no-progress
3738

3839
install-dependencies:
3940
composer install

composer.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,11 @@
2323
"Jobcloud\\Avro\\Validator\\": "src/"
2424
}
2525
},
26-
"bin": ["bin/avro-validator"]
26+
"bin": ["bin/avro-validator"],
27+
"config": {
28+
"allow-plugins": {
29+
"composer/package-versions-deprecated": true,
30+
"infection/extension-installer": true
31+
}
32+
}
2733
}

docker/dev/php/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.3-cli-alpine3.12
1+
FROM php:7.3-cli-alpine3.15
22

33
ARG HOST_USER_ID
44

0 commit comments

Comments
 (0)