mayflower/mo4-coding-standard

View on GitHub
MO4/Tests/WhiteSpace/MultipleEmptyLinesUnitTest.fail.inc.fixed

Summary

Maintainability
Test Coverage
<?php

/**
 * license header etc.
 */

/**
 * Failed examples.
 * @return void
 */
function wfFailedExamples() {
    $a = 1;

    $b = 2;
    
    // Comment

    // Comment 2

    // Comment 3

    /* Comment 4 */

    # Comment 5

    $c = 3;
}

/**
 * Passed examples.
 * @return void
 */
function wfPassedExamples() {
    $a = 1;

    $b = 2;
}