laminas / laminas-server Goto Github PK
View Code? Open in Web Editor NEWCreate Reflection-based RPC servers
Home Page: https://docs.laminas.dev/laminas-server/
License: BSD 3-Clause "New" or "Revised" License
Create Reflection-based RPC servers
Home Page: https://docs.laminas.dev/laminas-server/
License: BSD 3-Clause "New" or "Revised" License
Q | A |
---|---|
New Feature | no |
RFC | no |
BC Break | no |
Document the purpose of this method, for those implementing it.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These problems occurred while renovating this repository. View logs.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
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/workflows/continuous-integration.yml
.github/workflows/docs-build.yml
.github/workflows/release-on-milestone-closed.yml
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
Q | A |
---|---|
QA | yes |
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.
.psalm.xml.dist
in the project root$ composer require vimeo/psalm
$ vendor/bin/psalm --set-baseline=psalm-baseline.xml
static-analysis
with the command psalm --shepherd --stats
script:
in .travis.yml
: - if [[ $TEST_COVERAGE == 'true' ]]; then composer static-analysis ; fi
phpstan.neon.dist
, .travis.yml
entry, composer.json
require-dev
and scripts
)Q | A |
---|---|
Version | 2.13.0 |
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/
laminas/laminas-zendframework-bridge
was included
laminas/laminas-zendframework-bridge
is not included anymore
Update to 2.13.0
Q | A |
---|---|
Version(s) | * |
CI is red due to the fact that composer requires projects composer.json
to explicitly allow or disallow all composer-plugin
dependencies.
CI is red.
Simply run composer install
with latest composer (at least >2.3.10)
CI is green.
Q | A |
---|---|
New Feature | yes |
RFC | no |
BC Break | no |
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.
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)
Q | A |
---|---|
New Feature | yes |
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:
composer.json
to provide support for PHP 8.0 by adding the constraint ~8.0.0
composer.json
to drop support for PHP less than 7.3composer.json
to implement phpunit 9.3 which supports PHP 7.3+.travis.yml
to ignore platform requirements when installing composer dependencies (simply add --ignore-platform-reqs
to COMPOSER_ARGS
env variable).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!)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
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.
Remove laminas/laminas-zendframework-bridge dependency.
Q | A |
---|---|
New Feature | yes |
RFC | no |
BC Break | no |
laminas/laminas-zendframework-bridge is deprecated and should not be used anymore. Can this be removed from dependencies?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.