deprecated_code.php

File

core/tests/fixtures/deprecated_code.php

View source
<?php

// @phpcs:ignoreFile

/**
 * This class triggers an E_DEPRECATED notice.
 *
 * @see
 */
class PhpDeprecation implements \IteratorAggregate {
    
    /**
     * {@inheritdoc}
     */
    public function getIterator() {
    }

}

Classes

Title Deprecated Summary
PhpDeprecation This class triggers an E_DEPRECATED notice.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.