Skip to content

DirectoryCleaner still not working #216

@joshua-paddle

Description

@joshua-paddle

Supposed to be fixed in 25c4aa7, but the fix still produces error:

Oups... phpDox encountered a problem and has terminated!

It most likely means you've found a bug, so please file a report for this
and paste the following details and the stacktrace (if given) along:

PHP Version: 5.5.9-1ubuntu4.7 (Linux)
PHPDox Version: 0.7.0-114-gc4abab4
ErrorException: E_WARNING 
Location: /usr/local/bin/phpdox-src/src/shared/DirectoryCleaner.php (Line 24)

unlink(/tmp/phpdox/master/docs/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/html/classes): No such file or directory

#0 /usr/local/bin/phpdox-src/src/shared/DirectoryCleaner.php(24): unlink()
#1 /usr/local/bin/phpdox-src/src/shared/DirectoryCleaner.php(22): TheSeer\phpDox\DirectoryCleaner->process()
... same line repeats ...
#41 /usr/local/bin/phpdox-src/src/generator/engine/AbstractEngine.php(56): TheSeer\phpDox\DirectoryCleaner->process()
#42 /usr/local/bin/phpdox-src/src/generator/engine/html/Html.php(133): TheSeer\phpDox\Generator\Engine\AbstractEngine->clearDirectory()
#43 unknown(0): TheSeer\phpDox\Generator\Engine\Html->buildStart()
#44 /usr/local/bin/phpdox-src/src/generator/Generator.php(203): call_user_func()
#45 /usr/local/bin/phpdox-src/src/generator/Generator.php(140): TheSeer\phpDox\Generator\Generator->handleEvent()
#46 /usr/local/bin/phpdox-src/src/Application.php(241): TheSeer\phpDox\Generator\Generator->run()
#47 /usr/local/bin/phpdox-src/src/CLI.php(165): TheSeer\phpDox\Application->runGenerator()
#48 /usr/local/bin/phpdox-src/phpdox(68): TheSeer\phpDox\CLI->run()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions