PHP code example of asispts / ptscs

1. Go to this page and download the library: Download asispts/ptscs 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/ */

    

asispts / ptscs example snippets


    declare(strict_types=1)
   

   public function test_something(): void {}
   

   // Not allowed
   class Foobar {}