Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
php-phpdocumentor-reflection-docblock
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian PHP Team
PEAR
php-phpdocumentor-reflection-docblock
Commits
fe114c6d
Commit
fe114c6d
authored
3 months ago
by
David Prévot
Browse files
Options
Downloads
Plain Diff
New upstream version 5.6.2
parents
1e335fa2
92dde6a5
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/integrate.yaml
+7
-9
7 additions, 9 deletions
.github/workflows/integrate.yaml
composer.lock
+11
-13
11 additions, 13 deletions
composer.lock
src/DocBlock/Tags/Factory/AbstractPHPStanFactory.php
+6
-8
6 additions, 8 deletions
src/DocBlock/Tags/Factory/AbstractPHPStanFactory.php
with
24 additions
and
30 deletions
.github/workflows/integrate.yaml
+
7
−
9
View file @
fe114c6d
...
...
@@ -49,12 +49,10 @@ jobs:
composer-root-version
:
"
5.x-dev"
upcoming-releases
:
true
bc_check
:
name
:
"
BC
Check"
runs-on
:
"
ubuntu-latest"
steps
:
-
uses
:
"
actions/checkout@v3"
-
name
:
"
fetch
tags"
run
:
"
git
fetch
--depth=1
origin
+refs/tags/*:refs/tags/*"
-
name
:
"
BC
Check"
uses
:
"
docker://nyholm/roave-bc-check-ga"
integration-tests
:
name
:
"
Integration
test"
uses
:
"
phpDocumentor/.github/.github/workflows/continuous-integration.yml@v0.8"
with
:
composer-root-version
:
"
5.x-dev"
upcoming-releases
:
true
test-suite
:
"
integration"
This diff is collapsed.
Click to expand it.
composer.lock
+
11
−
13
View file @
fe114c6d
...
...
@@ -8,29 +8,27 @@
"packages": [
{
"name": "doctrine/deprecations",
"version": "1.1.
3
",
"version": "1.1.
4
",
"source": {
"type": "git",
"url": "https://github.com/doctrine/deprecations.git",
"reference": "
dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab
"
"reference": "
31610dbb31faa98e6b5447b62340826f54fbc4e9
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/deprecations/zipball/
dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab
",
"reference": "
dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab
",
"url": "https://api.github.com/repos/doctrine/deprecations/zipball/
31610dbb31faa98e6b5447b62340826f54fbc4e9
",
"reference": "
31610dbb31faa98e6b5447b62340826f54fbc4e9
",
"shasum": ""
},
"require": {
"php": "^7.1 || ^8.0"
},
"require-dev": {
"doctrine/coding-standard": "^9",
"phpstan/phpstan": "1.4.10 ||
1.10.15
",
"phpstan/phpstan-phpunit": "^1.0",
"doctrine/coding-standard": "^9
|| ^12
",
"phpstan/phpstan": "1.4.10 ||
2.0.3
",
"phpstan/phpstan-phpunit": "^1.0
|| ^2
",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
"psalm/plugin-phpunit": "0.18.4",
"psr/log": "^1 || ^2 || ^3",
"vimeo/psalm": "4.30.0 || 5.12.0"
"psr/log": "^1 || ^2 || ^3"
},
"suggest": {
"psr/log": "Allows logging deprecations via PSR-3 logger implementation"
...
...
@@ -38,7 +36,7 @@
"type": "library",
"autoload": {
"psr-4": {
"Doctrine\\Deprecations\\": "
lib/Doctrine/Deprecations
"
"Doctrine\\Deprecations\\": "
src
"
}
},
"notification-url": "https://packagist.org/downloads/",
...
...
@@ -49,9 +47,9 @@
"homepage": "https://www.doctrine-project.org/",
"support": {
"issues": "https://github.com/doctrine/deprecations/issues",
"source": "https://github.com/doctrine/deprecations/tree/1.1.
3
"
"source": "https://github.com/doctrine/deprecations/tree/1.1.
4
"
},
"time": "2024-
01-30T19:34:2
5+00:00"
"time": "2024-
12-07T21:18:4
5+00:00"
},
{
"name": "phpdocumentor/reflection-common",
...
...
This diff is collapsed.
Click to expand it.
src/DocBlock/Tags/Factory/AbstractPHPStanFactory.php
+
6
−
8
View file @
fe114c6d
...
...
@@ -73,15 +73,13 @@ class AbstractPHPStanFactory implements Factory
public
function
create
(
string
$tagLine
,
?TypeContext
$context
=
null
):
Tag
{
$tokens
=
$this
->
tokenizeLine
(
$tagLine
);
$tokens
=
$this
->
tokenizeLine
(
$tagLine
.
"
\n
"
);
$ast
=
$this
->
parser
->
parseTag
(
$tokens
);
if
(
class_exists
(
ParserConfig
::
class
)
===
false
)
{
if
(
property_exists
(
$ast
->
value
,
'description'
)
===
true
)
{
$ast
->
value
->
setAttribute
(
'description'
,
$ast
->
value
->
description
.
$tokens
->
joinUntil
(
Lexer
::
TOKEN_END
)
);
}
if
(
property_exists
(
$ast
->
value
,
'description'
)
===
true
)
{
$ast
->
value
->
setAttribute
(
'description'
,
rtrim
(
$ast
->
value
->
description
.
$tokens
->
joinUntil
(
Lexer
::
TOKEN_END
),
"
\n
"
)
);
}
if
(
$context
===
null
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment