Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make progress bars the default output
In this change I have reintroduced the progress bar view and made it the default.
- Loading branch information
Showing
5 changed files
with
124 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
/** | ||
* This file is part of phpDocumentor. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* @author Mike van Riel <mike.vanriel@naenius.com> | ||
* @copyright 2010-2019 Mike van Riel / Naenius (http://www.naenius.com) | ||
* @license http://www.opensource.org/licenses/mit-license.php MIT | ||
* @link http://phpdoc.org | ||
*/ | ||
|
||
namespace phpDocumentor\Parser\Event; | ||
|
||
use phpDocumentor\Event\EventAbstract; | ||
|
||
/** | ||
* Event thrown before the parsing of an individual file. | ||
*/ | ||
final class PreParsingEvent extends EventAbstract | ||
{ | ||
/** @var integer */ | ||
protected $fileCount; | ||
|
||
public function setFileCount(int $fileCount): self | ||
{ | ||
$this->fileCount = $fileCount; | ||
|
||
return $this; | ||
} | ||
|
||
public function getFileCount(): int | ||
{ | ||
return $this->fileCount; | ||
} | ||
} |
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