Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of undefined constant ENT_DISALLOWED - assumed 'ENT_DISALLOWED' #202

Closed
gimli2 opened this issue Feb 13, 2015 · 3 comments
Closed

Use of undefined constant ENT_DISALLOWED - assumed 'ENT_DISALLOWED' #202

gimli2 opened this issue Feb 13, 2015 · 3 comments

Comments

@gimli2
Copy link

gimli2 commented Feb 13, 2015

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.3.6 (WINNT)
PHPDox Version: 0.7.0
ErrorException: E_NOTICE
Location: phar://F:/web-localhost/phpDox.phar/phpdox/collector/project/Tokenizer
.php (Line 138)

Use of undefined constant ENT_DISALLOWED - assumed 'ENT_DISALLOWED'
#0 phar://F:/web-localhost/phpDox.phar/phpdox/collector/project/Tokenizer.php(10

5): TheSeer\phpDox\Collector\Tokenizer->addToken()
#1 phar://F:/web-localhost/phpDox.phar/phpdox/collector/project/SourceFile.php(8

1): TheSeer\phpDox\Collector\Tokenizer->toXML()
#2 phar://F:/web-localhost/phpDox.phar/phpdox/collector/project/Project.php(352)

: TheSeer\phpDox\Collector\SourceFile->getTokens()
#3 phar://F:/web-localhost/phpDox.phar/phpdox/collector/project/Project.php(270)

: TheSeer\phpDox\Collector\Project->saveSources()
#4 phar://F:/web-localhost/phpDox.phar/phpdox/Application.php(138): TheSeer\phpD

ox\Collector\Project->save()
#5 phar://F:/web-localhost/phpDox.phar/phpdox/CLI.php(148): TheSeer\phpDox\Appli

cation->runCollector()
#6 F:\web-localhost\phpDox.phar(460): TheSeer\phpDox\CLI->run()

@joskfg
Copy link

joskfg commented Feb 17, 2015

I have the same problem. The constant is defined in PHP5.4 and I'm using PHP5.3 so the constant is undefined. The composer.json says that the package is compatible with PHP >= 5.3.3 but it isn't true just now.

Can you fix it?

@theseer
Copy link
Owner

theseer commented Feb 17, 2015

This is indeed a bug in 0.7.0 and has already been fixed in dev master.
Duplicate of #193.

@theseer theseer closed this as completed Feb 17, 2015
@ginside
Copy link

ginside commented Mar 30, 2015

Hello, as mentionned in the first message of this issue, op has runned phpdox through a phar archive. I had the same issue when trying to use phpdox through a phar downloaded today. Do you know when the fix will be included into a phar release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants