-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PhpStorm meta file to have better completion in IDE
- Loading branch information
1 parent
f8ebe58
commit 22a18a7
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?php | ||
/* | ||
* Protocol FCGI library | ||
* | ||
* @copyright Copyright 2021. Lisachenko Alexander <lisachenko.it@gmail.com> | ||
* This source file is subject to the license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace PHPSTORM_META; | ||
|
||
expectedArguments( | ||
\Lisachenko\Protocol\FCGI\Record\BeginRequest::__construct(), | ||
0, | ||
\Lisachenko\Protocol\FCGI::RESPONDER, | ||
\Lisachenko\Protocol\FCGI::AUTHORIZER, | ||
\Lisachenko\Protocol\FCGI::FILTER, | ||
); | ||
|
||
expectedArguments( | ||
\Lisachenko\Protocol\FCGI\Record\BeginRequest::__construct(), | ||
1, | ||
\Lisachenko\Protocol\FCGI::KEEP_CONN, | ||
); | ||
|
||
expectedArguments( | ||
\Lisachenko\Protocol\FCGI\Record\EndRequest::__construct(), | ||
0, | ||
\Lisachenko\Protocol\FCGI::KEEP_CONN, | ||
\Lisachenko\Protocol\FCGI::REQUEST_COMPLETE, | ||
\Lisachenko\Protocol\FCGI::CANT_MPX_CONN, | ||
\Lisachenko\Protocol\FCGI::OVERLOADED, | ||
\Lisachenko\Protocol\FCGI::UNKNOWN_ROLE | ||
); | ||
|
||
expectedReturnValues( | ||
\Lisachenko\Protocol\FCGI\Record::getVersion(), | ||
\Lisachenko\Protocol\FCGI::VERSION_1 | ||
); | ||
|
||
expectedReturnValues( | ||
\Lisachenko\Protocol\FCGI\Record::getType(), | ||
\Lisachenko\Protocol\FCGI::BEGIN_REQUEST, | ||
\Lisachenko\Protocol\FCGI::ABORT_REQUEST, | ||
\Lisachenko\Protocol\FCGI::END_REQUEST, | ||
\Lisachenko\Protocol\FCGI::PARAMS, | ||
\Lisachenko\Protocol\FCGI::STDIN, | ||
\Lisachenko\Protocol\FCGI::STDOUT, | ||
\Lisachenko\Protocol\FCGI::STDERR, | ||
\Lisachenko\Protocol\FCGI::DATA, | ||
\Lisachenko\Protocol\FCGI::GET_VALUES, | ||
\Lisachenko\Protocol\FCGI::GET_VALUES_RESULT, | ||
\Lisachenko\Protocol\FCGI::UNKNOWN_TYPE, | ||
); |