From 639efee78a99009a26ab5acb3fcf8ae6a2f83332 Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 27 Apr 2026 18:41:49 +0200 Subject: [PATCH] Add mago. --- composer.json | 5 +++-- composer.lock | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 60 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 718097603d..4959036f86 100644 --- a/composer.json +++ b/composer.json @@ -111,7 +111,9 @@ }, "require-dev": { "barryvdh/laravel-ide-helper": "^3", + "carthage-software/mago": "^1.24.0", "driftingly/rector-laravel": "^2.0", + "ergebnis/phpstan-rules": "^2", "fakerphp/faker": "1.*", "filp/whoops": "2.*", "fruitcake/laravel-debugbar": "^4.0", @@ -124,8 +126,7 @@ "phpstan/phpstan-strict-rules": "^2", "phpunit/phpunit": "^13", "rector/rector": "^2.3", - "thecodingmachine/phpstan-safe-rule": "^1.4", - "ergebnis/phpstan-rules": "^2" + "thecodingmachine/phpstan-safe-rule": "^1.4" }, "replace": { "symfony/polyfill-php54": "*", diff --git a/composer.lock b/composer.lock index 10670f05ce..9613acb16d 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": "4f1f0dcde32d2f02333bd7af2cbc90eb", + "content-hash": "7f960fa15bddd432267fb2bb9b730195", "packages": [ { "name": "bacon/bacon-qr-code", @@ -10093,6 +10093,62 @@ }, "time": "2026-03-05T20:09:01+00:00" }, + { + "name": "carthage-software/mago", + "version": "1.24.0", + "source": { + "type": "git", + "url": "https://github.com/carthage-software/mago.git", + "reference": "ff885e99abe97222bb8b84dc346b59bddbe3a307" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/carthage-software/mago/zipball/ff885e99abe97222bb8b84dc346b59bddbe3a307", + "reference": "ff885e99abe97222bb8b84dc346b59bddbe3a307", + "shasum": "" + }, + "require": { + "php": "~8.1 || ~8.2 || ~8.3 || ~8.4 || ~8.5 || ~8.6" + }, + "suggest": { + "ext-curl": "To show binary download progress" + }, + "bin": [ + "composer/bin/mago" + ], + "type": "library", + "autoload": { + "files": [ + "composer/functions.php", + "composer/internal.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT OR Apache-2.0" + ], + "authors": [ + { + "name": "Saif Eddin Gmati", + "email": "azjezz@carthage.software" + } + ], + "description": "Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.", + "keywords": [ + "dev" + ], + "support": { + "issues": "https://github.com/carthage-software/mago/issues", + "source": "https://github.com/carthage-software/mago/tree/1.24.0" + }, + "funding": [ + { + "url": "https://github.com/azjezz", + "type": "github" + } + ], + "time": "2026-04-22T07:00:59+00:00" + }, { "name": "cloudcreativity/json-api-testing", "version": "v6.4.0",