File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed 
src/DocBlock/Tags/Factory Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 4848    with :
4949      composer-root-version : " 5.x-dev" 
5050      upcoming-releases : true 
51+ 
52+   integration-tests :
53+     name : " Integration test" 
54+     uses : " phpDocumentor/.github/.github/workflows/continuous-integration.yml@v0.8" 
55+     with :
56+       composer-root-version : " 5.x-dev" 
57+       upcoming-releases : true 
58+       test-suite : " integration" 
Original file line number Diff line number Diff line change @@ -73,15 +73,13 @@ public function __construct(PHPStanFactory ...$factories)
7373
7474    public  function  create (string  $ tagLineTypeContext $ contextnull ): Tag 
7575    {
76-         $ tokens$ this tokenizeLine ($ tagLine
76+         $ tokens$ this tokenizeLine ($ tagLine .  "\n" );
7777        $ ast$ this parser ->parseTag ($ tokens
78-         if  (class_exists (ParserConfig::class) === false ) {
79-             if  (property_exists ($ astvalue , 'description ' ) === true ) {
80-                 $ astvalue ->setAttribute (
81-                     'description ' ,
82-                     $ astvalue ->description  . $ tokensjoinUntil (Lexer::TOKEN_END )
83-                 );
84-             }
78+         if  (property_exists ($ astvalue , 'description ' ) === true ) {
79+             $ astvalue ->setAttribute (
80+                 'description ' ,
81+                 rtrim ($ astvalue ->description  . $ tokensjoinUntil (Lexer::TOKEN_END ), "\n" )
82+             );
8583        }
8684
8785        if  ($ contextnull ) {
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments