Skip to content

Problem with "phps" files #3

@danielmarschall

Description

@danielmarschall

Hello,

I have found a small problem. In my source codes, I have some ".phps" files (PHP source)

These files make some trouble in scan-dependencies.php :

Example:

PHP Warning: file_get_contents(/..../example.php): Failed to open stream: No such file or directory in /.../php-dependencies/CodeDependency.php on line 59

The actual existing file is called example.phps .

I think the RegEx php_file_match should be adjusted so that also .phps, .php3, .php4, etc. files are allowed.

But there is still another issue:

Eclipse creates the following files:

$ ls -l /.../.settings/
-rw-r--r-- 1 root root   359 Nov  7 12:26 org.eclipse.core.resources.prefs
-rw-r--r-- 1 root root  1363 Nov  7 12:26 org.eclipse.php.core.prefs
-rw-r--r-- 1 root root 18836 Nov  7 12:26 org.eclipse.php.formatter.core.prefs
-rw-r--r-- 1 root root   148 Nov  7 12:26 org.eclipse.php.ui.prefs
-rw-r--r-- 1 root root   308 Nov  7 12:26 org.eclipse.wst.common.project.facet.core.xml
-rw-r--r-- 1 root root   870 Nov  7 12:26 org.eclipse.wst.html.core.prefs
-rw-r--r-- 1 root root  2901 Nov  7 12:26 org.eclipse.wst.jsdt.core.prefs
-rw-r--r-- 1 root root    49 Nov  7 12:26 org.eclipse.wst.jsdt.ui.superType.container
-rw-r--r-- 1 root root     6 Nov  7 12:26 org.eclipse.wst.jsdt.ui.superType.name

These files give the error message:

PHP Warning: file_get_contents(/.../.settings/org.eclipse.php): Failed to open stream: No such file or directory in /.../php-dependencies/CodeDependency.php on line 59

However, these files are obviously no PHP files.

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