This is an automated email from the ASF dual-hosted git repository. junichi11 pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
from e418ee1003 Merge pull request #6169 from junichi11/php-update-php-sample-for-phpunit new 4da2d495f8 Support for nullable types in vardoc #6075 new 1f50e9eb05 Fix "Fix Imports" for vardoc with a nullable type #6075 new ff8f2cc1f7 Add unit tests for #6162 new 954ab1d28a Merge pull request #6170 from junichi11/php-gh-6075-vardoc-with-nullable-type The 8791 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../php/editor/actions/ImportDataCreator.java | 19 +- .../php/editor/actions/UsedNamesCollector.java | 11 +- .../modules/php/editor/parser/ASTPHP5Scanner.java | 255 +++++++++++---------- .../php/editor/parser/UnusedUsesCollector.java | 5 +- .../ASTPHP5ParserTest/parser/issueGH6075_01.pass | 250 ++++++++++++++++++++ .../gh6075_01.php} | 25 +- .../data/testfiles/actions/gh6075_01.php.usedNames | 2 + .../gh6075_02.php} | 25 +- .../data/testfiles/actions/gh6075_02.php.usedNames | 0 .../gh6162_01.php} | 28 +-- .../data/testfiles/actions/gh6162_01.php.usedNames | 0 .../testGH6075/01/Vendor/User.php} | 25 +- .../testGH6075/01/testGH6075_01.php} | 25 +- .../testGH6075/01/testGH6075_01.php.fixUses} | 27 +-- .../testGH6075/Vendor/User.php} | 25 +- .../testGH6075/testGH6075_01.php} | 25 +- .../testGH6075/testGH6075_01.php.importData | 12 + .../testGH6162/01/Vendor/User.php} | 25 +- .../testGH6162/01/testGH6162_01.php} | 26 +-- .../testGH6162/01/testGH6162_01.php.fixUses} | 28 +-- .../lib/gh6075/gh6075.php} | 31 ++- .../lib/gh6075/gh6075.php.testGH6075_01.completion | 5 + .../lib/gh6075/gh6075.php.testGH6075_02.completion | 5 + .../lib/gh6075/gh6075.php.testGH6075_03.completion | 5 + .../lib/gh6075/gh6075.php.testGH6075_04.completion | 5 + .../testIssueGH6075/testIssueGH6075.php} | 31 ++- .../testIssueGH6075/testIssueGH6075.php} | 31 ++- ...IssueGH6075.php.testIssueGH6075_01a.occurrences | 5 + ...IssueGH6075.php.testIssueGH6075_01b.occurrences | 5 + ...IssueGH6075.php.testIssueGH6075_01c.occurrences | 5 + ...IssueGH6075.php.testIssueGH6075_01d.occurrences | 5 + ...IssueGH6075.php.testIssueGH6075_01e.occurrences | 5 + .../issueGH6075_01.php} | 27 +-- .../testGH6075/Vendor/User.php} | 25 +- .../testGH6075/testGH6075.php} | 25 +- .../testGH6075/testGH6075.php.testGH6075.hints | 0 .../testGH6162/Vendor/User.php} | 25 +- .../testGH6162/testGH6162.php} | 26 +-- .../testGH6162/testGH6162.php.testGH6162.hints | 0 .../testUnusedUsesHint}/testUnusedUsesHint.php | 0 ...testUnusedUsesHint.php.testUnusedUsesHint.hints | 0 .../testUnusedUsesHintWithTypedProperties.php | 0 ...php.testUnusedUsesHintWithTypedProperties.hints | 0 ...php.testUnusedUsesHintWithTypedProperties.hints | 0 .../php/editor/actions/FixUsesPerformerTest.java | 16 ++ .../php/editor/actions/ImportDataCreatorTest.java | 4 + .../php/editor/actions/UsedNamesCollectorTest.java | 20 +- .../completion/PHPCodeCompletionGH6075Test.java | 61 +++++ .../php/editor/csl/GotoDeclarationGH6075Test.java} | 29 +-- .../csl/OccurrencesFinderImplGH6075Test.java | 47 ++++ .../php/editor/parser/ASTPHP5ParserTest.java | 4 + .../modules/php/editor/verification/HintsTest.java | 9 - .../editor/verification/UnusedUsesHintTest.java | 71 ++++++ php/php.editor/tools/ASTPHP5Scanner.flex | 4 +- 54 files changed, 827 insertions(+), 542 deletions(-) create mode 100644 php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/parser/ASTPHP5ParserTest/parser/issueGH6075_01.pass copy php/php.editor/test/unit/data/testfiles/{verification/testUnusedUsesHintWithTypedProperties.php => actions/gh6075_01.php} (70%) create mode 100644 php/php.editor/test/unit/data/testfiles/actions/gh6075_01.php.usedNames copy php/php.editor/test/unit/data/testfiles/{verification/testUnusedUsesHintWithTypedProperties.php => actions/gh6075_02.php} (70%) copy enterprise/web.jspparser/test/unit/data/jspparser-data/wmroot/subdir/Page1.jsp => php/php.editor/test/unit/data/testfiles/actions/gh6075_02.php.usedNames (100%) copy php/php.editor/test/unit/data/testfiles/{verification/testUnusedUsesHintWithTypedProperties.php => actions/gh6162_01.php} (69%) copy enterprise/web.jspparser/test/unit/data/jspparser-data/wmroot/subdir/Page1.jsp => php/php.editor/test/unit/data/testfiles/actions/gh6162_01.php.usedNames (100%) copy php/php.editor/test/unit/data/testfiles/{verification/testUnusedUsesHintWithTypedProperties.php => actions/testGH6075/01/Vendor/User.php} (70%) copy php/php.editor/test/unit/data/testfiles/{verification/testUnusedUsesHintWithTypedProperties.php => actions/testGH6075/01/testGH6075_01.php} (69%) copy php/php.editor/test/unit/data/testfiles/{verification/testUnusedUsesHintWithTypedProperties.php => actions/testGH6075/01/testGH6075_01.php.fixUses} (69%) copy php/php.editor/test/unit/data/testfiles/{verification/testUnusedUsesHintWithTypedProperties.php => actions/testGH6075/Vendor/User.php} (70%) copy php/php.editor/test/unit/data/testfiles/{verification/testUnusedUsesHintWithTypedProperties.php => actions/testGH6075/testGH6075_01.php} (69%) create mode 100644 php/php.editor/test/unit/data/testfiles/actions/testGH6075/testGH6075_01.php.importData copy php/php.editor/test/unit/data/testfiles/{verification/testUnusedUsesHintWithTypedProperties.php => actions/testGH6162/01/Vendor/User.php} (70%) copy php/php.editor/test/unit/data/testfiles/{verification/testUnusedUsesHintWithTypedProperties.php => actions/testGH6162/01/testGH6162_01.php} (69%) copy php/php.editor/test/unit/data/testfiles/{verification/testUnusedUsesHintWithTypedProperties.php => actions/testGH6162/01/testGH6162_01.php.fixUses} (69%) copy php/php.editor/test/unit/data/testfiles/{verification/testUnusedUsesHintWithTypedProperties.php => completion/lib/gh6075/gh6075.php} (70%) create mode 100644 php/php.editor/test/unit/data/testfiles/completion/lib/gh6075/gh6075.php.testGH6075_01.completion create mode 100644 php/php.editor/test/unit/data/testfiles/completion/lib/gh6075/gh6075.php.testGH6075_02.completion create mode 100644 php/php.editor/test/unit/data/testfiles/completion/lib/gh6075/gh6075.php.testGH6075_03.completion create mode 100644 php/php.editor/test/unit/data/testfiles/completion/lib/gh6075/gh6075.php.testGH6075_04.completion copy php/php.editor/test/unit/data/testfiles/{verification/testUnusedUsesHintWithTypedProperties.php => gotodeclaration/testIssueGH6075/testIssueGH6075.php} (70%) copy php/php.editor/test/unit/data/testfiles/{verification/testUnusedUsesHintWithTypedProperties.php => markoccurences/testIssueGH6075/testIssueGH6075.php} (70%) create mode 100644 php/php.editor/test/unit/data/testfiles/markoccurences/testIssueGH6075/testIssueGH6075.php.testIssueGH6075_01a.occurrences create mode 100644 php/php.editor/test/unit/data/testfiles/markoccurences/testIssueGH6075/testIssueGH6075.php.testIssueGH6075_01b.occurrences create mode 100644 php/php.editor/test/unit/data/testfiles/markoccurences/testIssueGH6075/testIssueGH6075.php.testIssueGH6075_01c.occurrences create mode 100644 php/php.editor/test/unit/data/testfiles/markoccurences/testIssueGH6075/testIssueGH6075.php.testIssueGH6075_01d.occurrences create mode 100644 php/php.editor/test/unit/data/testfiles/markoccurences/testIssueGH6075/testIssueGH6075.php.testIssueGH6075_01e.occurrences copy php/php.editor/test/unit/data/testfiles/{verification/testUnusedUsesHintWithTypedProperties.php => parser/issueGH6075_01.php} (70%) copy php/php.editor/test/unit/data/testfiles/verification/{testUnusedUsesHintWithTypedProperties.php => UnusedUsesHint/testGH6075/Vendor/User.php} (70%) copy php/php.editor/test/unit/data/testfiles/verification/{testUnusedUsesHintWithTypedProperties.php => UnusedUsesHint/testGH6075/testGH6075.php} (70%) copy enterprise/web.jspparser/test/unit/data/jspparser-data/wmroot/subdir/Page1.jsp => php/php.editor/test/unit/data/testfiles/verification/UnusedUsesHint/testGH6075/testGH6075.php.testGH6075.hints (100%) copy php/php.editor/test/unit/data/testfiles/verification/{testUnusedUsesHintWithTypedProperties.php => UnusedUsesHint/testGH6162/Vendor/User.php} (70%) copy php/php.editor/test/unit/data/testfiles/verification/{testUnusedUsesHintWithTypedProperties.php => UnusedUsesHint/testGH6162/testGH6162.php} (69%) copy enterprise/web.jspparser/test/unit/data/jspparser-data/wmroot/subdir/Page1.jsp => php/php.editor/test/unit/data/testfiles/verification/UnusedUsesHint/testGH6162/testGH6162.php.testGH6162.hints (100%) rename php/php.editor/test/unit/data/testfiles/verification/{ => UnusedUsesHint/testUnusedUsesHint}/testUnusedUsesHint.php (100%) rename php/php.editor/test/unit/data/testfiles/verification/{ => UnusedUsesHint/testUnusedUsesHint}/testUnusedUsesHint.php.testUnusedUsesHint.hints (100%) copy php/php.editor/test/unit/data/testfiles/verification/{ => UnusedUsesHint/testUnusedUsesHintWithTypedProperties}/testUnusedUsesHintWithTypedProperties.php (100%) copy contrib/groovy.grailsproject/test/unit/data/projects/completion/stacktrace.log => php/php.editor/test/unit/data/testfiles/verification/UnusedUsesHint/testUnusedUsesHintWithTypedProperties/testUnusedUsesHintWithTypedProperties.php.testUnusedUsesHintWithTypedProperties.hints (100%) delete mode 100644 php/php.editor/test/unit/data/testfiles/verification/testUnusedUsesHintWithTypedProperties.php.testUnusedUsesHintWithTypedProperties.hints create mode 100644 php/php.editor/test/unit/src/org/netbeans/modules/php/editor/completion/PHPCodeCompletionGH6075Test.java rename php/php.editor/test/unit/{data/testfiles/verification/testUnusedUsesHintWithTypedProperties.php => src/org/netbeans/modules/php/editor/csl/GotoDeclarationGH6075Test.java} (51%) create mode 100644 php/php.editor/test/unit/src/org/netbeans/modules/php/editor/csl/OccurrencesFinderImplGH6075Test.java create mode 100644 php/php.editor/test/unit/src/org/netbeans/modules/php/editor/verification/UnusedUsesHintTest.java --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists