Giter Club home page Giter Club logo

laminas-server's Introduction

laminas-server

Build Status

The laminas-server family of classes provides functionality for the various server classes, including Laminas\XmlRpc\Server and Laminas\Json\Server. Laminas\Server\Server provides an interface that mimics PHP 5โ€™s SoapServer class; all server classes should implement this interface in order to provide a standard server API.

laminas-server's People

Contributors

akrabat avatar arueckauer avatar bakura10 avatar dasprid avatar evandotpro avatar ezimuel avatar freeaqingme avatar froschdesign avatar ghostwriter avatar jonathanmaron avatar koopzington avatar maks3w avatar marc-mabe avatar michalbundyra avatar micheh avatar mikaelkael avatar mpinkston avatar mwillbanks avatar ocramius avatar padraic avatar ralphschindler avatar renovate[bot] avatar samsonasik avatar sgehrig avatar thinkscape avatar thomasweidner avatar vahid-sohrabloo avatar veewee avatar wdalmut avatar weierophinney avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laminas-server's Issues

laminas/laminas-zendframework-bridge removed without notice

BC Break Report

Q A
Version 2.13.0

Summary

In the last update laminas/laminas-zendframework-bridge was removed as dependency. This is not noted anywhere in the changelog and has a huge influence on other packages that depend on it like https://github.com/magento/magento2/

Previous behavior

laminas/laminas-zendframework-bridge was included

Current behavior

laminas/laminas-zendframework-bridge is not included anymore

How to reproduce

Update to 2.13.0

Creating a reflection class of AbstractConsoleController results in a wrong number of @param annotations beeing parsed

Trying to call \Zend\Server\Reflection::reflectClass for a class that extends \Zend\Mvc\Console\Controller\AbstractConsoleController seems to always result in the following exception:

Variable number of arguments is not supported for services (except optional parameters). Number of function arguments must correspond to actual number of arguments described in a docblock.

This seems to be because of the @inheritdoc of \Zend\Mvc\Console\Controller\AbstractConsoleController::dispatch and the dispatch functions of the parent classes. The resulting comment that is parsed looks like this:

/**
     * {@inheritdoc}
     

     * {@inheritdoc}
     

     * Dispatch a request
     *
     * @events dispatch.pre, dispatch.post
     * @param  Request $request
     * @param  null|Response $response
     * @return Response|mixed
     

     * Dispatch a request
     *
     * @param RequestInterface $request
     * @param null|ResponseInterface $response
     * @return Response|mixed
     */

There are 4 @param annotations in this text, and all 4 get parsed (see vendor/zendframework/zend-server/src/Reflection/AbstractFunction.php:284) while the actual function only has 2 parameters, resulting in the above mentioned exception.

The docblock comment seems to come from \Zend\Stdlib\DispatchableInterface::dispatch and \Zend\Mvc\Controller\AbstractController::dispatch, but I think the problem is not the Docblock itself but instead the way it is parsed. If more information is necessary, feel free to ask, I can reproduce the error without a problem.


Originally posted by @ThePatta at zendframework/zend-server#21

Remove laminas/laminas-zendframework-bridge dependency

Feature Request

Remove laminas/laminas-zendframework-bridge dependency.

Q A
New Feature yes
RFC no
BC Break no

Summary

laminas/laminas-zendframework-bridge is deprecated and should not be used anymore. Can this be removed from dependencies?

Release PHP 8 support

Hi, #23 brought support for PHP 8, but it's locked to 3.0.x branch which I don't know how soon will be released.

I'd like to ask for an estimate of work remaining to have a v3 release, or the willingness to merge a similar PR for v2 branch.

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Cannot find preset's package (github>whitesource/merge-confidence:beta)

Failing CI pipeline due to missing composer plugin allow-list

Bug Report

Q A
Version(s) *

Summary

CI is red due to the fact that composer requires projects composer.json to explicitly allow or disallow all composer-plugin dependencies.

Current behavior

CI is red.

How to reproduce

Simply run composer install with latest composer (at least >2.3.10)

Expected behavior

CI is green.

Exception when open lucene index (created by java lucene) for ZF Zend_Search_Lucene package

The indexes are created by java lucene 2.9.1. I want to use PHP 7 with zend framework to perform search using Zend_Search_Lucene package. I am getting below error with Zend_Search_Lucene package.

Fatal error: Uncaught Zend_Search_Lucene_Exception: Unsupported segments
file format in C:\xampp1\php\pear\Zend\Search\Lucene.php:422 Stack trace: #0
C:\xampp1\php\pear\Zend\Search\Lucene.php(570): Zend_Search_Lucene-

_readSegmentsFile()

Is there any way to get this working? OR could you please provide information about Zend Framework which include lucene 2.9.1 in Zend_Search_Lucene?

Also, How to check lucene version in Zend_Search_Lucene?

Your help will be appreciated. Thanks.


Originally posted by @vishalsharnagat at zendframework/zend-server#24

PHP 8.0 support

Feature Request

Q A
New Feature yes

Summary

To be prepared for the december release of PHP 8.0, this repository has some additional TODOs to be tested against the new major version.

In order to make this repository compatible, one has to follow these steps:

  • Modify composer.json to provide support for PHP 8.0 by adding the constraint ~8.0.0
  • Modify composer.json to drop support for PHP less than 7.3
  • Modify composer.json to implement phpunit 9.3 which supports PHP 7.3+
  • Modify .travis.yml to ignore platform requirements when installing composer dependencies (simply add --ignore-platform-reqs to COMPOSER_ARGS env variable)
  • Modify .travis.yml to add PHP 8.0 to the matrix (NOTE: Do not allow failures as PHP 8.0 has a feature freeze since 2020-08-04!)
  • Modify source code in case there are incompatibilities with PHP 8.0

Migration command for new interfaces

Feature Request

Q A
New Feature yes
RFC no
BC Break no

Summary

Version 3.0 introduces new interfaces ClientInterface and ServerInterface and dropping old interfaces Client and Server. A migration command that helps migrate imlementations would be very helpful for users.

At this point it is not clear, whether the interfaces will be compatible and thus a simple rename of class names will suffice.

Psalm integration

Feature Request

Q A
QA yes

Summary

As decided during the Technical-Steering-Committee Meeting on August 3rd, 2020, Laminas wants to implement vimeo/psalm in all packages.

Implementing psalm is quite easy.

Required

  • Create a .psalm.xml.dist in the project root
  • Copy and paste the contents from this psalm.xml.dist
  • Run $ composer require vimeo/psalm
  • Run $ vendor/bin/psalm --set-baseline=psalm-baseline.xml
  • Add a composer script static-analysis with the command psalm --shepherd --stats
  • Add a new line to script: in .travis.yml: - if [[ $TEST_COVERAGE == 'true' ]]; then composer static-analysis ; fi
  • Remove phpstan from the project (phpstan.neon.dist, .travis.yml entry, composer.json require-dev and scripts)
Optional
  • Fix as many psalm errors as possible.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Repository problems

These problems occurred while renovating this repository. View logs.

  • WARN: Use matchDepNames instead of matchPackageNames

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

composer
composer.json
  • php ~8.1.0 || ~8.2.0 || ~8.3.0
  • laminas/laminas-code ^4.7.1
  • laminas/laminas-stdlib ^3.3.1
  • laminas/laminas-coding-standard ~2.5.0
  • phpunit/phpunit ^9.5.5
  • psalm/plugin-phpunit ^0.18.0
  • vimeo/psalm ^4.6.4
github-actions
.github/workflows/continuous-integration.yml
.github/workflows/docs-build.yml
.github/workflows/release-on-milestone-closed.yml

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.