Skip to content

Commit 57df96d

Browse files
committed
Merge branch 'cleanup'
2 parents 0074858 + 8f579a9 commit 57df96d

File tree

18 files changed

+50
-54
lines changed

18 files changed

+50
-54
lines changed

.phive/phars.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="lkrms/pretty-php" version="^0.4.48" installed="0.4.87" location="./tools/pretty-php" copy="true"/>
4-
<phar name="php-cs-fixer" version="^3.46.0" installed="3.68.0" location="./tools/php-cs-fixer" copy="true"/>
3+
<phar name="lkrms/pretty-php" version="^0.4.48" installed="0.4.88" location="./tools/pretty-php" copy="true"/>
4+
<phar name="php-cs-fixer" version="^3.46.0" installed="3.68.1" location="./tools/php-cs-fixer" copy="true"/>
55
<phar name="salient-labs/changelog" version="^1.0.5" installed="1.0.8" location="./tools/changelog" copy="true"/>
66
</phive>

.php-cs-fixer.dist.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
'phpdoc_no_useless_inheritdoc' => true,
4949
'phpdoc_order' => ['order' => [
5050
'todo',
51+
'see',
5152
'property',
5253
'property-read',
5354
'property-write',

src/Toolkit/Cli/CliCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,9 +1370,9 @@ final protected function isRunning(): bool
13701370
/**
13711371
* Set the command's return value / exit status
13721372
*
1373-
* @return $this
1374-
*
13751373
* @see CliCommand::run()
1374+
*
1375+
* @return $this
13761376
*/
13771377
final protected function setExitStatus(int $status)
13781378
{

src/Toolkit/Core/Concern/HasReadableProperties.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
* - The existence of `_get<Property>()` makes `<Property>` readable, regardless
1616
* of {@see Readable::getReadableProperties()}'s return value.
1717
*
18-
* @api
19-
*
2018
* @see Readable
19+
*
20+
* @api
2121
*/
2222
trait HasReadableProperties
2323
{

src/Toolkit/Core/Concern/HasWritableProperties.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
* - The existence of `_set<Property>()` makes `<Property>` writable, regardless
1616
* of {@see Writable::getWritableProperties()}'s return value.
1717
*
18-
* @api
19-
*
2018
* @see Writable
19+
*
20+
* @api
2121
*/
2222
trait HasWritableProperties
2323
{

src/Toolkit/Core/Concern/ProvidableTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
/**
1717
* Implements Providable to represent an external entity
1818
*
19+
* @see Providable
20+
*
1921
* @template TProvider of ProviderInterface
2022
* @template TContext of ProviderContextInterface
21-
*
22-
* @see Providable
2323
*/
2424
trait ProvidableTrait
2525
{

src/Toolkit/Core/IntrospectionClass.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,13 +661,13 @@ function (int $a, int $b) use ($parents, $properties) {
661661
* Normalise strings if the class has a normaliser, otherwise return them
662662
* as-is
663663
*
664+
* @see Normalisable::normalise()
665+
*
664666
* @template T of string[]|string
665667
*
666668
* @param T $value
667669
* @param int-mask-of<NormaliserFlag::*> $flags
668670
* @return T
669-
*
670-
* @see Normalisable::normalise()
671671
*/
672672
final public function maybeNormalise($value, int $flags = NormaliserFlag::GREEDY)
673673
{

src/Toolkit/Core/Introspector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,13 @@ final public function __get(string $name)
176176
* Normalise strings if the class has a normaliser, otherwise return them
177177
* as-is
178178
*
179+
* @see Normalisable::normalise()
180+
*
179181
* @template T of string[]|string
180182
*
181183
* @param T $value
182184
* @param int-mask-of<NormaliserFlag::*> $flags
183185
* @return T
184-
*
185-
* @see Normalisable::normalise()
186186
*/
187187
final public function maybeNormalise($value, int $flags = NormaliserFlag::GREEDY)
188188
{

src/Toolkit/Core/IntrospectorKeyTargets.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
/**
1212
* How to create or update an instance from an array
1313
*
14+
* @see Introspector
15+
*
1416
* @property-read array<string,int> $Parameters Key => constructor parameter index
1517
* @property-read array<string,true> $PassByRefParameters Key => `true`
1618
* @property-read array<string,true> $NotNullableParameters Key => `true`
@@ -22,8 +24,6 @@
2224
* @property-read array<TIntrospector::*_KEY,string> $CustomKeys Identifier => key
2325
* @property-read int $LastParameterIndex Index of the last constructor parameter to which array values are mapped
2426
*
25-
* @see Introspector
26-
*
2727
* @template TIntrospector of Introspector
2828
* @template TClass of object
2929
* @template TProvider of ProviderInterface

src/Toolkit/Sli/Command/Generate/AbstractGenerateCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,9 +753,9 @@ protected function generate(array $innerBlocks = []): string
753753
/**
754754
* Generate a list of `use $fqcn[ as $alias];` statements
755755
*
756-
* @return string[]
757-
*
758756
* @see AbstractGenerateCommand::getFqcnAlias()
757+
*
758+
* @return string[]
759759
*/
760760
protected function generateImports(): array
761761
{

0 commit comments

Comments
 (0)