CS update after release of v3.95 (#282)

This commit is contained in:
Christopher Hertel 2026-04-26 12:39:27 +02:00 • committed by GitHub
commit 97979ec48d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
40 changed files with 36 additions and 116 deletions

View file

@ -31,8 +31,6 @@ return (new Config())
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'protected_to_private' => false,
'declare_strict_types' => false,
'header_comment' => ['header' => $fileHeader],
'php_unit_test_case_static_method_calls' => ['call_type' => 'this'],
])

View file

@ -1,5 +1,14 @@
<?php
/*
* This file is part of the official PHP MCP SDK.
*
* A collaboration between Symfony and the PHP Foundation.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* HTTP Client Communication Example.
*
@ -20,17 +29,6 @@
* Eg. symfony serve --passthru=examples/server/client-communication/server.php --no-tls
*/
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*
* A collaboration between Symfony and the PHP Foundation.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
require_once __DIR__.'/../../vendor/autoload.php';
use Mcp\Client;

View file

@ -1,5 +1,14 @@
<?php
/*
* This file is part of the official PHP MCP SDK.
*
* A collaboration between Symfony and the PHP Foundation.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* HTTP Client Example.
*
@ -12,17 +21,6 @@
* php -S localhost:8080 examples/server/http-discovery-calculator/server.php
*/
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*
* A collaboration between Symfony and the PHP Foundation.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
require_once __DIR__.'/../../vendor/autoload.php';
use Mcp\Client;

View file

@ -1,5 +1,14 @@
<?php
/*
* This file is part of the official PHP MCP SDK.
*
* A collaboration between Symfony and the PHP Foundation.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* STDIO Client Communication Example.
*
@ -11,17 +20,6 @@
* Usage: php examples/client/stdio_client_communication.php
*/
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*
* A collaboration between Symfony and the PHP Foundation.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
require_once __DIR__.'/../../vendor/autoload.php';
use Mcp\Client;

View file

@ -1,16 +1,5 @@
<?php
/**
* Simple STDIO Client Example.
*
* This example demonstrates how to use the MCP client with a STDIO transport
* to communicate with an MCP server running as a child process.
*
* Usage: php examples/client/stdio_discovery_calculator.php
*/
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*
@ -20,6 +9,15 @@ declare(strict_types=1);
* file that was distributed with this source code.
*/
/**
* Simple STDIO Client Example.
*
* This example demonstrates how to use the MCP client with a STDIO transport
* to communicate with an MCP server running as a child process.
*
* Usage: php examples/client/stdio_discovery_calculator.php
*/
require_once __DIR__.'/../../vendor/autoload.php';
use Mcp\Client;

View file

@ -1,7 +1,5 @@
<?php
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*

View file

@ -1,8 +1,6 @@
#!/usr/bin/env php
<?php
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*

View file

@ -1,7 +1,5 @@
<?php
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*

View file

@ -1,8 +1,6 @@
#!/usr/bin/env php
<?php
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*

View file

@ -1,7 +1,5 @@
<?php
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*

View file

@ -1,7 +1,5 @@
<?php
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*

View file

@ -1,7 +1,5 @@
<?php
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*

View file

@ -1,7 +1,5 @@
<?php
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*

View file

@ -1,7 +1,5 @@
<?php
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*

View file

@ -1,7 +1,5 @@
<?php
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*

View file

@ -1,7 +1,5 @@
<?php
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*

View file

@ -1,7 +1,5 @@
<?php
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*

View file

@ -1,7 +1,5 @@
<?php
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*

View file

@ -1,7 +1,5 @@
<?php
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*

View file

@ -1,7 +1,5 @@
<?php
declare(strict_types=1);
/*
* This file is part of the official PHP MCP SDK.
*

Some files were not shown because too many files have changed in this diff Show more