diff --git a/composer.json b/composer.json index 9f5404000a1fd2036c2d71f10c05f8b188913d1a..061784234e5ab0b982b47789ef527e30787c9bd4 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,6 @@ "license": "AGPL-3.0-or-later", "require": { "php": "^7.3 || ^8.0", - "brainmaestro/composer-git-hooks": "^2.8", "dbp/relay-auth-bundle": "^0.1.4", "dbp/relay-core-bundle": "^0.1.16", "symfony/apache-pack": "^1.0", @@ -49,12 +48,10 @@ "assets:install %PUBLIC_DIR%": "symfony-cmd" }, "post-install-cmd": [ - "@auto-scripts", - "cghooks add --ignore-lock" + "@auto-scripts" ], "post-update-cmd": [ - "@auto-scripts", - "cghooks update" + "@auto-scripts" ], "test": [ "@php bin/phpunit" @@ -89,11 +86,6 @@ "symfony": { "allow-contrib": false, "require": "^5.2" - }, - "hooks": { - "pre-commit": [ - "composer lint" - ] } }, "require-dev": { diff --git a/composer.lock b/composer.lock index 009f5125913e6cd731a631c44d896b62d272baf3..f6b746cabf377b6d6311e8634dac5557e65d426e 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "24a95e6ee57918bd07e1658f0b0b4ece", + "content-hash": "b646715d59637faff1f4955aa4f64071", "packages": [ { "name": "api-platform/core", @@ -166,79 +166,6 @@ ], "time": "2021-09-29T19:11:04+00:00" }, - { - "name": "brainmaestro/composer-git-hooks", - "version": "v2.8.5", - "source": { - "type": "git", - "url": "https://github.com/BrainMaestro/composer-git-hooks.git", - "reference": "ffed8803690ac12214082120eee3441b00aa390e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/BrainMaestro/composer-git-hooks/zipball/ffed8803690ac12214082120eee3441b00aa390e", - "reference": "ffed8803690ac12214082120eee3441b00aa390e", - "shasum": "" - }, - "require": { - "php": "^5.6 || >=7.0", - "symfony/console": "^3.2 || ^4.0 || ^5.0" - }, - "require-dev": { - "ext-json": "*", - "friendsofphp/php-cs-fixer": "^2.9", - "phpunit/phpunit": "^5.7 || ^7.0" - }, - "bin": [ - "cghooks" - ], - "type": "library", - "extra": { - "hooks": { - "pre-commit": "composer check-style", - "pre-push": [ - "composer test", - "appver=$(grep -o -E '\\d.\\d.\\d' cghooks)", - "tag=$(git describe --tags --abbrev=0)", - "if [ \"$tag\" != \"v$appver\" ]; then", - "echo \"The most recent tag $tag does not match the application version $appver\\n\"", - "tag=${tag#v}", - "sed -i -E \"s/$appver/$tag/\" cghooks", - "exit 1", - "fi" - ] - } - }, - "autoload": { - "psr-4": { - "BrainMaestro\\GitHooks\\": "src/" - }, - "files": [ - "src/helpers.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ezinwa Okpoechi", - "email": "brainmaestro@outlook.com" - } - ], - "description": "Easily manage git hooks in your composer config", - "keywords": [ - "HOOK", - "composer", - "git" - ], - "support": { - "issues": "https://github.com/BrainMaestro/composer-git-hooks/issues", - "source": "https://github.com/BrainMaestro/composer-git-hooks/tree/v2.8.5" - }, - "time": "2021-02-08T15:59:11+00:00" - }, { "name": "brick/math", "version": "0.9.3", @@ -352,11 +279,11 @@ }, { "name": "dbp/relay-core-bundle", - "version": "v0.1.21", + "version": "v0.1.20", "source": { "type": "git", "url": "https://gitlab.tugraz.at/dbp/relay/dbp-relay-core-bundle", - "reference": "f89f53fa7fe19ed211df68e6f6b8fd682de717dc" + "reference": "94264cb880989d8937749a02826e911dd2b819df" }, "require": { "api-platform/core": "^2.6.3", @@ -412,7 +339,7 @@ "license": [ "AGPL-3.0-or-later" ], - "time": "2021-11-04T12:09:56+00:00" + "time": "2021-11-04T11:06:30+00:00" }, { "name": "doctrine/annotations", @@ -7867,16 +7794,16 @@ }, { "name": "nikic/php-parser", - "version": "v4.13.1", + "version": "v4.13.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "63a79e8daa781cac14e5195e63ed8ae231dd10fd" + "reference": "50953a2691a922aa1769461637869a0a2faa3f53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/63a79e8daa781cac14e5195e63ed8ae231dd10fd", - "reference": "63a79e8daa781cac14e5195e63ed8ae231dd10fd", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/50953a2691a922aa1769461637869a0a2faa3f53", + "reference": "50953a2691a922aa1769461637869a0a2faa3f53", "shasum": "" }, "require": { @@ -7917,9 +7844,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.0" }, - "time": "2021-11-03T20:52:16+00:00" + "time": "2021-09-20T12:20:58+00:00" }, { "name": "openlss/lib-array2xml", @@ -8028,16 +7955,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.0.2", + "version": "0.12.99", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "e9e2a501102ba0b126b2f63a7f0a3b151056fe91" + "reference": "b4d40f1d759942f523be267a1bab6884f46ca3f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e9e2a501102ba0b126b2f63a7f0a3b151056fe91", - "reference": "e9e2a501102ba0b126b2f63a7f0a3b151056fe91", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/b4d40f1d759942f523be267a1bab6884f46ca3f7", + "reference": "b4d40f1d759942f523be267a1bab6884f46ca3f7", "shasum": "" }, "require": { @@ -8053,7 +7980,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "0.12-dev" } }, "autoload": { @@ -8068,7 +7995,7 @@ "description": "PHPStan - PHP Static Analysis Tool", "support": { "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/1.0.2" + "source": "https://github.com/phpstan/phpstan/tree/0.12.99" }, "funding": [ { @@ -8088,39 +8015,38 @@ "type": "tidelift" } ], - "time": "2021-11-03T16:09:51+00:00" + "time": "2021-09-12T20:09:55+00:00" }, { "name": "phpstan/phpstan-phpunit", - "version": "1.0.0", + "version": "0.12.22", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-phpunit.git", - "reference": "9eb88c9f689003a8a2a5ae9e010338ee94dc39b3" + "reference": "7c01ef93bf128b4ac8bdad38c54b2a4fd6b0b3cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/9eb88c9f689003a8a2a5ae9e010338ee94dc39b3", - "reference": "9eb88c9f689003a8a2a5ae9e010338ee94dc39b3", + "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/7c01ef93bf128b4ac8bdad38c54b2a4fd6b0b3cc", + "reference": "7c01ef93bf128b4ac8bdad38c54b2a4fd6b0b3cc", "shasum": "" }, "require": { "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^1.0" + "phpstan/phpstan": "^0.12.92" }, "conflict": { "phpunit/phpunit": "<7.0" }, "require-dev": { - "nikic/php-parser": "^4.13.0", "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-strict-rules": "^1.0", + "phpstan/phpstan-strict-rules": "^0.12.6", "phpunit/phpunit": "^9.5" }, "type": "phpstan-extension", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "0.12-dev" }, "phpstan": { "includes": [ @@ -8141,9 +8067,9 @@ "description": "PHPUnit extensions and rules for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-phpunit/issues", - "source": "https://github.com/phpstan/phpstan-phpunit/tree/1.0.0" + "source": "https://github.com/phpstan/phpstan-phpunit/tree/0.12.22" }, - "time": "2021-10-14T08:03:54+00:00" + "time": "2021-08-12T10:53:43+00:00" }, { "name": "sebastian/diff",