-
Notifications
You must be signed in to change notification settings - Fork 937
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem with opcache.save_comments=0 #357
Comments
I've upgraded to PHP 7.1.0 and ran the unittests without a problem. Since the latest swagger-php version, the default is to scan only Could you investigate what the issue is and provide the offending code-snippet? |
I think it's because swagger-php generates a user notice on 7.1 about @drdim, could you turn off Yii's error handler and check the result again? I think it can help to understand what's wrong. A small notice might not affect the unit tests and the results, but with "fanatic" error handlers it's a problem (that should be fixed, of course). |
If yii_debug sets to false on php 7.1 - i get on generate 500 error. On php7.0.14 work fine. php 7.1 if disable all error php.ini: I think problem with parsing files in structure directories. |
Problem related with enable option in |
swagger-php now checks for if |
With this version can get error
{"name":"PHP User Notice","message":"Required @swg\Info() not found","code":1024,"type":"yii\base\ErrorException","file":"/vagrant/vendor/zircote/swagger-...
On latest version php 7.0.14 without error and generate json normal. Configureation php modules, php.ini - identical.
The text was updated successfully, but these errors were encountered: