19001 Commits

Author SHA1 Message Date
Clément Fournier
60139c8f4a Most of the work to extract module
Need a release of nice-xml-messages
Need an update to pmd-test
Need to add the 'ignored' attribute to schema
2022-05-17 23:34:17 +02:00
Andreas Dangel
9d23d79802 [ci] regression test - skip patching/building spring
The regression tester now does not anymore
execute a "git reset"... and the patched
files stay in place in the github actions cache.
2022-05-13 18:40:05 +02:00
Andreas Dangel
dc512e8a04 [ci] Update gems
- update pmdtester from 1.5.0 to 1.5.1
- update nokogiri from 1.13.5 to 1.13.6
- update activesupport from 6.0.4.8 to 6.0.5
2022-05-12 17:33:54 +02:00
Andreas Dangel
d3880443f7 [ci] Update gems
- update pmtester from 1.4.1 to 1.5.0
- update nokogiri from 1.13.4 to 1.13.5
2022-05-06 15:05:20 +02:00
Andreas Dangel
0973206dda [ci] Update project-list.xml
- use same exclusion in pmd6 and pmd7 for checkstyle
- use original repos with commit sha1 for fflib-apex-common and Schedul-o-matic-9000
2022-05-06 14:48:52 +02:00
Andreas Dangel
eae87d26a7 Merge pull request #3950 from oowekyala:issue3948-js-parse-error
[js] Fix object property with method type #3950
2022-05-03 19:27:59 +02:00
Clément Fournier
b5b07b48bf update release notes 2022-05-02 19:19:37 +02:00
Clément Fournier
d39ff7df9b [js] Fix object property with method type
Fix #3948
2022-05-02 19:19:37 +02:00
Andreas Dangel
86891b0c6d Bump pmd from 6.44.0 to 6.45.0 2022-04-30 10:27:59 +02:00
Andreas Dangel
b5dfd05c00 Prepare next development version [skip ci] 2022-04-30 09:41:05 +02:00
Andreas Dangel
ec64315ad7 [maven-release-plugin] prepare for next development iteration 2022-04-30 09:38:24 +02:00
Andreas Dangel
1d2b40b3c0 [maven-release-plugin] prepare release pmd_releases/6.45.0 pmd_releases/6.45.0 2022-04-30 09:38:19 +02:00
Andreas Dangel
2212ff1fca Prepare pmd release 6.45.0 2022-04-30 09:25:31 +02:00
Andreas Dangel
e4577c47ea [doc] Add user survey to release notes (#3814) 2022-04-30 09:18:09 +02:00
Andreas Dangel
915b7f8b61 Merge pull request #3939 from adangel:improved-rule-test-support
[test] Print Test Method Name for failed rule tests #3939
2022-04-29 12:36:44 +02:00
Andreas Dangel
efcc583086 [test] Improve test method name, display test method 2022-04-29 12:22:44 +02:00
Andreas Dangel
094bb1310a Update gems 2022-04-29 12:06:23 +02:00
Andreas Dangel
4eb2471939 Update gems
Fixes Command injection in ruby-git
(https://github.com/pmd/pmd/security/dependabot/21)
2022-04-29 12:01:29 +02:00
Andreas Dangel
e110a84473 Merge pull request #3943 from turrisxyz:setup-permissions
chore: Set permissions for GitHub actions #3943
2022-04-29 11:58:38 +02:00
Andreas Dangel
47beb1c3cd Add @naveensrinivasan as a contributor 2022-04-29 11:57:00 +02:00
Andreas Dangel
94057f688d [doc] Update release notes (#3943) 2022-04-29 11:56:36 +02:00
Andreas Dangel
c224209d7f [test] Backport NodePrinters.kt from pmd7 2022-04-29 11:38:52 +02:00
naveen
57dfc7fb40 chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-04-29 01:00:46 +00:00
Andreas Dangel
d407a92dfc Merge pull request #3885 from adangel:html-jsoup
[html] Add support for HTML using jsoup parser #3885
2022-04-28 15:07:19 +02:00
Andreas Dangel
3336b1ccd4 [doc] Update release notes 2022-04-28 15:05:26 +02:00
Andreas Dangel
c9fa05d2c7 Merge pull request #3938 from VoidxHoshi:master
[java] Modify SimplifiedTernary to meet the missing case #3603 #3938
2022-04-28 15:03:28 +02:00
Andreas Dangel
d94f85f443 Add @VoidxHoshi as a contributor 2022-04-28 15:01:16 +02:00
Andreas Dangel
0af3883607 [doc] Update release notes (#3603, #3938) 2022-04-28 15:00:55 +02:00
Andreas Dangel
1e5d69d722 Merge pull request #3935 from Scrsloota:master
[plsql] Fix parser exception in EXECUTE IMMEDIATE BULK COLLECT #3687 #3935
2022-04-28 14:55:49 +02:00
Andreas Dangel
69c7f4b2ad Merge pull request #3930 from adangel:improve-ArrayIsStoredDirectly
[java] Improve rule ArrayIsStoredDirectly #3930
2022-04-28 14:54:15 +02:00
Andreas Dangel
4d78148504 Merge pull request #3900 from adangel:issue-3867-usearraysaslist
[java] Fix UseArraysAsList with method calls #3900
2022-04-28 14:51:31 +02:00
Andreas Dangel
da0478d244 Merge pull request #3862 from adangel:report-mutable
[core] Add transformation methods to Report #3862
2022-04-28 14:48:41 +02:00
Andreas Dangel
56cc599b91 Update pmd-core/src/main/java/net/sourceforge/pmd/Report.java
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
2022-04-28 12:11:08 +02:00
Andreas Dangel
f48ab0e509 [doc] Mark package n.s.p.lang.html experimental 2022-04-28 11:57:30 +02:00
Andreas Dangel
84b6cfe93f [doc] Update release notes (#3687, #3935) 2022-04-28 11:38:20 +02:00
Andreas Dangel
061d0d6724 Add @Scrsloota as a contributor 2022-04-28 11:35:52 +02:00
Andreas Dangel
8370d6253d [plsql] Fix usage of "IN" - it is a reserved word 2022-04-28 11:34:25 +02:00
Andreas Dangel
35b6cc79ca [plsql] Refactor execute immediate statement
- It is now more compliant to the specification
- Add new AST node DynamicReturnClause
2022-04-28 10:57:59 +02:00
Andreas Dangel
45e4ec9e98 [plsql] Migrate ExecuteImmediateBulkCollectTest to BaseTreeDumpTest 2022-04-28 09:58:59 +02:00
LaLucid
f29770f968 Use a more clear XPath form
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
2022-04-27 05:47:07 +08:00
LaLucid
e951d6df8f Use a more clear XPath form to replace the former 2022-04-27 04:07:02 +08:00
LaLucid
3841e7d0c9 Revert the original XPath 2022-04-25 06:50:56 +08:00
Andreas Dangel
6ec5fe1073 Fix pmd 2022-04-24 22:44:05 +02:00
Andreas Dangel
1f9c7c5765 [test] Print Test Method Name for failed rule tests
This helps to select just this failed test to
rerun it within the IDE.
Also replace parenthesis in the test case description.
2022-04-24 22:29:36 +02:00
LaLucid
f1a2a77e64 modify the SimplifiedTernary test 2022-04-25 03:31:19 +08:00
LaLucid
56cc9fc163 make the description simple 2022-04-25 02:35:34 +08:00
LaLucid
38d3c091d0 Update pmd-java/src/main/resources/category/java/design.xml
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
2022-04-25 02:27:26 +08:00
LaLucid
28a454d155 Update pmd-java/src/main/resources/category/java/design.xml
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
2022-04-25 02:25:18 +08:00
HoshiNoMei
996f81ccce Modify the rule to meet the missing case 2022-04-24 23:36:46 +08:00
wsf
1a2682d5f8 fix ExecuteImmediateBulkCollect bug and add some test cases 2022-04-23 17:31:16 +08:00