File tree 1 file changed +1
-9
lines changed
lib/Doctrine/Common/Annotations 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -154,20 +154,12 @@ static public function addGlobalIgnoredName($name)
154
154
*/
155
155
public function __construct ()
156
156
{
157
- if (extension_loaded ('Zend Optimizer+ ' ) && (ini_get ('zend_optimizerplus.save_comments ' ) === "0 " || ini_get ('opcache.save_comments ' ) === "0 " )) {
158
- throw AnnotationException::optimizerPlusSaveComments ();
159
- }
160
-
161
- if (extension_loaded ('Zend OPcache ' ) && ini_get ('opcache.save_comments ' ) == 0 ) {
162
- throw AnnotationException::optimizerPlusSaveComments ();
163
- }
164
-
165
157
if (PHP_VERSION_ID < 70000 ) {
166
158
if (extension_loaded ('Zend Optimizer+ ' ) && (ini_get ('zend_optimizerplus.load_comments ' ) === "0 " || ini_get ('opcache.load_comments ' ) === "0 " )) {
167
159
throw AnnotationException::optimizerPlusLoadComments ();
168
160
}
169
161
170
- if (extension_loaded ('Zend OPcache ' ) && ini_get ('opcache.load_comments ' ) == 0 ) {
162
+ if (extension_loaded ('Zend OPcache ' ) && ini_get ('opcache.load_comments ' ) === " 0 " ) {
171
163
throw AnnotationException::optimizerPlusLoadComments ();
172
164
}
173
165
}
You can’t perform that action at this time.
0 commit comments