-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(concerns): improve magic methods
- Refactor magic methods in the `ConcreteMagic` trait to explicitly specify return types. - Use PHPDoc annotations to suppress inspection warnings for magic methods in the `ConcreteMagic` trait. - Change visibility of the `normalizeOptions`, `normalizeOption`, `getDefaultSoarBinary`, and `createProcess` methods in the `HasOptions`, `HasSoarBinary`, and `WithRunable` traits from private to protected. - Add `@noinspection PhpUnused` annotations to the `dumpSoarDocblock` and `dumpSoarConfig` methods in the `ComposerScript` class. - Add `@noinspection PhpUnused` annotation to the `escapeCommand` method in the `EscapeArg` class. - Add `@noinspection PhpUnused` annotation to the `OS` class.
- Loading branch information
Showing
8 changed files
with
19 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<?php | ||
|
||
/** @noinspection PhpUnused */ | ||
|
||
declare(strict_types=1); | ||
|
||
/** | ||
|