PHP code example of babu-ch / phpcs-aaa

1. Go to this page and download the library: Download babu-ch/phpcs-aaa library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

babu-ch / phpcs-aaa example snippets


public function testAdds(): void
{
    // arrange
    $a = 1;
    $b = 2;

    // act
    $sum = $a + $b;

    // assert
    $this->assertSame(3, $sum);
}