diff --git a/Makefile b/Makefile index 7665160..25896de 100644 --- a/Makefile +++ b/Makefile @@ -151,6 +151,9 @@ migrations-php-set-phpstan-paths-in-config: #### Ensure PHPStan config has the e migrations-php-set-phpstan-level-max-in-config: #### Ensure PHPStan config has level set to max in etc/qa/phpstan.neon ##*I*## ($(DOCKER_RUN) php -r '$$phpStanConfigFIle = "etc/qa/phpstan.neon"; $$levelString = "\n\tlevel: max"; if (!file_exists($$phpStanConfigFIle)) {exit;} $$neon = file_get_contents($$phpStanConfigFIle); if (!is_string($$neon)) {exit;} if (strpos($$neon, $$levelString) !== false) {exit;} $$neon = str_replace("parameters:", "parameters:" . $$levelString, $$neon); file_put_contents($$phpStanConfigFIle, $$neon);' || true) +migrations-php-set-phpstan-uncomment-parameters: #### Ensure PHPStan config as parameters not commented out in etc/qa/phpstan.neon ##*I*## + ($(DOCKER_RUN) php -r '$$phpStanConfigFIle = "etc/qa/phpstan.neon"; if (!file_exists($$phpStanConfigFIle)) {exit;} $$neon = file_get_contents($$phpStanConfigFIle); if (!is_string($$neon)) {exit;} if (!str_starts_with($$neon, "#parameters:")) {exit;} $$neon = str_replace("#parameters:", "parameters:", $$neon); file_put_contents($$phpStanConfigFIle, $$neon);' || true) + migrations-github-codeowners: #### Ensure a CODEOWNERS file is present, create only if it doesn't exist yet ##*I*## ($(DOCKER_RUN) php -r '$$codeOwnersFile = ".github/CODEOWNERS"; if (file_exists($$codeOwnersFile)) {exit;} file_put_contents($$codeOwnersFile, "* @WyriHaximus" . PHP_EOL);' || true) diff --git a/composer.json b/composer.json index 310f7e7..7421879 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ }, "require-dev": { "react-parallel/runtime": "^3", - "wyrihaximus/makefiles": "^0.7.7" + "wyrihaximus/makefiles": "^0.7.8" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index 503d69a..b4538de 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": "6d64cdf79e48ebb1aa5bd52456f6d80b", + "content-hash": "c020638f386bb7c9f1600ee0580e06fc", "packages": [ { "name": "azjezz/psl", @@ -9694,16 +9694,16 @@ }, { "name": "wyrihaximus/makefiles", - "version": "0.7.7", + "version": "0.7.8", "source": { "type": "git", "url": "https://github.com/WyriHaximus/Makefiles.git", - "reference": "52360251718d59c27bbaf6a78e0ccbb365af1662" + "reference": "81933813817269f1be55d86789d4d305fb9d0b3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WyriHaximus/Makefiles/zipball/52360251718d59c27bbaf6a78e0ccbb365af1662", - "reference": "52360251718d59c27bbaf6a78e0ccbb365af1662", + "url": "https://api.github.com/repos/WyriHaximus/Makefiles/zipball/81933813817269f1be55d86789d4d305fb9d0b3c", + "reference": "81933813817269f1be55d86789d4d305fb9d0b3c", "shasum": "" }, "require": { @@ -9739,7 +9739,7 @@ "description": "🧱 Makefile building blocks", "support": { "issues": "https://github.com/WyriHaximus/Makefiles/issues", - "source": "https://github.com/WyriHaximus/Makefiles/tree/0.7.7" + "source": "https://github.com/WyriHaximus/Makefiles/tree/0.7.8" }, "funding": [ { @@ -9747,7 +9747,7 @@ "type": "github" } ], - "time": "2025-10-10T07:31:37+00:00" + "time": "2025-10-10T09:26:47+00:00" } ], "aliases": [],