This commit is contained in:
osaajani 2020-02-18 03:09:59 +01:00
parent 6a0e214cc3
commit 9ef2f57a28
4 changed files with 102 additions and 100 deletions

View File

@ -1,4 +1,4 @@
.PHONY: all install composer_install move_dir migrate
.PHONY: all install composer_install move_dir migrate fix
INSTALL_DIR=$(DESTDIR)/opt/raspisms2
ENV=prod
@ -9,20 +9,15 @@ all: install
vendor: composer.phar composer.json
./composer.phar self-update
./composer.phar validate
./composer.phar install
migrate: vendor
vendor/bin/phinx migrate --environment=$(ENV)
move_dir:
mv . $(INSTALL_DIR)
cd $(INSTALL_DIR)
install: move_dir vendor migrate
install: vendor migrate
clean:
@ -31,3 +26,8 @@ clean:
uninstall:
rm -rf .
fix:
tests/php-cs-fixer/run.php fix
tests/phpstan/run.php analyse

View File

@ -1,4 +1,6 @@
{
"name": "raspbianfrance/raspisms",
"description": "A web based GSM messages administration tool.",
"require": {
"ingenerator/tokenista": "^1.1",
"ajani/flash-message": "^2.0",

184
composer.lock generated
View File

@ -1,10 +1,10 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "c1b16bab1d0052b5ccb38c18a08ee0d2",
"content-hash": "1b1b5f13ddfa83488066cef741b3e6aa",
"packages": [
{
"name": "ajani/flash-message",
@ -44,7 +44,7 @@
},
{
"name": "cakephp/cache",
"version": "3.8.8",
"version": "3.8.9",
"source": {
"type": "git",
"url": "https://github.com/cakephp/cache.git",
@ -88,16 +88,16 @@
},
{
"name": "cakephp/collection",
"version": "3.8.8",
"version": "3.8.9",
"source": {
"type": "git",
"url": "https://github.com/cakephp/collection.git",
"reference": "3541cdd1739334fcbe301daed8d6cb9458903fdd"
"reference": "013e9d02552c56d737a6bff91e59544c735efed7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cakephp/collection/zipball/3541cdd1739334fcbe301daed8d6cb9458903fdd",
"reference": "3541cdd1739334fcbe301daed8d6cb9458903fdd",
"url": "https://api.github.com/repos/cakephp/collection/zipball/013e9d02552c56d737a6bff91e59544c735efed7",
"reference": "013e9d02552c56d737a6bff91e59544c735efed7",
"shasum": ""
},
"require": {
@ -130,20 +130,20 @@
"collections",
"iterators"
],
"time": "2019-11-20T00:00:46+00:00"
"time": "2020-01-10T15:24:40+00:00"
},
{
"name": "cakephp/core",
"version": "3.8.8",
"version": "3.8.9",
"source": {
"type": "git",
"url": "https://github.com/cakephp/core.git",
"reference": "e77b155f93fd63d1a944c07f27abc82651377956"
"reference": "16249fa6771663e6649cbdb832f7ff25bf568b84"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cakephp/core/zipball/e77b155f93fd63d1a944c07f27abc82651377956",
"reference": "e77b155f93fd63d1a944c07f27abc82651377956",
"url": "https://api.github.com/repos/cakephp/core/zipball/16249fa6771663e6649cbdb832f7ff25bf568b84",
"reference": "16249fa6771663e6649cbdb832f7ff25bf568b84",
"shasum": ""
},
"require": {
@ -180,20 +180,20 @@
"core",
"framework"
],
"time": "2019-11-19T13:39:32+00:00"
"time": "2020-01-10T15:24:40+00:00"
},
{
"name": "cakephp/database",
"version": "3.8.8",
"version": "3.8.9",
"source": {
"type": "git",
"url": "https://github.com/cakephp/database.git",
"reference": "b0b76f9e5b5703e1d923b001d4ddba13d2392d2e"
"reference": "f52cd444d4f5ef411a3a13f82510badda1d5280e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cakephp/database/zipball/b0b76f9e5b5703e1d923b001d4ddba13d2392d2e",
"reference": "b0b76f9e5b5703e1d923b001d4ddba13d2392d2e",
"url": "https://api.github.com/repos/cakephp/database/zipball/f52cd444d4f5ef411a3a13f82510badda1d5280e",
"reference": "f52cd444d4f5ef411a3a13f82510badda1d5280e",
"shasum": ""
},
"require": {
@ -228,11 +228,11 @@
"database abstraction",
"pdo"
],
"time": "2019-12-22T10:32:04+00:00"
"time": "2020-01-10T15:24:40+00:00"
},
{
"name": "cakephp/datasource",
"version": "3.8.8",
"version": "3.8.9",
"source": {
"type": "git",
"url": "https://github.com/cakephp/datasource.git",
@ -282,16 +282,16 @@
},
{
"name": "cakephp/log",
"version": "3.8.8",
"version": "3.8.9",
"source": {
"type": "git",
"url": "https://github.com/cakephp/log.git",
"reference": "9194c5aebaf30d4e9541e5635fa16f8c373af2f3"
"reference": "2dae5b32430ca89d66c73bd9d568fcf68736eae5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cakephp/log/zipball/9194c5aebaf30d4e9541e5635fa16f8c373af2f3",
"reference": "9194c5aebaf30d4e9541e5635fa16f8c373af2f3",
"url": "https://api.github.com/repos/cakephp/log/zipball/2dae5b32430ca89d66c73bd9d568fcf68736eae5",
"reference": "2dae5b32430ca89d66c73bd9d568fcf68736eae5",
"shasum": ""
},
"require": {
@ -323,20 +323,20 @@
"log",
"logging"
],
"time": "2019-11-20T00:00:46+00:00"
"time": "2020-01-10T15:24:40+00:00"
},
{
"name": "cakephp/utility",
"version": "3.8.8",
"version": "3.8.9",
"source": {
"type": "git",
"url": "https://github.com/cakephp/utility.git",
"reference": "877801dfe21bbb4e1b80a5c623d6dc281824f9e1"
"reference": "71fe6e8b39f3ef0dedd036cbf112a6e84b01759b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cakephp/utility/zipball/877801dfe21bbb4e1b80a5c623d6dc281824f9e1",
"reference": "877801dfe21bbb4e1b80a5c623d6dc281824f9e1",
"url": "https://api.github.com/repos/cakephp/utility/zipball/71fe6e8b39f3ef0dedd036cbf112a6e84b01759b",
"reference": "71fe6e8b39f3ef0dedd036cbf112a6e84b01759b",
"shasum": ""
},
"require": {
@ -376,20 +376,20 @@
"string",
"utility"
],
"time": "2019-12-13T18:04:11+00:00"
"time": "2020-01-10T15:24:40+00:00"
},
{
"name": "giggsey/libphonenumber-for-php",
"version": "8.11.2",
"version": "8.11.4",
"source": {
"type": "git",
"url": "https://github.com/giggsey/libphonenumber-for-php.git",
"reference": "1ec1059b56b40cc1b6b02b438711e4a90ba4bbc7"
"reference": "d429c468fdc8d7b68aefc6f5a2cb7fee0cc26ee9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/giggsey/libphonenumber-for-php/zipball/1ec1059b56b40cc1b6b02b438711e4a90ba4bbc7",
"reference": "1ec1059b56b40cc1b6b02b438711e4a90ba4bbc7",
"url": "https://api.github.com/repos/giggsey/libphonenumber-for-php/zipball/d429c468fdc8d7b68aefc6f5a2cb7fee0cc26ee9",
"reference": "d429c468fdc8d7b68aefc6f5a2cb7fee0cc26ee9",
"shasum": ""
},
"require": {
@ -444,7 +444,7 @@
"phonenumber",
"validation"
],
"time": "2020-01-15T09:35:09+00:00"
"time": "2020-02-12T11:21:37+00:00"
},
{
"name": "giggsey/locale",
@ -1210,16 +1210,16 @@
},
{
"name": "symfony/cache",
"version": "v5.0.2",
"version": "v5.0.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/cache.git",
"reference": "6e8d978878ae5de705ec9fabbb6011cc18776bc9"
"reference": "4572116c640a6bc9fc0047180fe7f9362e5923fc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/cache/zipball/6e8d978878ae5de705ec9fabbb6011cc18776bc9",
"reference": "6e8d978878ae5de705ec9fabbb6011cc18776bc9",
"url": "https://api.github.com/repos/symfony/cache/zipball/4572116c640a6bc9fc0047180fe7f9362e5923fc",
"reference": "4572116c640a6bc9fc0047180fe7f9362e5923fc",
"shasum": ""
},
"require": {
@ -1285,7 +1285,7 @@
"caching",
"psr6"
],
"time": "2019-12-12T13:03:32+00:00"
"time": "2020-01-31T09:13:47+00:00"
},
{
"name": "symfony/cache-contracts",
@ -1347,16 +1347,16 @@
},
{
"name": "symfony/config",
"version": "v5.0.2",
"version": "v5.0.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/config.git",
"reference": "7f930484966350906185ba0a604728f7898b7ba0"
"reference": "7640c6704f56bf64045066bc5d93fd9d664baa63"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/config/zipball/7f930484966350906185ba0a604728f7898b7ba0",
"reference": "7f930484966350906185ba0a604728f7898b7ba0",
"url": "https://api.github.com/repos/symfony/config/zipball/7640c6704f56bf64045066bc5d93fd9d664baa63",
"reference": "7640c6704f56bf64045066bc5d93fd9d664baa63",
"shasum": ""
},
"require": {
@ -1407,20 +1407,20 @@
],
"description": "Symfony Config Component",
"homepage": "https://symfony.com",
"time": "2019-12-18T13:50:31+00:00"
"time": "2020-01-04T14:08:26+00:00"
},
{
"name": "symfony/console",
"version": "v5.0.2",
"version": "v5.0.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "fe6e3cd889ca64172d7a742a2eb058541404ef47"
"reference": "91c294166c38d8c0858a86fad76d8c14dc1144c8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/fe6e3cd889ca64172d7a742a2eb058541404ef47",
"reference": "fe6e3cd889ca64172d7a742a2eb058541404ef47",
"url": "https://api.github.com/repos/symfony/console/zipball/91c294166c38d8c0858a86fad76d8c14dc1144c8",
"reference": "91c294166c38d8c0858a86fad76d8c14dc1144c8",
"shasum": ""
},
"require": {
@ -1483,20 +1483,20 @@
],
"description": "Symfony Console Component",
"homepage": "https://symfony.com",
"time": "2019-12-17T13:20:22+00:00"
"time": "2020-01-25T15:56:29+00:00"
},
{
"name": "symfony/expression-language",
"version": "v5.0.2",
"version": "v5.0.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/expression-language.git",
"reference": "412c7cc679805e78987a18fd5860013238f1daa2"
"reference": "2d5f9596301cd43f7b16ba517bb0b7acdae6b903"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/expression-language/zipball/412c7cc679805e78987a18fd5860013238f1daa2",
"reference": "412c7cc679805e78987a18fd5860013238f1daa2",
"url": "https://api.github.com/repos/symfony/expression-language/zipball/2d5f9596301cd43f7b16ba517bb0b7acdae6b903",
"reference": "2d5f9596301cd43f7b16ba517bb0b7acdae6b903",
"shasum": ""
},
"require": {
@ -1534,20 +1534,20 @@
],
"description": "Symfony ExpressionLanguage Component",
"homepage": "https://symfony.com",
"time": "2019-12-10T11:06:55+00:00"
"time": "2020-01-04T14:08:26+00:00"
},
{
"name": "symfony/filesystem",
"version": "v5.0.2",
"version": "v5.0.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/filesystem.git",
"reference": "1d71f670bc5a07b9ccc97dc44f932177a322d4e6"
"reference": "3afadc0f57cd74f86379d073e694b0f2cda2a88c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/filesystem/zipball/1d71f670bc5a07b9ccc97dc44f932177a322d4e6",
"reference": "1d71f670bc5a07b9ccc97dc44f932177a322d4e6",
"url": "https://api.github.com/repos/symfony/filesystem/zipball/3afadc0f57cd74f86379d073e694b0f2cda2a88c",
"reference": "3afadc0f57cd74f86379d073e694b0f2cda2a88c",
"shasum": ""
},
"require": {
@ -1584,20 +1584,20 @@
],
"description": "Symfony Filesystem Component",
"homepage": "https://symfony.com",
"time": "2019-11-26T23:25:11+00:00"
"time": "2020-01-21T08:40:24+00:00"
},
{
"name": "symfony/polyfill-ctype",
"version": "v1.13.1",
"version": "v1.14.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
"reference": "f8f0b461be3385e56d6de3dbb5a0df24c0c275e3"
"reference": "fbdeaec0df06cf3d51c93de80c7eb76e271f5a38"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/f8f0b461be3385e56d6de3dbb5a0df24c0c275e3",
"reference": "f8f0b461be3385e56d6de3dbb5a0df24c0c275e3",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/fbdeaec0df06cf3d51c93de80c7eb76e271f5a38",
"reference": "fbdeaec0df06cf3d51c93de80c7eb76e271f5a38",
"shasum": ""
},
"require": {
@ -1609,7 +1609,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.13-dev"
"dev-master": "1.14-dev"
}
},
"autoload": {
@ -1642,20 +1642,20 @@
"polyfill",
"portable"
],
"time": "2019-11-27T13:56:44+00:00"
"time": "2020-01-13T11:15:53+00:00"
},
{
"name": "symfony/polyfill-mbstring",
"version": "v1.13.1",
"version": "v1.14.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
"reference": "7b4aab9743c30be783b73de055d24a39cf4b954f"
"reference": "34094cfa9abe1f0f14f48f490772db7a775559f2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7b4aab9743c30be783b73de055d24a39cf4b954f",
"reference": "7b4aab9743c30be783b73de055d24a39cf4b954f",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/34094cfa9abe1f0f14f48f490772db7a775559f2",
"reference": "34094cfa9abe1f0f14f48f490772db7a775559f2",
"shasum": ""
},
"require": {
@ -1667,7 +1667,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.13-dev"
"dev-master": "1.14-dev"
}
},
"autoload": {
@ -1701,20 +1701,20 @@
"portable",
"shim"
],
"time": "2019-11-27T14:18:11+00:00"
"time": "2020-01-13T11:15:53+00:00"
},
{
"name": "symfony/polyfill-php73",
"version": "v1.13.1",
"version": "v1.14.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php73.git",
"reference": "4b0e2222c55a25b4541305a053013d5647d3a25f"
"reference": "5e66a0fa1070bf46bec4bea7962d285108edd675"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/4b0e2222c55a25b4541305a053013d5647d3a25f",
"reference": "4b0e2222c55a25b4541305a053013d5647d3a25f",
"url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/5e66a0fa1070bf46bec4bea7962d285108edd675",
"reference": "5e66a0fa1070bf46bec4bea7962d285108edd675",
"shasum": ""
},
"require": {
@ -1723,7 +1723,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.13-dev"
"dev-master": "1.14-dev"
}
},
"autoload": {
@ -1759,7 +1759,7 @@
"portable",
"shim"
],
"time": "2019-11-27T16:25:15+00:00"
"time": "2020-01-13T11:15:53+00:00"
},
{
"name": "symfony/service-contracts",
@ -1821,16 +1821,16 @@
},
{
"name": "symfony/var-exporter",
"version": "v5.0.2",
"version": "v5.0.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-exporter.git",
"reference": "1b9653e68d5b701bf6d9c91bdd3660078c9f4f28"
"reference": "960f9ac0fdbd642461ed29d7717aeb2a94d428b9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-exporter/zipball/1b9653e68d5b701bf6d9c91bdd3660078c9f4f28",
"reference": "1b9653e68d5b701bf6d9c91bdd3660078c9f4f28",
"url": "https://api.github.com/repos/symfony/var-exporter/zipball/960f9ac0fdbd642461ed29d7717aeb2a94d428b9",
"reference": "960f9ac0fdbd642461ed29d7717aeb2a94d428b9",
"shasum": ""
},
"require": {
@ -1877,20 +1877,20 @@
"instantiate",
"serialize"
],
"time": "2019-12-01T08:48:26+00:00"
"time": "2020-01-04T14:08:26+00:00"
},
{
"name": "symfony/yaml",
"version": "v5.0.2",
"version": "v5.0.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
"reference": "847661e77afa48d99ecfa508e8b60f0b029a19c0"
"reference": "69b44e3b8f90949aee2eb3aa9b86ceeb01cbf62a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/847661e77afa48d99ecfa508e8b60f0b029a19c0",
"reference": "847661e77afa48d99ecfa508e8b60f0b029a19c0",
"url": "https://api.github.com/repos/symfony/yaml/zipball/69b44e3b8f90949aee2eb3aa9b86ceeb01cbf62a",
"reference": "69b44e3b8f90949aee2eb3aa9b86ceeb01cbf62a",
"shasum": ""
},
"require": {
@ -1936,20 +1936,20 @@
],
"description": "Symfony Yaml Component",
"homepage": "https://symfony.com",
"time": "2019-12-10T11:06:55+00:00"
"time": "2020-01-21T11:12:28+00:00"
},
{
"name": "twig/twig",
"version": "v3.0.1",
"version": "v3.0.3",
"source": {
"type": "git",
"url": "https://github.com/twigphp/Twig.git",
"reference": "28f856a4c57eeb24485916e8a68403f41a133616"
"reference": "3b88ccd180a6b61ebb517aea3b1a8906762a1dc2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/28f856a4c57eeb24485916e8a68403f41a133616",
"reference": "28f856a4c57eeb24485916e8a68403f41a133616",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/3b88ccd180a6b61ebb517aea3b1a8906762a1dc2",
"reference": "3b88ccd180a6b61ebb517aea3b1a8906762a1dc2",
"shasum": ""
},
"require": {
@ -1998,7 +1998,7 @@
"keywords": [
"templating"
],
"time": "2019-12-28T07:17:28+00:00"
"time": "2020-02-11T15:33:47+00:00"
}
],
"packages-dev": [],

Binary file not shown.