Stand: SMTP-Test, Admin-Mail-Tab, Notifiable-Fix, Lazy-Quill
- Fix: Notifiable-Trait zum User-Model hinzugefuegt (behebt notify()-500er) - Installer: SMTP-Verbindungstest mit EsmtpTransport + Ueberspringen-Link - Admin: Neuer E-Mail-Tab mit SMTP-Konfiguration + Verbindungstest - Admin: Lazy Quill-Initialisierung (nur sichtbare Locale wird geladen) - Uebersetzungen: 17 neue Mail-Keys in allen 6 Sprachen Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
21
vendor/laravel/pint/LICENSE.md
vendored
Executable file
21
vendor/laravel/pint/LICENSE.md
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) Taylor Otwell
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
BIN
vendor/laravel/pint/builds/pint
vendored
Executable file
BIN
vendor/laravel/pint/builds/pint
vendored
Executable file
Binary file not shown.
61
vendor/laravel/pint/composer.json
vendored
Executable file
61
vendor/laravel/pint/composer.json
vendored
Executable file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"name": "laravel/pint",
|
||||
"description": "An opinionated code formatter for PHP.",
|
||||
"keywords": ["php", "format", "formatter", "lint", "linter", "dev"],
|
||||
"homepage": "https://laravel.com",
|
||||
"type": "project",
|
||||
"license": "MIT",
|
||||
"support": {
|
||||
"issues": "https://github.com/laravel/pint/issues",
|
||||
"source": "https://github.com/laravel/pint"
|
||||
},
|
||||
"authors": [
|
||||
{
|
||||
"name": "Nuno Maduro",
|
||||
"email": "enunomaduro@gmail.com"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": "^8.2.0",
|
||||
"ext-json": "*",
|
||||
"ext-mbstring": "*",
|
||||
"ext-tokenizer": "*",
|
||||
"ext-xml": "*"
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "^3.93.1",
|
||||
"illuminate/view": "^12.51.0",
|
||||
"larastan/larastan": "^3.9.2",
|
||||
"laravel-zero/framework": "^12.0.5",
|
||||
"mockery/mockery": "^1.6.12",
|
||||
"nunomaduro/termwind": "^2.3.3",
|
||||
"pestphp/pest": "^3.8.5"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"App\\": "app/",
|
||||
"Database\\Factories\\": "database/factories/",
|
||||
"Database\\Seeders\\": "database/seeders/"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"Scripts\\": "scripts/",
|
||||
"Tests\\": "tests/"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"preferred-install": "dist",
|
||||
"sort-packages": true,
|
||||
"optimize-autoloader": true,
|
||||
"platform": {
|
||||
"php": "8.2.0"
|
||||
},
|
||||
"allow-plugins": {
|
||||
"pestphp/pest-plugin": true
|
||||
}
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true,
|
||||
"bin": ["builds/pint"]
|
||||
}
|
||||
122
vendor/laravel/pint/overrides/Runner/Parallel/ProcessFactory.php
vendored
Executable file
122
vendor/laravel/pint/overrides/Runner/Parallel/ProcessFactory.php
vendored
Executable file
@@ -0,0 +1,122 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* This file is part of PHP CS Fixer.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
|
||||
*
|
||||
* This source file is subject to the MIT license that is bundled
|
||||
* with this source code in the file LICENSE.
|
||||
*/
|
||||
|
||||
namespace PhpCsFixer\Runner\Parallel;
|
||||
|
||||
/**
|
||||
* Copyright (c) 2012+ Fabien Potencier, Dariusz Rumiński
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is furnished
|
||||
* to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
use Illuminate\Support\ProcessUtils;
|
||||
use PhpCsFixer\Runner\RunnerConfig;
|
||||
use React\EventLoop\LoopInterface;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Process\PhpExecutableFinder;
|
||||
|
||||
/**
|
||||
* This overrides the default "ProcessFactory" to allow for
|
||||
* customization of the command-line arguments that better
|
||||
* suit the needs of the laravel pint package.
|
||||
*
|
||||
* @author Greg Korba <greg@codito.dev>
|
||||
*
|
||||
* @readonly
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
final class ProcessFactory
|
||||
{
|
||||
public function create(
|
||||
LoopInterface $loop,
|
||||
InputInterface $input,
|
||||
RunnerConfig $runnerConfig,
|
||||
ProcessIdentifier $identifier,
|
||||
int $serverPort
|
||||
): Process {
|
||||
$commandArgs = $this->getCommandArgs($serverPort, $identifier, $input, $runnerConfig);
|
||||
|
||||
return new Process(
|
||||
implode(' ', $commandArgs),
|
||||
$loop,
|
||||
$runnerConfig->getParallelConfig()->getProcessTimeout()
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
*
|
||||
* @return list<string>
|
||||
*/
|
||||
public function getCommandArgs(int $serverPort, ProcessIdentifier $identifier, InputInterface $input, RunnerConfig $runnerConfig): array
|
||||
{
|
||||
$phpBinary = (new PhpExecutableFinder)->find(false);
|
||||
|
||||
if ($phpBinary === false) {
|
||||
throw new ParallelisationException('Cannot find PHP executable.');
|
||||
}
|
||||
|
||||
$mainScript = $_SERVER['argv'][0];
|
||||
|
||||
$commandArgs = [
|
||||
ProcessUtils::escapeArgument($phpBinary),
|
||||
ProcessUtils::escapeArgument($mainScript),
|
||||
'worker',
|
||||
'--port',
|
||||
(string) $serverPort,
|
||||
'--identifier',
|
||||
ProcessUtils::escapeArgument($identifier->toString()),
|
||||
];
|
||||
|
||||
if ($runnerConfig->isDryRun()) {
|
||||
$commandArgs[] = '--dry-run';
|
||||
}
|
||||
|
||||
if (filter_var($input->getOption('diff'), FILTER_VALIDATE_BOOLEAN)) {
|
||||
$commandArgs[] = '--diff';
|
||||
}
|
||||
|
||||
if (filter_var($input->getOption('stop-on-violation'), FILTER_VALIDATE_BOOLEAN)) {
|
||||
$commandArgs[] = '--stop-on-violation';
|
||||
}
|
||||
|
||||
foreach (['allow-risky', 'config', 'rules', 'using-cache', 'cache-file'] as $option) {
|
||||
$optionValue = $input->getOption($option);
|
||||
|
||||
if ($optionValue !== null) {
|
||||
$commandArgs[] = "--{$option}";
|
||||
$commandArgs[] = ProcessUtils::escapeArgument($optionValue);
|
||||
}
|
||||
}
|
||||
|
||||
return $commandArgs;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user