@@ -7,7 +7,7 @@ discard block  | 
                                                    ||
| 7 | 7 | * @version v0.3.0  | 
                                                        
| 8 | 8 | */  | 
                                                        
| 9 | 9 | |
| 10 | -declare(strict_types=1);  | 
                                                        |
| 10 | +declare(strict_types = 1);  | 
                                                        |
| 11 | 11 | |
| 12 | 12 | namespace AustinHeap\Security\Txt;  | 
                                                        
| 13 | 13 | |
@@ -28,77 +28,77 @@ discard block  | 
                                                    ||
| 28 | 28 | *  | 
                                                        
| 29 | 29 | * @var string  | 
                                                        
| 30 | 30 | */  | 
                                                        
| 31 | - const VERSION = '0.3.0';  | 
                                                        |
| 31 | + const VERSION = '0.3.0';  | 
                                                        |
| 32 | 32 | |
| 33 | 33 | /**  | 
                                                        
| 34 | 34 | * Internal parent object.  | 
                                                        
| 35 | 35 | *  | 
                                                        
| 36 | 36 | * @var \AustinHeap\Security\Txt\Writer|\AustinHeap\Security\Txt\Reader  | 
                                                        
| 37 | 37 | */  | 
                                                        
| 38 | - private $parent = null;  | 
                                                        |
| 38 | + private $parent = null;  | 
                                                        |
| 39 | 39 | |
| 40 | 40 | /**  | 
                                                        
| 41 | 41 | * Internal Writer object.  | 
                                                        
| 42 | 42 | *  | 
                                                        
| 43 | 43 | * @var \AustinHeap\Security\Txt\Writer  | 
                                                        
| 44 | 44 | */  | 
                                                        
| 45 | - protected $writer = null;  | 
                                                        |
| 45 | + protected $writer = null;  | 
                                                        |
| 46 | 46 | |
| 47 | 47 | /**  | 
                                                        
| 48 | 48 | * Internal Reader object.  | 
                                                        
| 49 | 49 | *  | 
                                                        
| 50 | 50 | * @var \AustinHeap\Security\Txt\Reader  | 
                                                        
| 51 | 51 | */  | 
                                                        
| 52 | - protected $reader = null;  | 
                                                        |
| 52 | + protected $reader = null;  | 
                                                        |
| 53 | 53 | |
| 54 | 54 | /**  | 
                                                        
| 55 | 55 | * Internal text cache.  | 
                                                        
| 56 | 56 | *  | 
                                                        
| 57 | 57 | * @var string  | 
                                                        
| 58 | 58 | */  | 
                                                        
| 59 | - protected $text = null;  | 
                                                        |
| 59 | + protected $text = null;  | 
                                                        |
| 60 | 60 | |
| 61 | 61 | /**  | 
                                                        
| 62 | 62 | * Enable debug output.  | 
                                                        
| 63 | 63 | *  | 
                                                        
| 64 | 64 | * @var bool  | 
                                                        
| 65 | 65 | */  | 
                                                        
| 66 | - protected $debug = false;  | 
                                                        |
| 66 | + protected $debug = false;  | 
                                                        |
| 67 | 67 | |
| 68 | 68 | /**  | 
                                                        
| 69 | 69 | * Enable built-in comments.  | 
                                                        
| 70 | 70 | *  | 
                                                        
| 71 | 71 | * @var bool  | 
                                                        
| 72 | 72 | */  | 
                                                        
| 73 | - protected $comments = true;  | 
                                                        |
| 73 | + protected $comments = true;  | 
                                                        |
| 74 | 74 | |
| 75 | 75 | /**  | 
                                                        
| 76 | 76 | * The security contact(s).  | 
                                                        
| 77 | 77 | *  | 
                                                        
| 78 | 78 | * @var array  | 
                                                        
| 79 | 79 | */  | 
                                                        
| 80 | - protected $contacts = [];  | 
                                                        |
| 80 | + protected $contacts = [];  | 
                                                        |
| 81 | 81 | |
| 82 | 82 | /**  | 
                                                        
| 83 | 83 | * The PGP key file URL.  | 
                                                        
| 84 | 84 | *  | 
                                                        
| 85 | 85 | * @var string  | 
                                                        
| 86 | 86 | */  | 
                                                        
| 87 | - protected $encryption = null;  | 
                                                        |
| 87 | + protected $encryption = null;  | 
                                                        |
| 88 | 88 | |
| 89 | 89 | /**  | 
                                                        
| 90 | 90 | * The disclosure policy.  | 
                                                        
| 91 | 91 | *  | 
                                                        
| 92 | 92 | * @var string  | 
                                                        
| 93 | 93 | */  | 
                                                        
| 94 | - protected $disclosure = null;  | 
                                                        |
| 94 | + protected $disclosure = null;  | 
                                                        |
| 95 | 95 | |
| 96 | 96 | /**  | 
                                                        
| 97 | 97 | * The acknowledgement URL.  | 
                                                        
| 98 | 98 | *  | 
                                                        
| 99 | 99 | * @var string  | 
                                                        
| 100 | 100 | */  | 
                                                        
| 101 | - protected $acknowledgement = null;  | 
                                                        |
| 101 | + protected $acknowledgement = null;  | 
                                                        |
| 102 | 102 | |
| 103 | 103 | /**  | 
                                                        
| 104 | 104 | * Create a new SecurityTxt instance.  | 
                                                        
@@ -116,7 +116,7 @@ discard block  | 
                                                    ||
| 116 | 116 | |
| 117 | 117 | if (!$this->parent instanceof Reader &&  | 
                                                        
| 118 | 118 | !$this->parent instanceof Writer)  | 
                                                        
| 119 | -            throw new Exception('Cannot create ' . __CLASS__ . ' with $parent class: ' . get_class($this->parent)); | 
                                                        |
| 119 | +            throw new Exception('Cannot create '.__CLASS__.' with $parent class: '.get_class($this->parent)); | 
                                                        |
| 120 | 120 | |
| 121 | 121 | return $this;  | 
                                                        
| 122 | 122 | }  | 
                                                        
@@ -115,8 +115,9 @@  | 
                                                    ||
| 115 | 115 | $this->parent = $parent;  | 
                                                        
| 116 | 116 | |
| 117 | 117 | if (!$this->parent instanceof Reader &&  | 
                                                        
| 118 | - !$this->parent instanceof Writer)  | 
                                                        |
| 119 | -            throw new Exception('Cannot create ' . __CLASS__ . ' with $parent class: ' . get_class($this->parent)); | 
                                                        |
| 118 | +            !$this->parent instanceof Writer) { | 
                                                        |
| 119 | +                    throw new Exception('Cannot create ' . __CLASS__ . ' with $parent class: ' . get_class($this->parent)); | 
                                                        |
| 120 | + }  | 
                                                        |
| 120 | 121 | |
| 121 | 122 | return $this;  | 
                                                        
| 122 | 123 | }  |