Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 1... Línea 1...
1
<?php
1
<?php
Línea 2... Línea -...
2
 
-
 
3
declare(strict_types=1);
2
 
4
/**
3
/**
5
 * SimplePie
4
 * SimplePie
6
 *
5
 *
7
 * A PHP-Based RSS and Atom Feed Framework.
6
 * A PHP-Based RSS and Atom Feed Framework.
Línea 154... Línea 153...
154
            // trigger_error(sprintf('"%s"(): Using argument #1 ($type) with value "%s" is deprecated since SimplePie 1.8.0, use class-string "%s" instead.', __METHOD__, $type, $this->legacyTypes[$type]), \E_USER_DEPRECATED);
153
            // trigger_error(sprintf('"%s"(): Using argument #1 ($type) with value "%s" is deprecated since SimplePie 1.8.0, use class-string "%s" instead.', __METHOD__, $type, $this->legacyTypes[$type]), \E_USER_DEPRECATED);
Línea 155... Línea 154...
155
 
154
 
156
            $type = $this->legacyTypes[$type];
155
            $type = $this->legacyTypes[$type];
Línea 157... Línea 156...
157
        }
156
        }
158
 
157
 
159
        if (! array_key_exists($type, $this->default)) {
158
        if (!array_key_exists($type, $this->default)) {
Línea 160... Línea 159...
160
            return false;
159
            return false;
161
        }
160
        }
Línea 195... Línea 194...
195
            // trigger_error(sprintf('"%s"(): Using argument #1 ($type) with value "%s" is deprecated since SimplePie 1.8.0, use class-string "%s" instead.', __METHOD__, $type, $this->legacyTypes[$type]), \E_USER_DEPRECATED);
194
            // trigger_error(sprintf('"%s"(): Using argument #1 ($type) with value "%s" is deprecated since SimplePie 1.8.0, use class-string "%s" instead.', __METHOD__, $type, $this->legacyTypes[$type]), \E_USER_DEPRECATED);
Línea 196... Línea 195...
196
 
195
 
197
            $type = $this->legacyTypes[$type];
196
            $type = $this->legacyTypes[$type];
Línea 198... Línea 197...
198
        }
197
        }
199
 
198
 
200
        if (! array_key_exists($type, $this->default)) {
199
        if (!array_key_exists($type, $this->default)) {
Línea 201... Línea 200...
201
            return null;
200
            return null;