CS update after release of v3.95 (#282)
This commit is contained in:
parent
abae36e888
commit
97979ec48d
40 changed files with 36 additions and 116 deletions
|
|
@ -31,8 +31,6 @@ return (new Config())
|
||||||
->setRules([
|
->setRules([
|
||||||
'@Symfony' => true,
|
'@Symfony' => true,
|
||||||
'@Symfony:risky' => true,
|
'@Symfony:risky' => true,
|
||||||
'protected_to_private' => false,
|
|
||||||
'declare_strict_types' => false,
|
|
||||||
'header_comment' => ['header' => $fileHeader],
|
'header_comment' => ['header' => $fileHeader],
|
||||||
'php_unit_test_case_static_method_calls' => ['call_type' => 'this'],
|
'php_unit_test_case_static_method_calls' => ['call_type' => 'this'],
|
||||||
])
|
])
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,14 @@
|
||||||
<?php
|
<?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.
|
* HTTP Client Communication Example.
|
||||||
*
|
*
|
||||||
|
|
@ -20,17 +29,6 @@
|
||||||
* Eg. symfony serve --passthru=examples/server/client-communication/server.php --no-tls
|
* 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';
|
require_once __DIR__.'/../../vendor/autoload.php';
|
||||||
|
|
||||||
use Mcp\Client;
|
use Mcp\Client;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,14 @@
|
||||||
<?php
|
<?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.
|
* HTTP Client Example.
|
||||||
*
|
*
|
||||||
|
|
@ -12,17 +21,6 @@
|
||||||
* php -S localhost:8080 examples/server/http-discovery-calculator/server.php
|
* 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';
|
require_once __DIR__.'/../../vendor/autoload.php';
|
||||||
|
|
||||||
use Mcp\Client;
|
use Mcp\Client;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,14 @@
|
||||||
<?php
|
<?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.
|
* STDIO Client Communication Example.
|
||||||
*
|
*
|
||||||
|
|
@ -11,17 +20,6 @@
|
||||||
* Usage: php examples/client/stdio_client_communication.php
|
* 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';
|
require_once __DIR__.'/../../vendor/autoload.php';
|
||||||
|
|
||||||
use Mcp\Client;
|
use Mcp\Client;
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,5 @@
|
||||||
<?php
|
<?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.
|
* 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.
|
* 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';
|
require_once __DIR__.'/../../vendor/autoload.php';
|
||||||
|
|
||||||
use Mcp\Client;
|
use Mcp\Client;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the official PHP MCP SDK.
|
* This file is part of the official PHP MCP SDK.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
#!/usr/bin/env php
|
#!/usr/bin/env php
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the official PHP MCP SDK.
|
* This file is part of the official PHP MCP SDK.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the official PHP MCP SDK.
|
* This file is part of the official PHP MCP SDK.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
#!/usr/bin/env php
|
#!/usr/bin/env php
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the official PHP MCP SDK.
|
* This file is part of the official PHP MCP SDK.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the official PHP MCP SDK.
|
* This file is part of the official PHP MCP SDK.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the official PHP MCP SDK.
|
* This file is part of the official PHP MCP SDK.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the official PHP MCP SDK.
|
* This file is part of the official PHP MCP SDK.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the official PHP MCP SDK.
|
* This file is part of the official PHP MCP SDK.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the official PHP MCP SDK.
|
* This file is part of the official PHP MCP SDK.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the official PHP MCP SDK.
|
* This file is part of the official PHP MCP SDK.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the official PHP MCP SDK.
|
* This file is part of the official PHP MCP SDK.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the official PHP MCP SDK.
|
* This file is part of the official PHP MCP SDK.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the official PHP MCP SDK.
|
* This file is part of the official PHP MCP SDK.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the official PHP MCP SDK.
|
* This file is part of the official PHP MCP SDK.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of the official PHP MCP SDK.
|
* 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
Loading…
Reference in a new issue