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 56b833249d3 Merge pull request #8133 from thurka/thurka/GCN-5326
add 5118ff96fc4 PHP 8.4 Support: #[\Deprecated] Attribute (Part 1)
add 2490982b586 Minor imporovement for SemanticAnalysis
new 0b5cc4423a2 Merge pull request #8139 from
junichi11/php84-deprecated-attribute
The 1 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:
.../org/netbeans/modules/php/editor/CodeUtils.java | 5 +
.../modules/php/editor/PredefinedSymbols.java | 1 +
.../modules/php/editor/csl/SemanticAnalysis.java | 259 +++++---------------
.../php/editor/elements/CaseElementImpl.java | 2 +-
.../php/editor/elements/FunctionElementImpl.java | 2 +-
.../php/editor/elements/MethodElementImpl.java | 2 +-
.../editor/elements/TypeConstantElementImpl.java | 2 +-
.../php/editor/model/impl/ModelBuilder.java | 6 +-
.../php/editor/model/impl/NamespaceScopeImpl.java | 2 +-
.../php/editor/model/impl/VariousUtils.java | 61 +++++
.../editor/model/nodes/CaseDeclarationInfo.java | 4 +
.../model/nodes/ClassConstantDeclarationInfo.java | 4 +
.../modules/php/editor/resources/layer.xml | 1 +
.../IncorrectDeprecatedAttributeHintError.java | 269 +++++++++++++++++++++
.../php84/deprecatedAttributeEnumCaseInGlobal.pass | 10 +
.../deprecatedAttributeEnumCaseInNamespace.pass | 11 +
...recatedAttributeEnumCaseInNamespaceWithUse.pass | 12 +
.../deprecatedAttributeFunctionsInGlobal.pass | 16 ++
.../deprecatedAttributeFunctionsInNamespace01.pass | 19 ++
.../deprecatedAttributeFunctionsInNamespace02.pass | 19 ++
.../deprecatedAttributeFunctionsInNamespace03.pass | 34 +++
...atedAttributeFunctionsInNamespaceWithUse01.pass | 20 ++
...atedAttributeFunctionsInNamespaceWithUse02.pass | 20 ++
...atedAttributeFunctionsInNamespaceWithUse03.pass | 33 +++
.../php84/deprecatedAttributeMethodsInGlobal.pass | 83 +++++++
.../deprecatedAttributeMethodsInNamespace.pass | 84 +++++++
...precatedAttributeMethodsInNamespaceWithUse.pass | 85 +++++++
.../deprecatedAttributeTypeConstantInGlobal.pass | 48 ++++
...deprecatedAttributeTypeConstantInNamespace.pass | 49 ++++
...tedAttributeTypeConstantInNamespaceWithUse.pass | 50 ++++
.../deprecatedAttributeInGlobal.php | 109 +++++++++
.../deprecatedAttributeInGlobal.php.semantic | 109 +++++++++
.../deprecatedAttributeInNamespace.php | 110 +++++++++
.../deprecatedAttributeInNamespace.php.semantic | 110 +++++++++
.../deprecatedAttributeInNamespaceWithUse.php | 112 +++++++++
...recatedAttributeInNamespaceWithUse.php.semantic | 112 +++++++++
.../deprecatedAttributeInGlobal.php | 39 +++
.../deprecatedAttributeInGlobal.php.semantic | 39 +++
.../deprecatedAttributeInNamespace.php | 40 +++
.../deprecatedAttributeInNamespace.php.semantic | 40 +++
.../deprecatedAttributeInNamespaceWithUse.php | 42 ++++
...recatedAttributeInNamespaceWithUse.php.semantic | 42 ++++
.../deprecatedAttributeInGlobal.php | 89 +++++++
.../deprecatedAttributeInGlobal.php.semantic | 89 +++++++
.../deprecatedAttributeInNamespace01.php | 94 +++++++
.../deprecatedAttributeInNamespace01.php.semantic | 94 +++++++
.../deprecatedAttributeInNamespace02.php | 94 +++++++
.../deprecatedAttributeInNamespace02.php.semantic | 94 +++++++
.../deprecatedAttributeInNamespace03.php | 178 ++++++++++++++
.../deprecatedAttributeInNamespace03.php.semantic | 178 ++++++++++++++
.../deprecatedAttributeInNamespaceWithUse01.php | 96 ++++++++
...catedAttributeInNamespaceWithUse01.php.semantic | 96 ++++++++
.../deprecatedAttributeInNamespaceWithUse02.php | 96 ++++++++
...catedAttributeInNamespaceWithUse02.php.semantic | 96 ++++++++
.../deprecatedAttributeInNamespaceWithUse03.php | 167 +++++++++++++
...catedAttributeInNamespaceWithUse03.php.semantic | 167 +++++++++++++
.../deprecatedAttributeInGlobal.php | 177 ++++++++++++++
.../deprecatedAttributeInGlobal.php.semantic | 177 ++++++++++++++
.../deprecatedAttributeInNamespace.php | 179 ++++++++++++++
.../deprecatedAttributeInNamespace.php.semantic | 179 ++++++++++++++
.../deprecatedAttributeInNamespaceWithUse.php | 181 ++++++++++++++
...recatedAttributeInNamespaceWithUse.php.semantic | 181 ++++++++++++++
.../php84/deprecatedAttributeEnumCaseInGlobal.php | 39 +++
.../deprecatedAttributeEnumCaseInNamespace.php | 40 +++
...precatedAttributeEnumCaseInNamespaceWithUse.php | 42 ++++
.../php84/deprecatedAttributeFunctionsInGlobal.php | 89 +++++++
.../deprecatedAttributeFunctionsInNamespace01.php | 94 +++++++
.../deprecatedAttributeFunctionsInNamespace02.php | 94 +++++++
.../deprecatedAttributeFunctionsInNamespace03.php | 178 ++++++++++++++
...catedAttributeFunctionsInNamespaceWithUse01.php | 96 ++++++++
...catedAttributeFunctionsInNamespaceWithUse02.php | 96 ++++++++
...catedAttributeFunctionsInNamespaceWithUse03.php | 167 +++++++++++++
.../php84/deprecatedAttributeMethodsInGlobal.php | 177 ++++++++++++++
.../deprecatedAttributeMethodsInNamespace.php | 179 ++++++++++++++
...eprecatedAttributeMethodsInNamespaceWithUse.php | 181 ++++++++++++++
.../deprecatedAttributeTypeConstantInGlobal.php | 109 +++++++++
.../deprecatedAttributeTypeConstantInNamespace.php | 110 +++++++++
...atedAttributeTypeConstantInNamespaceWithUse.php | 112 +++++++++
.../testFieldsInGlobal.php | 33 +++
...eldsInGlobal.php.testFieldsInGlobal_PHP83.hints | 0
...eldsInGlobal.php.testFieldsInGlobal_PHP84.hints | 6 +
.../testFieldsInNamespace.php | 34 +++
...Namespace.php.testFieldsInNamespace_PHP83.hints | 0
...Namespace.php.testFieldsInNamespace_PHP84.hints | 3 +
.../testFieldsInNamespaceWithUse.php | 36 +++
...se.php.testFieldsInNamespaceWithUse_PHP83.hints | 0
...se.php.testFieldsInNamespaceWithUse_PHP84.hints | 6 +
.../testTypesInGlobal.php | 88 +++++++
...TypesInGlobal.php.testTypesInGlobal_PHP83.hints | 0
...TypesInGlobal.php.testTypesInGlobal_PHP84.hints | 30 +++
.../testTypesInNamespace.php | 89 +++++++
...nNamespace.php.testTypesInNamespace_PHP83.hints | 0
...nNamespace.php.testTypesInNamespace_PHP84.hints | 15 ++
.../testTypesInNamespaceWithUse.php | 91 +++++++
...Use.php.testTypesInNamespaceWithUse_PHP83.hints | 0
...Use.php.testTypesInNamespaceWithUse_PHP84.hints | 30 +++
.../csl/DeprecatedConstSemanticAnalysisTest.java | 12 +
.../DeprecatedEnumCaseSemanticAnalysisTest.java | 12 +
.../DeprecatedFunctionsSemanticAnalysisTest.java | 28 +++
.../csl/DeprecatedMethodsSemanticAnalysisTest.java | 12 +
.../modules/php/editor/csl/NavigatorTest.java | 64 +++++
.../IncorrectDeprecatedAttributeHintErrorTest.java | 101 ++++++++
102 files changed, 7101 insertions(+), 211 deletions(-)
create mode 100644
php/php.editor/src/org/netbeans/modules/php/editor/verification/IncorrectDeprecatedAttributeHintError.java
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/php84/deprecatedAttributeEnumCaseInGlobal.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/php84/deprecatedAttributeEnumCaseInNamespace.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/php84/deprecatedAttributeEnumCaseInNamespaceWithUse.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/php84/deprecatedAttributeFunctionsInGlobal.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/php84/deprecatedAttributeFunctionsInNamespace01.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/php84/deprecatedAttributeFunctionsInNamespace02.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/php84/deprecatedAttributeFunctionsInNamespace03.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/php84/deprecatedAttributeFunctionsInNamespaceWithUse01.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/php84/deprecatedAttributeFunctionsInNamespaceWithUse02.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/php84/deprecatedAttributeFunctionsInNamespaceWithUse03.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/php84/deprecatedAttributeMethodsInGlobal.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/php84/deprecatedAttributeMethodsInNamespace.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/php84/deprecatedAttributeMethodsInNamespaceWithUse.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/php84/deprecatedAttributeTypeConstantInGlobal.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/php84/deprecatedAttributeTypeConstantInNamespace.pass
create mode 100644
php/php.editor/test/unit/data/goldenfiles/org/netbeans/modules/php/editor/csl/NavigatorTest/structure/php84/deprecatedAttributeTypeConstantInNamespaceWithUse.pass
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedConst/deprecatedAttributeInGlobal.php
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedConst/deprecatedAttributeInGlobal.php.semantic
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedConst/deprecatedAttributeInNamespace.php
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedConst/deprecatedAttributeInNamespace.php.semantic
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedConst/deprecatedAttributeInNamespaceWithUse.php
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedConst/deprecatedAttributeInNamespaceWithUse.php.semantic
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedEnumCase/deprecatedAttributeInGlobal.php
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedEnumCase/deprecatedAttributeInGlobal.php.semantic
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedEnumCase/deprecatedAttributeInNamespace.php
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedEnumCase/deprecatedAttributeInNamespace.php.semantic
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedEnumCase/deprecatedAttributeInNamespaceWithUse.php
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedEnumCase/deprecatedAttributeInNamespaceWithUse.php.semantic
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedFunctions/deprecatedAttributeInGlobal.php
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedFunctions/deprecatedAttributeInGlobal.php.semantic
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedFunctions/deprecatedAttributeInNamespace01.php
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedFunctions/deprecatedAttributeInNamespace01.php.semantic
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedFunctions/deprecatedAttributeInNamespace02.php
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedFunctions/deprecatedAttributeInNamespace02.php.semantic
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedFunctions/deprecatedAttributeInNamespace03.php
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedFunctions/deprecatedAttributeInNamespace03.php.semantic
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedFunctions/deprecatedAttributeInNamespaceWithUse01.php
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedFunctions/deprecatedAttributeInNamespaceWithUse01.php.semantic
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedFunctions/deprecatedAttributeInNamespaceWithUse02.php
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedFunctions/deprecatedAttributeInNamespaceWithUse02.php.semantic
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedFunctions/deprecatedAttributeInNamespaceWithUse03.php
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedFunctions/deprecatedAttributeInNamespaceWithUse03.php.semantic
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedMethods/deprecatedAttributeInGlobal.php
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedMethods/deprecatedAttributeInGlobal.php.semantic
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedMethods/deprecatedAttributeInNamespace.php
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedMethods/deprecatedAttributeInNamespace.php.semantic
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedMethods/deprecatedAttributeInNamespaceWithUse.php
create mode 100644
php/php.editor/test/unit/data/testfiles/semantic/deprecatedMethods/deprecatedAttributeInNamespaceWithUse.php.semantic
create mode 100644
php/php.editor/test/unit/data/testfiles/structure/php84/deprecatedAttributeEnumCaseInGlobal.php
create mode 100644
php/php.editor/test/unit/data/testfiles/structure/php84/deprecatedAttributeEnumCaseInNamespace.php
create mode 100644
php/php.editor/test/unit/data/testfiles/structure/php84/deprecatedAttributeEnumCaseInNamespaceWithUse.php
create mode 100644
php/php.editor/test/unit/data/testfiles/structure/php84/deprecatedAttributeFunctionsInGlobal.php
create mode 100644
php/php.editor/test/unit/data/testfiles/structure/php84/deprecatedAttributeFunctionsInNamespace01.php
create mode 100644
php/php.editor/test/unit/data/testfiles/structure/php84/deprecatedAttributeFunctionsInNamespace02.php
create mode 100644
php/php.editor/test/unit/data/testfiles/structure/php84/deprecatedAttributeFunctionsInNamespace03.php
create mode 100644
php/php.editor/test/unit/data/testfiles/structure/php84/deprecatedAttributeFunctionsInNamespaceWithUse01.php
create mode 100644
php/php.editor/test/unit/data/testfiles/structure/php84/deprecatedAttributeFunctionsInNamespaceWithUse02.php
create mode 100644
php/php.editor/test/unit/data/testfiles/structure/php84/deprecatedAttributeFunctionsInNamespaceWithUse03.php
create mode 100644
php/php.editor/test/unit/data/testfiles/structure/php84/deprecatedAttributeMethodsInGlobal.php
create mode 100644
php/php.editor/test/unit/data/testfiles/structure/php84/deprecatedAttributeMethodsInNamespace.php
create mode 100644
php/php.editor/test/unit/data/testfiles/structure/php84/deprecatedAttributeMethodsInNamespaceWithUse.php
create mode 100644
php/php.editor/test/unit/data/testfiles/structure/php84/deprecatedAttributeTypeConstantInGlobal.php
create mode 100644
php/php.editor/test/unit/data/testfiles/structure/php84/deprecatedAttributeTypeConstantInNamespace.php
create mode 100644
php/php.editor/test/unit/data/testfiles/structure/php84/deprecatedAttributeTypeConstantInNamespaceWithUse.php
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testFieldsInGlobal.php
copy
enterprise/web.jspparser/test/unit/data/jspparser-data/wmroot/subdir/Page1.jsp
=>
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testFieldsInGlobal.php.testFieldsInGlobal_PHP83.hints
(100%)
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testFieldsInGlobal.php.testFieldsInGlobal_PHP84.hints
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testFieldsInNamespace.php
copy
enterprise/web.jspparser/test/unit/data/jspparser-data/wmroot/subdir/Page1.jsp
=>
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testFieldsInNamespace.php.testFieldsInNamespace_PHP83.hints
(100%)
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testFieldsInNamespace.php.testFieldsInNamespace_PHP84.hints
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testFieldsInNamespaceWithUse.php
copy
enterprise/web.jspparser/test/unit/data/jspparser-data/wmroot/subdir/Page1.jsp
=>
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testFieldsInNamespaceWithUse.php.testFieldsInNamespaceWithUse_PHP83.hints
(100%)
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testFieldsInNamespaceWithUse.php.testFieldsInNamespaceWithUse_PHP84.hints
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testTypesInGlobal.php
copy
enterprise/web.jspparser/test/unit/data/jspparser-data/wmroot/subdir/Page1.jsp
=>
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testTypesInGlobal.php.testTypesInGlobal_PHP83.hints
(100%)
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testTypesInGlobal.php.testTypesInGlobal_PHP84.hints
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testTypesInNamespace.php
copy
enterprise/web.jspparser/test/unit/data/jspparser-data/wmroot/subdir/Page1.jsp
=>
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testTypesInNamespace.php.testTypesInNamespace_PHP83.hints
(100%)
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testTypesInNamespace.php.testTypesInNamespace_PHP84.hints
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testTypesInNamespaceWithUse.php
copy
enterprise/web.jspparser/test/unit/data/jspparser-data/wmroot/subdir/Page1.jsp
=>
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testTypesInNamespaceWithUse.php.testTypesInNamespaceWithUse_PHP83.hints
(100%)
create mode 100644
php/php.editor/test/unit/data/testfiles/verification/IncorrectDeprecatedAttributeHintError/testTypesInNamespaceWithUse.php.testTypesInNamespaceWithUse_PHP84.hints
create mode 100644
php/php.editor/test/unit/src/org/netbeans/modules/php/editor/verification/IncorrectDeprecatedAttributeHintErrorTest.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists