Comparabl

zendframework/diactoros: Upgrade 1.8.6 to 2.0.0

Generated on: 2018-09-28 08:24:02


Zend\Diactoros\Stream
  • warning Removed
Zend\Diactoros\Uri
  • warning Removed
Zend\Diactoros\Response\SapiEmitter
  • warning Removed
Zend\Diactoros\Response\TextResponse
  • warning Added type hint int to parameter 1 from method __construct
Zend\Diactoros\Response\HtmlResponse
  • warning Added type hint int to parameter 1 from method __construct
Zend\Diactoros\Response\EmptyResponse
  • warning Added type hint int to parameter 0 from method __construct
Zend\Diactoros\Response\JsonResponse
  • warning Added type hint int to parameter 1 from method __construct
  • warning Added type hint int to parameter 3 from method __construct
  • warning Added type hint int to parameter 0 from method withEncodingOptions
Zend\Diactoros\Response\XmlResponse
  • warning Added type hint int to parameter 1 from method __construct
Zend\Diactoros\Response\SapiStreamEmitter
  • warning Removed
Zend\Diactoros\Response\Serializer
  • warning Removed
Zend\Diactoros\Response\RedirectResponse
  • warning Added type hint int to parameter 1 from method __construct
Zend\Diactoros\Request\Serializer
  • warning Removed
Zend\Diactoros\Server
  • warning Removed
Zend\Diactoros\CallbackStream
  • warning Removed
Zend\Diactoros\RelativeStream
  • warning Removed
Zend\Diactoros\ServerRequestFactory
  • warning Removed public method get
  • warning Removed public method getHeader
  • warning Removed public method normalizeServer
  • warning Removed public method normalizeFiles
  • warning Removed public method marshalHeaders
  • warning Removed public method marshalUriFromServer
  • warning Removed public method marshalHostAndPortFromHeaders
  • warning Removed public method marshalRequestUri
  • warning Removed public method stripQueryString
Zend\Diactoros\Request
  • warning Added type hint string to parameter 1 from method __construct
Zend\Diactoros\HeaderSecurity
  • warning Added type hint string to parameter 0 from method filter
Zend\Diactoros\Response
  • warning Added type hint int to parameter 1 from method __construct
Zend\Diactoros\ServerRequest
  • warning Added type hint string to parameter 3 from method __construct
  • warning Added type hint string to parameter 9 from method __construct
  • warning Removed public method getMethod
  • warning Removed public method withMethod
Zend\Diactoros\UploadedFile
  • warning Removed
Zend\Diactoros\Exception\DeprecatedMethodException
  • warning Removed

Could produce the following error messages

  • PHP Fatal error: Class 'Zend\Diactoros\Stream' not found
  • PHP Fatal error: Class 'Zend\Diactoros\Uri' not found
  • PHP Fatal error: Class 'Zend\Diactoros\Response\SapiEmitter' not found
  • PHP Fatal error: Class 'Zend\Diactoros\Response\SapiStreamEmitter' not found
  • PHP Fatal error: Class 'Zend\Diactoros\Response\Serializer' not found
  • PHP Fatal error: Class 'Zend\Diactoros\Request\Serializer' not found
  • PHP Fatal error: Class 'Zend\Diactoros\Server' not found
  • PHP Fatal error: Class 'Zend\Diactoros\CallbackStream' not found
  • PHP Fatal error: Class 'Zend\Diactoros\RelativeStream' not found
  • PHP Fatal error: Class 'Zend\Diactoros\UploadedFile' not found
  • PHP Fatal error: Class 'Zend\Diactoros\Exception\DeprecatedMethodException' not found