diff options
| -rw-r--r-- | PHPINFO | 4 | ||||
| -rw-r--r-- | REFLECTION | 534 | ||||
| -rw-r--r-- | build.patch | 19 | ||||
| -rw-r--r-- | php-phalcon5.spec | 17 | 
4 files changed, 538 insertions, 36 deletions
@@ -5,8 +5,8 @@ phalcon  Phalcon is a full stack PHP framework, delivered as a PHP extension, offering lower resource consumption and high performance.  phalcon => enabled  Author => Phalcon Team and contributors -Version => 5.0.0alpha3 -Build Date => May  6 2021 00:00:00 +Version => 5.0.0alpha4 +Build Date => Sep  7 2021 00:00:00  Powered by Zephir => Version 0.13.5-1232784  Directive => Local Value => Master Value @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] { +Extension [ <persistent> extension #121 phalcon version 5.0.0alpha4 ] {    - Dependencies {      Dependency [ pdo (Required) ] @@ -66,7 +66,7 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {      }    } -  - Classes [553] { +  - Classes [555] {      Interface [ <internal:phalcon> interface Phalcon\Di\InjectionAwareInterface ] {        - Constants [0] { @@ -2044,6 +2044,34 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {        }      } +    Interface [ <internal:phalcon> interface Phalcon\Http\Message\RequestMethodInterface ] { + +      - Constants [10] { +        Constant [ public string METHOD_CONNECT ] { CONNECT } +        Constant [ public string METHOD_DELETE ] { DELETE } +        Constant [ public string METHOD_GET ] { GET } +        Constant [ public string METHOD_HEAD ] { HEAD } +        Constant [ public string METHOD_OPTIONS ] { OPTIONS } +        Constant [ public string METHOD_PATCH ] { PATCH } +        Constant [ public string METHOD_POST ] { POST } +        Constant [ public string METHOD_PURGE ] { PURGE } +        Constant [ public string METHOD_PUT ] { PUT } +        Constant [ public string METHOD_TRACE ] { TRACE } +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [0] { +      } +    } +      Interface [ <internal:phalcon> interface Phalcon\Annotations\Adapter\AdapterInterface ] {        - Constants [0] { @@ -4052,6 +4080,112 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {        }      } +    Interface [ <internal:phalcon> interface Phalcon\Http\Message\ResponseStatusCodeInterface ] { + +      - Constants [88] { +        Constant [ public int STATUS_CONTINUE ] { 100 } +        Constant [ public int STATUS_SWITCHING_PROTOCOLS ] { 101 } +        Constant [ public int STATUS_PROCESSING ] { 102 } +        Constant [ public int STATUS_EARLY_HINTS ] { 103 } +        Constant [ public int STATUS_OK ] { 200 } +        Constant [ public int STATUS_CREATED ] { 201 } +        Constant [ public int STATUS_ACCEPTED ] { 202 } +        Constant [ public int STATUS_NON_AUTHORITATIVE_INFORMATION ] { 203 } +        Constant [ public int STATUS_NO_CONTENT ] { 204 } +        Constant [ public int STATUS_RESET_CONTENT ] { 205 } +        Constant [ public int STATUS_PARTIAL_CONTENT ] { 206 } +        Constant [ public int STATUS_MULTI_STATUS ] { 207 } +        Constant [ public int STATUS_ALREADY_REPORTED ] { 208 } +        Constant [ public int STATUS_IM_USED ] { 226 } +        Constant [ public int STATUS_MULTIPLE_CHOICES ] { 300 } +        Constant [ public int STATUS_MOVED_PERMANENTLY ] { 301 } +        Constant [ public int STATUS_FOUND ] { 302 } +        Constant [ public int STATUS_SEE_OTHER ] { 303 } +        Constant [ public int STATUS_NOT_MODIFIED ] { 304 } +        Constant [ public int STATUS_USE_PROXY ] { 305 } +        Constant [ public int STATUS_RESERVED ] { 306 } +        Constant [ public int STATUS_TEMPORARY_REDIRECT ] { 307 } +        Constant [ public int STATUS_PERMANENT_REDIRECT ] { 308 } +        Constant [ public int STATUS_BAD_REQUEST ] { 400 } +        Constant [ public int STATUS_UNAUTHORIZED ] { 401 } +        Constant [ public int STATUS_PAYMENT_REQUIRED ] { 402 } +        Constant [ public int STATUS_FORBIDDEN ] { 403 } +        Constant [ public int STATUS_NOT_FOUND ] { 404 } +        Constant [ public int STATUS_METHOD_NOT_ALLOWED ] { 405 } +        Constant [ public int STATUS_NOT_ACCEPTABLE ] { 406 } +        Constant [ public int STATUS_PROXY_AUTHENTICATION_REQUIRED ] { 407 } +        Constant [ public int STATUS_REQUEST_TIMEOUT ] { 408 } +        Constant [ public int STATUS_CONFLICT ] { 409 } +        Constant [ public int STATUS_GONE ] { 410 } +        Constant [ public int STATUS_LENGTH_REQUIRED ] { 411 } +        Constant [ public int STATUS_PRECONDITION_FAILED ] { 412 } +        Constant [ public int STATUS_PAYLOAD_TOO_LARGE ] { 413 } +        Constant [ public int STATUS_URI_TOO_LONG ] { 414 } +        Constant [ public int STATUS_UNSUPPORTED_MEDIA_TYPE ] { 415 } +        Constant [ public int STATUS_RANGE_NOT_SATISFIABLE ] { 416 } +        Constant [ public int STATUS_EXPECTATION_FAILED ] { 417 } +        Constant [ public int STATUS_IM_A_TEAPOT ] { 418 } +        Constant [ public int STATUS_MISDIRECTED_REQUEST ] { 421 } +        Constant [ public int STATUS_UNPROCESSABLE_ENTITY ] { 422 } +        Constant [ public int STATUS_LOCKED ] { 423 } +        Constant [ public int STATUS_FAILED_DEPENDENCY ] { 424 } +        Constant [ public int STATUS_TOO_EARLY ] { 425 } +        Constant [ public int STATUS_UPGRADE_REQUIRED ] { 426 } +        Constant [ public int STATUS_PRECONDITION_REQUIRED ] { 428 } +        Constant [ public int STATUS_TOO_MANY_REQUESTS ] { 429 } +        Constant [ public int STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE ] { 431 } +        Constant [ public int STATUS_UNAVAILABLE_FOR_LEGAL_REASONS ] { 451 } +        Constant [ public int STATUS_INTERNAL_SERVER_ERROR ] { 500 } +        Constant [ public int STATUS_NOT_IMPLEMENTED ] { 501 } +        Constant [ public int STATUS_BAD_GATEWAY ] { 502 } +        Constant [ public int STATUS_SERVICE_UNAVAILABLE ] { 503 } +        Constant [ public int STATUS_GATEWAY_TIMEOUT ] { 504 } +        Constant [ public int STATUS_VERSION_NOT_SUPPORTED ] { 505 } +        Constant [ public int STATUS_VARIANT_ALSO_NEGOTIATES ] { 506 } +        Constant [ public int STATUS_INSUFFICIENT_STORAGE ] { 507 } +        Constant [ public int STATUS_LOOP_DETECTED ] { 508 } +        Constant [ public int STATUS_NOT_EXTENDED ] { 510 } +        Constant [ public int STATUS_NETWORK_AUTHENTICATION_REQUIRED ] { 511 } +        Constant [ public int STATUS_THIS_IS_FINE ] { 218 } +        Constant [ public int STATUS_PAGE_EXPIRED ] { 419 } +        Constant [ public int STATUS_METHOD_FAILURE ] { 420 } +        Constant [ public int STATUS_LOGIN_TIMEOUT ] { 440 } +        Constant [ public int STATUS_NO_RESPONSE ] { 444 } +        Constant [ public int STATUS_RETRY_WITH ] { 449 } +        Constant [ public int STATUS_BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS ] { 450 } +        Constant [ public int STATUS_REQUEST_HEADER_TOO_LARGE ] { 494 } +        Constant [ public int STATUS_SSL_CERTIFICATE_ERROR ] { 495 } +        Constant [ public int STATUS_SSL_CERTIFICATE_REQUIRED ] { 496 } +        Constant [ public int STATUS_HTTP_REQUEST_SENT_TO_HTTPS_PORT ] { 497 } +        Constant [ public int STATUS_INVALID_TOKEN_ESRI ] { 498 } +        Constant [ public int STATUS_CLIENT_CLOSED_REQUEST ] { 499 } +        Constant [ public int STATUS_BANDWIDTH_LIMIT_EXCEEDED ] { 509 } +        Constant [ public int STATUS_UNKNOWN_ERROR ] { 520 } +        Constant [ public int STATUS_WEB_SERVER_IS_DOWN ] { 521 } +        Constant [ public int STATUS_CONNECTION_TIMEOUT ] { 522 } +        Constant [ public int STATUS_ORIGIN_IS_UNREACHABLE ] { 523 } +        Constant [ public int STATUS_TIMEOUT_OCCURRED ] { 524 } +        Constant [ public int STATUS_SSL_HANDSHAKE_FAILED ] { 525 } +        Constant [ public int STATUS_INVALID_SSL_CERTIFICATE ] { 526 } +        Constant [ public int STATUS_RAILGUN_ERROR ] { 527 } +        Constant [ public int STATUS_ORIGIN_DNS_ERROR ] { 530 } +        Constant [ public int STATUS_NETWORK_READ_TIMEOUT_ERROR ] { 598 } +        Constant [ public int STATUS_NETWORK_CONNECT_TIMEOUT_ERROR ] { 599 } +      } + +      - Static properties [0] { +      } + +      - Static methods [0] { +      } + +      - Properties [0] { +      } + +      - Methods [0] { +      } +    } +      Interface [ <internal:phalcon> interface Phalcon\Mvc\EntityInterface ] {        - Constants [0] { @@ -15839,10 +15973,25 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {          Property [ <default> protected $queue ]        } -      - Methods [11] { +      - Methods [13] {          Method [ <internal:phalcon, dtor> public method __destruct ] {          } +        Method [ <internal:phalcon> public method __serialize ] { + +          - Parameters [0] { +          } +          - Return [ array ] +        } + +        Method [ <internal:phalcon> public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } +          Method [ <internal:phalcon, prototype Phalcon\Logger\Adapter\AdapterInterface> public method add ] {            - Parameters [1] { @@ -17634,19 +17783,21 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {        - Static methods [0] {        } -      - Properties [9] { +      - Properties [11] {          Property [ <default> protected $container ]          Property [ <default> protected $autoescape ]          Property [ <default> protected $automaticHtml ]          Property [ <default> protected $cssClasses ] +        Property [ <default> protected $cssIconClasses ]          Property [ <default> protected $customTemplate ]          Property [ <default> protected $escaperService ]          Property [ <default> protected $implicitFlush ] +        Property [ <default> protected $interpolator ]          Property [ <default> protected $messages ]          Property [ <default> protected $sessionService ]        } -      - Methods [23] { +      - Methods [25] {          Method [ <internal:phalcon> public method getAutoescape ] {            - Parameters [0] { @@ -17661,6 +17812,13 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {            - Return [ array ]          } +        Method [ <internal:phalcon> public method getCssIconClasses ] { + +          - Parameters [0] { +          } +          - Return [ array ] +        } +          Method [ <internal:phalcon> public method getCustomTemplate ] {            - Parameters [0] { @@ -17730,6 +17888,14 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {            - Return [ Phalcon\Flash\FlashInterface ]          } +        Method [ <internal:phalcon> public method setCssIconClasses ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $cssIconClasses ] +          } +          - Return [ Phalcon\Flash\FlashInterface ] +        } +          Method [ <internal:phalcon> public method setCustomTemplate ] {            - Parameters [1] { @@ -17780,8 +17946,9 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {          Method [ <internal:phalcon> private method getTemplate ] { -          - Parameters [1] { +          - Parameters [2] {              Parameter #0 [ <required> string $cssClassses ] +            Parameter #1 [ <required> string $cssIconClasses ]            }            - Return [ string ]          } @@ -17829,9 +17996,19 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {        }      } -    Class [ <internal:phalcon> abstract class Phalcon\Http\Message\AbstractRequest extends Phalcon\Http\Message\AbstractMessage ] { +    Class [ <internal:phalcon> abstract class Phalcon\Http\Message\AbstractRequest extends Phalcon\Http\Message\AbstractMessage implements Phalcon\Http\Message\RequestMethodInterface ] { -      - Constants [0] { +      - Constants [10] { +        Constant [ public string METHOD_CONNECT ] { CONNECT } +        Constant [ public string METHOD_DELETE ] { DELETE } +        Constant [ public string METHOD_GET ] { GET } +        Constant [ public string METHOD_HEAD ] { HEAD } +        Constant [ public string METHOD_OPTIONS ] { OPTIONS } +        Constant [ public string METHOD_PATCH ] { PATCH } +        Constant [ public string METHOD_POST ] { POST } +        Constant [ public string METHOD_PURGE ] { PURGE } +        Constant [ public string METHOD_PUT ] { PUT } +        Constant [ public string METHOD_TRACE ] { TRACE }        }        - Static properties [0] { @@ -28293,14 +28470,14 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {          Method [ <internal:phalcon, prototype Psr\Container\ContainerInterface> public method get ] {            - Parameters [1] { -            Parameter #0 [ <required> $name ] +            Parameter #0 [ <required> string $name ]            }          }          Method [ <internal:phalcon, prototype Psr\Container\ContainerInterface> public method has ] {            - Parameters [1] { -            Parameter #0 [ <required> $name ] +            Parameter #0 [ <required> string $name ]            }            - Return [ bool ]          } @@ -37720,19 +37897,21 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {        - Static methods [0] {        } -      - Properties [9] { +      - Properties [11] {          Property [ <default> protected $container ]          Property [ <default> protected $autoescape ]          Property [ <default> protected $automaticHtml ]          Property [ <default> protected $cssClasses ] +        Property [ <default> protected $cssIconClasses ]          Property [ <default> protected $customTemplate ]          Property [ <default> protected $escaperService ]          Property [ <default> protected $implicitFlush ] +        Property [ <default> protected $interpolator ]          Property [ <default> protected $messages ]          Property [ <default> protected $sessionService ]        } -      - Methods [21] { +      - Methods [23] {          Method [ <internal:phalcon, overwrites Phalcon\Flash\FlashInterface, prototype Phalcon\Flash\FlashInterface> public method message ] {            - Parameters [2] { @@ -37764,6 +37943,13 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {            - Return [ array ]          } +        Method [ <internal:phalcon, inherits Phalcon\Flash\AbstractFlash> public method getCssIconClasses ] { + +          - Parameters [0] { +          } +          - Return [ array ] +        } +          Method [ <internal:phalcon, inherits Phalcon\Flash\AbstractFlash> public method getCustomTemplate ] {            - Parameters [0] { @@ -37833,6 +38019,14 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {            - Return [ Phalcon\Flash\FlashInterface ]          } +        Method [ <internal:phalcon, inherits Phalcon\Flash\AbstractFlash> public method setCssIconClasses ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $cssIconClasses ] +          } +          - Return [ Phalcon\Flash\FlashInterface ] +        } +          Method [ <internal:phalcon, inherits Phalcon\Flash\AbstractFlash> public method setCustomTemplate ] {            - Parameters [1] { @@ -37973,19 +38167,21 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {        - Static methods [0] {        } -      - Properties [9] { +      - Properties [11] {          Property [ <default> protected $container ]          Property [ <default> protected $autoescape ]          Property [ <default> protected $automaticHtml ]          Property [ <default> protected $cssClasses ] +        Property [ <default> protected $cssIconClasses ]          Property [ <default> protected $customTemplate ]          Property [ <default> protected $escaperService ]          Property [ <default> protected $implicitFlush ] +        Property [ <default> protected $interpolator ]          Property [ <default> protected $messages ]          Property [ <default> protected $sessionService ]        } -      - Methods [26] { +      - Methods [28] {          Method [ <internal:phalcon, overwrites Phalcon\Flash\AbstractFlash, prototype Phalcon\Flash\AbstractFlash> public method clear ] {            - Parameters [0] { @@ -38065,6 +38261,13 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {            - Return [ array ]          } +        Method [ <internal:phalcon, inherits Phalcon\Flash\AbstractFlash> public method getCssIconClasses ] { + +          - Parameters [0] { +          } +          - Return [ array ] +        } +          Method [ <internal:phalcon, inherits Phalcon\Flash\AbstractFlash> public method getCustomTemplate ] {            - Parameters [0] { @@ -38127,6 +38330,14 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {            - Return [ Phalcon\Flash\FlashInterface ]          } +        Method [ <internal:phalcon, inherits Phalcon\Flash\AbstractFlash> public method setCssIconClasses ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $cssIconClasses ] +          } +          - Return [ Phalcon\Flash\FlashInterface ] +        } +          Method [ <internal:phalcon, inherits Phalcon\Flash\AbstractFlash> public method setCustomTemplate ] {            - Parameters [1] { @@ -48424,9 +48635,19 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {        }      } -    Class [ <internal:phalcon> final class Phalcon\Http\Message\Request extends Phalcon\Http\Message\AbstractRequest implements Psr\Http\Message\RequestInterface, Psr\Http\Message\MessageInterface ] { +    Class [ <internal:phalcon> final class Phalcon\Http\Message\Request extends Phalcon\Http\Message\AbstractRequest implements Phalcon\Http\Message\RequestMethodInterface, Psr\Http\Message\RequestInterface, Psr\Http\Message\MessageInterface ] { -      - Constants [0] { +      - Constants [10] { +        Constant [ public string METHOD_CONNECT ] { CONNECT } +        Constant [ public string METHOD_DELETE ] { DELETE } +        Constant [ public string METHOD_GET ] { GET } +        Constant [ public string METHOD_HEAD ] { HEAD } +        Constant [ public string METHOD_OPTIONS ] { OPTIONS } +        Constant [ public string METHOD_PATCH ] { PATCH } +        Constant [ public string METHOD_POST ] { POST } +        Constant [ public string METHOD_PURGE ] { PURGE } +        Constant [ public string METHOD_PUT ] { PUT } +        Constant [ public string METHOD_TRACE ] { TRACE }        }        - Static properties [0] { @@ -48713,9 +48934,97 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {        }      } -    Class [ <internal:phalcon> final class Phalcon\Http\Message\Response extends Phalcon\Http\Message\AbstractMessage implements Psr\Http\Message\ResponseInterface, Psr\Http\Message\MessageInterface ] { - -      - Constants [0] { +    Class [ <internal:phalcon> final class Phalcon\Http\Message\Response extends Phalcon\Http\Message\AbstractMessage implements Psr\Http\Message\ResponseInterface, Psr\Http\Message\MessageInterface, Phalcon\Http\Message\ResponseStatusCodeInterface ] { + +      - Constants [88] { +        Constant [ public int STATUS_CONTINUE ] { 100 } +        Constant [ public int STATUS_SWITCHING_PROTOCOLS ] { 101 } +        Constant [ public int STATUS_PROCESSING ] { 102 } +        Constant [ public int STATUS_EARLY_HINTS ] { 103 } +        Constant [ public int STATUS_OK ] { 200 } +        Constant [ public int STATUS_CREATED ] { 201 } +        Constant [ public int STATUS_ACCEPTED ] { 202 } +        Constant [ public int STATUS_NON_AUTHORITATIVE_INFORMATION ] { 203 } +        Constant [ public int STATUS_NO_CONTENT ] { 204 } +        Constant [ public int STATUS_RESET_CONTENT ] { 205 } +        Constant [ public int STATUS_PARTIAL_CONTENT ] { 206 } +        Constant [ public int STATUS_MULTI_STATUS ] { 207 } +        Constant [ public int STATUS_ALREADY_REPORTED ] { 208 } +        Constant [ public int STATUS_IM_USED ] { 226 } +        Constant [ public int STATUS_MULTIPLE_CHOICES ] { 300 } +        Constant [ public int STATUS_MOVED_PERMANENTLY ] { 301 } +        Constant [ public int STATUS_FOUND ] { 302 } +        Constant [ public int STATUS_SEE_OTHER ] { 303 } +        Constant [ public int STATUS_NOT_MODIFIED ] { 304 } +        Constant [ public int STATUS_USE_PROXY ] { 305 } +        Constant [ public int STATUS_RESERVED ] { 306 } +        Constant [ public int STATUS_TEMPORARY_REDIRECT ] { 307 } +        Constant [ public int STATUS_PERMANENT_REDIRECT ] { 308 } +        Constant [ public int STATUS_BAD_REQUEST ] { 400 } +        Constant [ public int STATUS_UNAUTHORIZED ] { 401 } +        Constant [ public int STATUS_PAYMENT_REQUIRED ] { 402 } +        Constant [ public int STATUS_FORBIDDEN ] { 403 } +        Constant [ public int STATUS_NOT_FOUND ] { 404 } +        Constant [ public int STATUS_METHOD_NOT_ALLOWED ] { 405 } +        Constant [ public int STATUS_NOT_ACCEPTABLE ] { 406 } +        Constant [ public int STATUS_PROXY_AUTHENTICATION_REQUIRED ] { 407 } +        Constant [ public int STATUS_REQUEST_TIMEOUT ] { 408 } +        Constant [ public int STATUS_CONFLICT ] { 409 } +        Constant [ public int STATUS_GONE ] { 410 } +        Constant [ public int STATUS_LENGTH_REQUIRED ] { 411 } +        Constant [ public int STATUS_PRECONDITION_FAILED ] { 412 } +        Constant [ public int STATUS_PAYLOAD_TOO_LARGE ] { 413 } +        Constant [ public int STATUS_URI_TOO_LONG ] { 414 } +        Constant [ public int STATUS_UNSUPPORTED_MEDIA_TYPE ] { 415 } +        Constant [ public int STATUS_RANGE_NOT_SATISFIABLE ] { 416 } +        Constant [ public int STATUS_EXPECTATION_FAILED ] { 417 } +        Constant [ public int STATUS_IM_A_TEAPOT ] { 418 } +        Constant [ public int STATUS_MISDIRECTED_REQUEST ] { 421 } +        Constant [ public int STATUS_UNPROCESSABLE_ENTITY ] { 422 } +        Constant [ public int STATUS_LOCKED ] { 423 } +        Constant [ public int STATUS_FAILED_DEPENDENCY ] { 424 } +        Constant [ public int STATUS_TOO_EARLY ] { 425 } +        Constant [ public int STATUS_UPGRADE_REQUIRED ] { 426 } +        Constant [ public int STATUS_PRECONDITION_REQUIRED ] { 428 } +        Constant [ public int STATUS_TOO_MANY_REQUESTS ] { 429 } +        Constant [ public int STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE ] { 431 } +        Constant [ public int STATUS_UNAVAILABLE_FOR_LEGAL_REASONS ] { 451 } +        Constant [ public int STATUS_INTERNAL_SERVER_ERROR ] { 500 } +        Constant [ public int STATUS_NOT_IMPLEMENTED ] { 501 } +        Constant [ public int STATUS_BAD_GATEWAY ] { 502 } +        Constant [ public int STATUS_SERVICE_UNAVAILABLE ] { 503 } +        Constant [ public int STATUS_GATEWAY_TIMEOUT ] { 504 } +        Constant [ public int STATUS_VERSION_NOT_SUPPORTED ] { 505 } +        Constant [ public int STATUS_VARIANT_ALSO_NEGOTIATES ] { 506 } +        Constant [ public int STATUS_INSUFFICIENT_STORAGE ] { 507 } +        Constant [ public int STATUS_LOOP_DETECTED ] { 508 } +        Constant [ public int STATUS_NOT_EXTENDED ] { 510 } +        Constant [ public int STATUS_NETWORK_AUTHENTICATION_REQUIRED ] { 511 } +        Constant [ public int STATUS_THIS_IS_FINE ] { 218 } +        Constant [ public int STATUS_PAGE_EXPIRED ] { 419 } +        Constant [ public int STATUS_METHOD_FAILURE ] { 420 } +        Constant [ public int STATUS_LOGIN_TIMEOUT ] { 440 } +        Constant [ public int STATUS_NO_RESPONSE ] { 444 } +        Constant [ public int STATUS_RETRY_WITH ] { 449 } +        Constant [ public int STATUS_BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS ] { 450 } +        Constant [ public int STATUS_REQUEST_HEADER_TOO_LARGE ] { 494 } +        Constant [ public int STATUS_SSL_CERTIFICATE_ERROR ] { 495 } +        Constant [ public int STATUS_SSL_CERTIFICATE_REQUIRED ] { 496 } +        Constant [ public int STATUS_HTTP_REQUEST_SENT_TO_HTTPS_PORT ] { 497 } +        Constant [ public int STATUS_INVALID_TOKEN_ESRI ] { 498 } +        Constant [ public int STATUS_CLIENT_CLOSED_REQUEST ] { 499 } +        Constant [ public int STATUS_BANDWIDTH_LIMIT_EXCEEDED ] { 509 } +        Constant [ public int STATUS_UNKNOWN_ERROR ] { 520 } +        Constant [ public int STATUS_WEB_SERVER_IS_DOWN ] { 521 } +        Constant [ public int STATUS_CONNECTION_TIMEOUT ] { 522 } +        Constant [ public int STATUS_ORIGIN_IS_UNREACHABLE ] { 523 } +        Constant [ public int STATUS_TIMEOUT_OCCURRED ] { 524 } +        Constant [ public int STATUS_SSL_HANDSHAKE_FAILED ] { 525 } +        Constant [ public int STATUS_INVALID_SSL_CERTIFICATE ] { 526 } +        Constant [ public int STATUS_RAILGUN_ERROR ] { 527 } +        Constant [ public int STATUS_ORIGIN_DNS_ERROR ] { 530 } +        Constant [ public int STATUS_NETWORK_READ_TIMEOUT_ERROR ] { 598 } +        Constant [ public int STATUS_NETWORK_CONNECT_TIMEOUT_ERROR ] { 599 }        }        - Static properties [0] { @@ -49004,9 +49313,19 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {        }      } -    Class [ <internal:phalcon> final class Phalcon\Http\Message\ServerRequest extends Phalcon\Http\Message\AbstractRequest implements Psr\Http\Message\ServerRequestInterface, Psr\Http\Message\MessageInterface, Psr\Http\Message\RequestInterface ] { +    Class [ <internal:phalcon> final class Phalcon\Http\Message\ServerRequest extends Phalcon\Http\Message\AbstractRequest implements Phalcon\Http\Message\RequestMethodInterface, Psr\Http\Message\ServerRequestInterface, Psr\Http\Message\MessageInterface, Psr\Http\Message\RequestInterface ] { -      - Constants [0] { +      - Constants [10] { +        Constant [ public string METHOD_CONNECT ] { CONNECT } +        Constant [ public string METHOD_DELETE ] { DELETE } +        Constant [ public string METHOD_GET ] { GET } +        Constant [ public string METHOD_HEAD ] { HEAD } +        Constant [ public string METHOD_OPTIONS ] { OPTIONS } +        Constant [ public string METHOD_PATCH ] { PATCH } +        Constant [ public string METHOD_POST ] { POST } +        Constant [ public string METHOD_PURGE ] { PURGE } +        Constant [ public string METHOD_PUT ] { PUT } +        Constant [ public string METHOD_TRACE ] { TRACE }        }        - Static properties [0] { @@ -49382,9 +49701,19 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {        }      } -    Class [ <internal:phalcon> class Phalcon\Http\Message\ServerRequestFactory implements Psr\Http\Message\ServerRequestFactoryInterface ] { +    Class [ <internal:phalcon> class Phalcon\Http\Message\ServerRequestFactory implements Psr\Http\Message\ServerRequestFactoryInterface, Phalcon\Http\Message\RequestMethodInterface ] { -      - Constants [0] { +      - Constants [10] { +        Constant [ public string METHOD_CONNECT ] { CONNECT } +        Constant [ public string METHOD_DELETE ] { DELETE } +        Constant [ public string METHOD_GET ] { GET } +        Constant [ public string METHOD_HEAD ] { HEAD } +        Constant [ public string METHOD_OPTIONS ] { OPTIONS } +        Constant [ public string METHOD_PATCH ] { PATCH } +        Constant [ public string METHOD_POST ] { POST } +        Constant [ public string METHOD_PURGE ] { PURGE } +        Constant [ public string METHOD_PUT ] { PUT } +        Constant [ public string METHOD_TRACE ] { TRACE }        }        - Static properties [0] { @@ -50406,9 +50735,19 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {        }      } -    Class [ <internal:phalcon> class Phalcon\Http\Request extends Phalcon\Di\AbstractInjectionAware implements Phalcon\Di\InjectionAwareInterface, Phalcon\Http\RequestInterface ] { +    Class [ <internal:phalcon> class Phalcon\Http\Request extends Phalcon\Di\AbstractInjectionAware implements Phalcon\Di\InjectionAwareInterface, Phalcon\Http\RequestInterface, Phalcon\Http\Message\RequestMethodInterface ] { -      - Constants [0] { +      - Constants [10] { +        Constant [ public string METHOD_CONNECT ] { CONNECT } +        Constant [ public string METHOD_DELETE ] { DELETE } +        Constant [ public string METHOD_GET ] { GET } +        Constant [ public string METHOD_HEAD ] { HEAD } +        Constant [ public string METHOD_OPTIONS ] { OPTIONS } +        Constant [ public string METHOD_PATCH ] { PATCH } +        Constant [ public string METHOD_POST ] { POST } +        Constant [ public string METHOD_PURGE ] { PURGE } +        Constant [ public string METHOD_PUT ] { PUT } +        Constant [ public string METHOD_TRACE ] { TRACE }        }        - Static properties [0] { @@ -51157,9 +51496,97 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {        }      } -    Class [ <internal:phalcon> class Phalcon\Http\Response implements Phalcon\Http\ResponseInterface, Phalcon\Di\InjectionAwareInterface, Phalcon\Events\EventsAwareInterface ] { - -      - Constants [0] { +    Class [ <internal:phalcon> class Phalcon\Http\Response implements Phalcon\Http\ResponseInterface, Phalcon\Di\InjectionAwareInterface, Phalcon\Events\EventsAwareInterface, Phalcon\Http\Message\ResponseStatusCodeInterface ] { + +      - Constants [88] { +        Constant [ public int STATUS_CONTINUE ] { 100 } +        Constant [ public int STATUS_SWITCHING_PROTOCOLS ] { 101 } +        Constant [ public int STATUS_PROCESSING ] { 102 } +        Constant [ public int STATUS_EARLY_HINTS ] { 103 } +        Constant [ public int STATUS_OK ] { 200 } +        Constant [ public int STATUS_CREATED ] { 201 } +        Constant [ public int STATUS_ACCEPTED ] { 202 } +        Constant [ public int STATUS_NON_AUTHORITATIVE_INFORMATION ] { 203 } +        Constant [ public int STATUS_NO_CONTENT ] { 204 } +        Constant [ public int STATUS_RESET_CONTENT ] { 205 } +        Constant [ public int STATUS_PARTIAL_CONTENT ] { 206 } +        Constant [ public int STATUS_MULTI_STATUS ] { 207 } +        Constant [ public int STATUS_ALREADY_REPORTED ] { 208 } +        Constant [ public int STATUS_IM_USED ] { 226 } +        Constant [ public int STATUS_MULTIPLE_CHOICES ] { 300 } +        Constant [ public int STATUS_MOVED_PERMANENTLY ] { 301 } +        Constant [ public int STATUS_FOUND ] { 302 } +        Constant [ public int STATUS_SEE_OTHER ] { 303 } +        Constant [ public int STATUS_NOT_MODIFIED ] { 304 } +        Constant [ public int STATUS_USE_PROXY ] { 305 } +        Constant [ public int STATUS_RESERVED ] { 306 } +        Constant [ public int STATUS_TEMPORARY_REDIRECT ] { 307 } +        Constant [ public int STATUS_PERMANENT_REDIRECT ] { 308 } +        Constant [ public int STATUS_BAD_REQUEST ] { 400 } +        Constant [ public int STATUS_UNAUTHORIZED ] { 401 } +        Constant [ public int STATUS_PAYMENT_REQUIRED ] { 402 } +        Constant [ public int STATUS_FORBIDDEN ] { 403 } +        Constant [ public int STATUS_NOT_FOUND ] { 404 } +        Constant [ public int STATUS_METHOD_NOT_ALLOWED ] { 405 } +        Constant [ public int STATUS_NOT_ACCEPTABLE ] { 406 } +        Constant [ public int STATUS_PROXY_AUTHENTICATION_REQUIRED ] { 407 } +        Constant [ public int STATUS_REQUEST_TIMEOUT ] { 408 } +        Constant [ public int STATUS_CONFLICT ] { 409 } +        Constant [ public int STATUS_GONE ] { 410 } +        Constant [ public int STATUS_LENGTH_REQUIRED ] { 411 } +        Constant [ public int STATUS_PRECONDITION_FAILED ] { 412 } +        Constant [ public int STATUS_PAYLOAD_TOO_LARGE ] { 413 } +        Constant [ public int STATUS_URI_TOO_LONG ] { 414 } +        Constant [ public int STATUS_UNSUPPORTED_MEDIA_TYPE ] { 415 } +        Constant [ public int STATUS_RANGE_NOT_SATISFIABLE ] { 416 } +        Constant [ public int STATUS_EXPECTATION_FAILED ] { 417 } +        Constant [ public int STATUS_IM_A_TEAPOT ] { 418 } +        Constant [ public int STATUS_MISDIRECTED_REQUEST ] { 421 } +        Constant [ public int STATUS_UNPROCESSABLE_ENTITY ] { 422 } +        Constant [ public int STATUS_LOCKED ] { 423 } +        Constant [ public int STATUS_FAILED_DEPENDENCY ] { 424 } +        Constant [ public int STATUS_TOO_EARLY ] { 425 } +        Constant [ public int STATUS_UPGRADE_REQUIRED ] { 426 } +        Constant [ public int STATUS_PRECONDITION_REQUIRED ] { 428 } +        Constant [ public int STATUS_TOO_MANY_REQUESTS ] { 429 } +        Constant [ public int STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE ] { 431 } +        Constant [ public int STATUS_UNAVAILABLE_FOR_LEGAL_REASONS ] { 451 } +        Constant [ public int STATUS_INTERNAL_SERVER_ERROR ] { 500 } +        Constant [ public int STATUS_NOT_IMPLEMENTED ] { 501 } +        Constant [ public int STATUS_BAD_GATEWAY ] { 502 } +        Constant [ public int STATUS_SERVICE_UNAVAILABLE ] { 503 } +        Constant [ public int STATUS_GATEWAY_TIMEOUT ] { 504 } +        Constant [ public int STATUS_VERSION_NOT_SUPPORTED ] { 505 } +        Constant [ public int STATUS_VARIANT_ALSO_NEGOTIATES ] { 506 } +        Constant [ public int STATUS_INSUFFICIENT_STORAGE ] { 507 } +        Constant [ public int STATUS_LOOP_DETECTED ] { 508 } +        Constant [ public int STATUS_NOT_EXTENDED ] { 510 } +        Constant [ public int STATUS_NETWORK_AUTHENTICATION_REQUIRED ] { 511 } +        Constant [ public int STATUS_THIS_IS_FINE ] { 218 } +        Constant [ public int STATUS_PAGE_EXPIRED ] { 419 } +        Constant [ public int STATUS_METHOD_FAILURE ] { 420 } +        Constant [ public int STATUS_LOGIN_TIMEOUT ] { 440 } +        Constant [ public int STATUS_NO_RESPONSE ] { 444 } +        Constant [ public int STATUS_RETRY_WITH ] { 449 } +        Constant [ public int STATUS_BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS ] { 450 } +        Constant [ public int STATUS_REQUEST_HEADER_TOO_LARGE ] { 494 } +        Constant [ public int STATUS_SSL_CERTIFICATE_ERROR ] { 495 } +        Constant [ public int STATUS_SSL_CERTIFICATE_REQUIRED ] { 496 } +        Constant [ public int STATUS_HTTP_REQUEST_SENT_TO_HTTPS_PORT ] { 497 } +        Constant [ public int STATUS_INVALID_TOKEN_ESRI ] { 498 } +        Constant [ public int STATUS_CLIENT_CLOSED_REQUEST ] { 499 } +        Constant [ public int STATUS_BANDWIDTH_LIMIT_EXCEEDED ] { 509 } +        Constant [ public int STATUS_UNKNOWN_ERROR ] { 520 } +        Constant [ public int STATUS_WEB_SERVER_IS_DOWN ] { 521 } +        Constant [ public int STATUS_CONNECTION_TIMEOUT ] { 522 } +        Constant [ public int STATUS_ORIGIN_IS_UNREACHABLE ] { 523 } +        Constant [ public int STATUS_TIMEOUT_OCCURRED ] { 524 } +        Constant [ public int STATUS_SSL_HANDSHAKE_FAILED ] { 525 } +        Constant [ public int STATUS_INVALID_SSL_CERTIFICATE ] { 526 } +        Constant [ public int STATUS_RAILGUN_ERROR ] { 527 } +        Constant [ public int STATUS_ORIGIN_DNS_ERROR ] { 530 } +        Constant [ public int STATUS_NETWORK_READ_TIMEOUT_ERROR ] { 598 } +        Constant [ public int STATUS_NETWORK_CONNECT_TIMEOUT_ERROR ] { 599 }        }        - Static properties [0] { @@ -53283,7 +53710,7 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {          Property [ <default> protected $queue ]        } -      - Methods [11] { +      - Methods [13] {          Method [ <internal:phalcon, overwrites Phalcon\Logger\Adapter\AdapterInterface, prototype Phalcon\Logger\Adapter\AdapterInterface> public method close ] {            - Parameters [0] { @@ -53302,6 +53729,21 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {          Method [ <internal:phalcon, inherits Phalcon\Logger\Adapter\AbstractAdapter, dtor> public method __destruct ] {          } +        Method [ <internal:phalcon, inherits Phalcon\Logger\Adapter\AbstractAdapter> public method __serialize ] { + +          - Parameters [0] { +          } +          - Return [ array ] +        } + +        Method [ <internal:phalcon, inherits Phalcon\Logger\Adapter\AbstractAdapter> public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } +          Method [ <internal:phalcon, inherits Phalcon\Logger\Adapter\AbstractAdapter, prototype Phalcon\Logger\Adapter\AdapterInterface> public method add ] {            - Parameters [1] { @@ -53385,7 +53827,7 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {          Property [ <default> protected $options ]        } -      - Methods [13] { +      - Methods [15] {          Method [ <internal:phalcon> public method getName ] {            - Parameters [0] { @@ -53419,6 +53861,21 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {          Method [ <internal:phalcon, inherits Phalcon\Logger\Adapter\AbstractAdapter, dtor> public method __destruct ] {          } +        Method [ <internal:phalcon, inherits Phalcon\Logger\Adapter\AbstractAdapter> public method __serialize ] { + +          - Parameters [0] { +          } +          - Return [ array ] +        } + +        Method [ <internal:phalcon, inherits Phalcon\Logger\Adapter\AbstractAdapter> public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } +          Method [ <internal:phalcon, inherits Phalcon\Logger\Adapter\AbstractAdapter, prototype Phalcon\Logger\Adapter\AdapterInterface> public method add ] {            - Parameters [1] { @@ -53502,7 +53959,7 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {          Property [ <default> protected $option ]        } -      - Methods [13] { +      - Methods [15] {          Method [ <internal:phalcon, ctor> public method __construct ] {            - Parameters [2] { @@ -53537,6 +53994,21 @@ Extension [ <persistent> extension #118 phalcon version 5.0.0alpha3 ] {          Method [ <internal:phalcon, inherits Phalcon\Logger\Adapter\AbstractAdapter, dtor> public method __destruct ] {          } +        Method [ <internal:phalcon, inherits Phalcon\Logger\Adapter\AbstractAdapter> public method __serialize ] { + +          - Parameters [0] { +          } +          - Return [ array ] +        } + +        Method [ <internal:phalcon, inherits Phalcon\Logger\Adapter\AbstractAdapter> public method __unserialize ] { + +          - Parameters [1] { +            Parameter #0 [ <required> array $data ] +          } +          - Return [ void ] +        } +          Method [ <internal:phalcon, inherits Phalcon\Logger\Adapter\AbstractAdapter, prototype Phalcon\Logger\Adapter\AdapterInterface> public method add ] {            - Parameters [1] { diff --git a/build.patch b/build.patch new file mode 100644 index 0000000..b4b9950 --- /dev/null +++ b/build.patch @@ -0,0 +1,19 @@ +--- ./phalcon.zep.c.old	2021-09-07 14:01:41.790270964 +0200 ++++ ./phalcon.zep.c	2021-09-07 14:01:46.532264202 +0200 +@@ -88,6 +88,16 @@ + #include <ext/json/php_json.h> + #include <ext/session/php_session.h> +  ++#if PHP_VERSION_ID >= 80000 ++#include <ext/psr/psr_http_message.h> ++#include <ext/psr/psr_simple_cache.h> ++#include <ext/psr/psr_container.h> ++#include <ext/psr/psr_log.h> ++#include <ext/psr/psr_link.h> ++#include <ext/psr/psr_http_server_middleware.h> ++#include <ext/psr/psr_http_server_handler.h> ++#endif ++ + #include <Zend/zend_API.h> + #include <Zend/zend_operators.h> + #include <Zend/zend_exceptions.h> diff --git a/php-phalcon5.spec b/php-phalcon5.spec index d0653dc..510a0d5 100644 --- a/php-phalcon5.spec +++ b/php-phalcon5.spec @@ -23,7 +23,7 @@  # after 40-json.ini, 20-pdo.ini, 40-psr.ini  %global ini_name     50-%{pecl_name}.ini  %global upstream_ver 5.0.0 -%global upstream_pre alpha3 +%global upstream_pre alpha4  Name:           %{?scl_prefix}php-phalcon5  Version:        %{upstream_ver}%{?upstream_pre:~%{upstream_pre}} @@ -38,20 +38,23 @@ URL:            https://pecl.php.net/package/phalcon  #   pecl package  Source0:        https://pecl.php.net/get/%{pecl_name}-%{upstream_ver}%{?upstream_pre}.tgz +# See https://github.com/phalcon/cphalcon/pull/15646 +Patch0:         build.patch +  BuildRequires: %{?dtsprefix}gcc  BuildRequires: %{?scl_prefix}php-devel >= 7.4.1  BuildRequires: %{?scl_prefix}php-pear  BuildRequires: %{?scl_prefix}php-hash  BuildRequires: %{?scl_prefix}php-json  BuildRequires: %{?scl_prefix}php-pdo -BuildRequires: %{?scl_prefix}php-pecl-psr-devel >= 1.0.1 +BuildRequires: %{?scl_prefix}php-pecl-psr-devel >= 1.1.0  Requires:      %{?scl_prefix}php(zend-abi) = %{php_zend_api}  Requires:      %{?scl_prefix}php(api) = %{php_core_api}  Requires:      %{?scl_prefix}php-hash%{?_isa}  Requires:      %{?scl_prefix}php-json%{?_isa}  Requires:      %{?scl_prefix}php-pdo%{?_isa} -Requires:      %{?scl_prefix}php-psr%{?_isa} >= 1.0.1 +Requires:      %{?scl_prefix}php-psr%{?_isa} >= 1.1.0  %{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}  Provides:      %{?scl_prefix}php-phalcon          = %{version}-%{release} @@ -96,6 +99,8 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO  mv %{pecl_name}-%{upstream_ver}%{?upstream_pre} NTS  cd NTS +%patch0 -p1 +  # Sanity check, really often broken  extver=$(sed -n '/#define PHP_PHALCON_VERSION/{s/.* "//;s/".*$//;p}' php_phalcon.h)  if test "x${extver}" != "x%{upstream_ver}%{?upstream_pre:%{upstream_pre}}"; then @@ -255,6 +260,12 @@ fi  %changelog +* Tue Sep  7 2021 Remi Collet <remi@remirepo.net> - 5.0.0~alpha4-1 +- update to 5.0.0alpha4 +- raise dependency on psr 1.1.0 +- add fix for https://github.com/phalcon/cphalcon/issues/15645 +  from https://github.com/phalcon/cphalcon/pull/15646 +  * Thu Jul  1 2021 Remi Collet <remi@remirepo.net> - 5.0.0~alpha3-1  - update to 5.0.0alpha3  | 
