commit 0acd25a0a4e74bbb430914ea943e31571922a94d Author: Brabli <67018167+Brabli@users.noreply.github.com> Date: Sat Jul 23 17:27:04 2022 +0100 First commit diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..c9dc060 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +# This is the top-most .editorconfig file; do not search in parent directories. +root = true + +# All files. +[*] +end_of_line = LF +indent_style = space +indent_size = 4 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[Makefile] +indent_style = tab diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..88f4427 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.DS_Store +.vscode +/vendor +composer.lock +.phpunit.result.cache +/var diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..d57b734 --- /dev/null +++ b/Containerfile @@ -0,0 +1,7 @@ +FROM php:8.1-alpine + +WORKDIR /code +COPY --from=composer:2 /usr/bin/composer /usr/bin/composer +COPY ./ /code + +RUN composer install diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e69de29 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e8eec65 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +PHP = docker compose run php + +.PHONY: composer_install composer_update static_analysis tests + +composer_install: + @$(PHP) composer install + +composer_update: + @$(PHP) composer update + +static_analysis: + @$(PHP) vendor/bin/psalm + +tests: + @$(PHP) rm -rf var/cache + @$(PHP) vendor/bin/phpunit diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..a8b7778 --- /dev/null +++ b/compose.yml @@ -0,0 +1,7 @@ +services: + php: + build: + context: . + dockerfile: Containerfile + volumes: + - ./:/code diff --git a/config/services.yml b/config/services.yml new file mode 100644 index 0000000..e69de29 diff --git a/src/PcmSkeletonBundle.php b/src/PcmSkeletonBundle.php new file mode 100644 index 0000000..e69de29