Skip to content

Commit e865713

Browse files
Merge branch '9.1'
2 parents 89599a9 + c3619af commit e865713

30 files changed

Lines changed: 7 additions & 30 deletions

.php_cs.dist

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ return PhpCsFixer\Config::create()
110110
'no_spaces_after_function_name' => true,
111111
'no_spaces_inside_parenthesis' => true,
112112
'no_superfluous_elseif' => true,
113-
'no_superfluous_phpdoc_tags' => true,
113+
'no_superfluous_phpdoc_tags' => [
114+
'allow_mixed' => true,
115+
],
114116
'no_trailing_comma_in_list_call' => true,
115117
'no_trailing_comma_in_singleline_array' => true,
116118
'no_trailing_whitespace' => true,
@@ -157,7 +159,7 @@ return PhpCsFixer\Config::create()
157159
'direction' => 'ascend',
158160
'order' => 'alpha',
159161
],
160-
'phpdoc_add_missing_param_annotation' => true,
162+
'phpdoc_add_missing_param_annotation' => false,
161163
'phpdoc_align' => true,
162164
'phpdoc_annotation_without_dot' => true,
163165
'phpdoc_indent' => true,

phive.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
33
<phar name="phpab" version="^1.25" installed="1.25.9" location="./tools/phpab" copy="true"/>
4-
<phar name="php-cs-fixer" version="^2.16" installed="2.16.1" location="./tools/php-cs-fixer" copy="true"/>
4+
<phar name="php-cs-fixer" version="^2.16" installed="2.16.2" location="./tools/php-cs-fixer" copy="true"/>
55
<phar name="phpdox" version="^0.12" installed="0.12.0" location="./tools/phpdox" copy="true"/>
66
<phar name="phploc" version="^4.0" installed="4.0.1" location="./tools/phploc" copy="true"/>
77
<phar name="psalm" version="^3.6" installed="3.11.1" location="./tools/psalm" copy="true"/>

src/Util/Printer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
class Printer
1616
{
1717
/**
18-
* @var closed-resource|resource
18+
* @psalm-var closed-resource|resource
1919
*/
2020
private $stream;
2121

src/Util/VersionComparisonOperator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
final class VersionComparisonOperator
1717
{
1818
/**
19-
* @var '<'|'lt'|'<='|'le'|'>'|'gt'|'>='|'ge'|'=='|'='|'eq'|'!='|'<>'|'ne'
19+
* @psalm-var '<'|'lt'|'<='|'le'|'>'|'gt'|'>='|'ge'|'=='|'='|'eq'|'!='|'<>'|'ne'
2020
*/
2121
private $operator;
2222

tests/_files/3194.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
1110
use PHPUnit\Framework\TestCase;
1211

1312
trait T3194

tests/_files/Author.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
1110
/**
1211
* An author.
1312
*/

tests/_files/BankAccount.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
1110
class BankAccountException extends RuntimeException
1211
{
1312
}

tests/_files/BankAccountTest2.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
1110
use PHPUnit\Framework\TestCase;
1211

1312
class BankAccountTest extends TestCase

tests/_files/Book.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
1110
/**
1211
* A book.
1312
*/

tests/_files/ClassWithToString.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
* For the full copyright and license information, please view the LICENSE
88
* file that was distributed with this source code.
99
*/
10-
1110
/**
1211
* A class with a __toString() method.
1312
*/

0 commit comments

Comments
 (0)