public function Bar::incDecTest in Coder 8.2
Test the ++ and -- operator.
File
- coder_sniffer/
Drupal/ Test/ good/ good.php, line 633 - This file contains all the valid notations for the drupal coding standard.
Class
- Bar
- Class declaration.
Code
public function incDecTest() {
$this->foo++;
$this->foo--;
--$this->foo;
++$this->foo;
}