Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].

## Unreleased

### Added

- GIBDD region code for `Moscow region` - `977`

## v3.21.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM php:8.0-alpine

ENV COMPOSER_HOME="/tmp/composer"

COPY --from=composer:2.0.7 /usr/bin/composer /usr/bin/composer
COPY --from=composer:2.9.7 /usr/bin/composer /usr/bin/composer

RUN set -x \
&& apk add --no-cache binutils git \
Expand Down
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@ help: ## Show this help
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf " \033[32m%-14s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)

build: ## Build docker images, required for current package environment
docker-compose build
docker compose build

latest: clean ## Install latest php dependencies
docker-compose run $(RUN_APP_ARGS) app composer update -n --ansi --prefer-dist --prefer-stable
docker compose run $(RUN_APP_ARGS) app composer update -n --ansi --prefer-dist --prefer-stable

install: clean ## Install regular php dependencies
docker-compose run $(RUN_APP_ARGS) app composer update -n --prefer-dist --no-interaction
docker compose run $(RUN_APP_ARGS) app composer update -n --prefer-dist --no-interaction

lowest: clean ## Install lowest php dependencies
docker-compose run $(RUN_APP_ARGS) app composer update -n --ansi --prefer-dist --prefer-lowest
docker compose run $(RUN_APP_ARGS) app composer update -n --ansi --prefer-dist --prefer-lowest

test: ## Execute php tests and linters
docker-compose run $(RUN_APP_ARGS) app composer test
docker compose run $(RUN_APP_ARGS) app composer test

test-cover: ## Execute php tests with coverage
docker-compose run --rm --user "0:0" -e 'XDEBUG_MODE=coverage' app sh -c 'docker-php-ext-enable xdebug && su $(shell whoami) -s /bin/sh -c "composer phpunit-cover"'
docker compose run --rm --user "0:0" -e 'XDEBUG_MODE=coverage' app sh -c 'docker-php-ext-enable xdebug && su $(shell whoami) -s /bin/sh -c "composer phpunit-cover"'

shell: ## Start shell into container with php
docker-compose run $(RUN_APP_ARGS) app sh
docker compose run $(RUN_APP_ARGS) app sh

clean: ## Remove all dependencies and unimportant files
-rm -Rf ./composer.lock ./vendor ./sdk/php/coverage
3 changes: 2 additions & 1 deletion data/subject/codes.json
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,8 @@
799,
777,
797,
977
977,
997
],
"code_iso_31662": "RU-MOW"
},
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.2'

volumes:
composer-data:

Expand Down
Loading