From e3b2aa9002302d4187b4978917f4c4ef609190a7 Mon Sep 17 00:00:00 2001 From: brouwers <122355335+brouwers-tiobe@users.noreply.github.com> Date: Wed, 29 May 2024 10:34:06 +0200 Subject: [PATCH 1/8] Commit to test packaging action --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 23d218722b5..77919881eac 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ **PMD** is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth. It supports many languages. It can be extended with custom rules. It uses JavaCC and Antlr to parse source files into abstract syntax trees (AST) and runs rules against them to find violations. -Rules can be written in Java or using a XPath query. +Rules can be written in Java or using a XPath query. It supports Java, JavaScript, Salesforce.com Apex and Visualforce, Modelica, PLSQL, Apache Velocity, XML, XSL. From 40da4a7f88a54fba746e8222c87d1f63abee0b73 Mon Sep 17 00:00:00 2001 From: Wener Date: Fri, 31 May 2024 08:01:47 +0200 Subject: [PATCH 2/8] Update CPPLanguage.java --- pmd-cpp/src/main/java/net/sourceforge/pmd/cpd/CPPLanguage.java | 1 + 1 file changed, 1 insertion(+) diff --git a/pmd-cpp/src/main/java/net/sourceforge/pmd/cpd/CPPLanguage.java b/pmd-cpp/src/main/java/net/sourceforge/pmd/cpd/CPPLanguage.java index 9b50f43135b..e0cdead0e7c 100644 --- a/pmd-cpp/src/main/java/net/sourceforge/pmd/cpd/CPPLanguage.java +++ b/pmd-cpp/src/main/java/net/sourceforge/pmd/cpd/CPPLanguage.java @@ -8,6 +8,7 @@ /** * Defines the Language module for C/C++ + */ public class CPPLanguage extends AbstractLanguage { From 036f07c5e981750c205278193337f0906179fa1e Mon Sep 17 00:00:00 2001 From: Wener Date: Fri, 31 May 2024 13:11:37 +0200 Subject: [PATCH 3/8] Update jquery.localScroll.min.js --- docs/js/jquery.localScroll.min.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/js/jquery.localScroll.min.js b/docs/js/jquery.localScroll.min.js index 48a6e168f68..610308aa5f5 100644 --- a/docs/js/jquery.localScroll.min.js +++ b/docs/js/jquery.localScroll.min.js @@ -2,6 +2,6 @@ * Copyright (c) 2007-2014 Ariel Flesler - afleslergmailcom | http://flesler.blogspot.com * Licensed under MIT * @author Ariel Flesler - * @version 1.3.5 + * @version 1.3.6 */ -;(function(a){if(typeof define==='function'&&define.amd){define(['jquery'],a)}else{a(jQuery)}}(function($){var g=location.href.replace(/#.*/,'');var h=$.localScroll=function(a){$('body').localScroll(a)};h.defaults={duration:1000,axis:'y',event:'click',stop:true,target:window};$.fn.localScroll=function(a){a=$.extend({},h.defaults,a);if(a.hash&&location.hash){if(a.target)window.scrollTo(0,0);scroll(0,location,a)}return a.lazy?this.on(a.event,'a,area',function(e){if(filter.call(this)){scroll(e,this,a)}}):this.find('a,area').filter(filter).bind(a.event,function(e){scroll(e,this,a)}).end().end();function filter(){return!!this.href&&!!this.hash&&this.href.replace(this.hash,'')==g&&(!a.filter||$(this).is(a.filter))}};h.hash=function(){};function scroll(e,a,b){var c=a.hash.slice(1),elem=document.getElementById(c)||document.getElementsByName(c)[0];if(!elem)return;if(e)e.preventDefault();var d=$(b.target);if(b.lock&&d.is(':animated')||b.onBefore&&b.onBefore(e,elem,d)===false)return;if(b.stop)d._scrollable().stop(true);if(b.hash){var f=elem.id===c?'id':'name',$a=$(' ').attr(f,c).css({position:'absolute',top:$(window).scrollTop(),left:$(window).scrollLeft()});elem[f]='';$('body').prepend($a);location.hash=a.hash;$a.remove();elem[f]=c}d.scrollTo(elem,b).trigger('notify.serialScroll',[elem])};return h})); \ No newline at end of file +;(function(a){if(typeof define==='function'&&define.amd){define(['jquery'],a)}else{a(jQuery)}}(function($){var g=location.href.replace(/#.*/,'');var h=$.localScroll=function(a){$('body').localScroll(a)};h.defaults={duration:1000,axis:'y',event:'click',stop:true,target:window};$.fn.localScroll=function(a){a=$.extend({},h.defaults,a);if(a.hash&&location.hash){if(a.target)window.scrollTo(0,0);scroll(0,location,a)}return a.lazy?this.on(a.event,'a,area',function(e){if(filter.call(this)){scroll(e,this,a)}}):this.find('a,area').filter(filter).bind(a.event,function(e){scroll(e,this,a)}).end().end();function filter(){return!!this.href&&!!this.hash&&this.href.replace(this.hash,'')==g&&(!a.filter||$(this).is(a.filter))}};h.hash=function(){};function scroll(e,a,b){var c=a.hash.slice(1),elem=document.getElementById(c)||document.getElementsByName(c)[0];if(!elem)return;if(e)e.preventDefault();var d=$(b.target);if(b.lock&&d.is(':animated')||b.onBefore&&b.onBefore(e,elem,d)===false)return;if(b.stop)d._scrollable().stop(true);if(b.hash){var f=elem.id===c?'id':'name',$a=$(' ').attr(f,c).css({position:'absolute',top:$(window).scrollTop(),left:$(window).scrollLeft()});elem[f]='';$('body').prepend($a);location.hash=a.hash;$a.remove();elem[f]=c}d.scrollTo(elem,b).trigger('notify.serialScroll',[elem])};return h})); From 05d7b457107cdf6c363003caeae4c55b6b7766c0 Mon Sep 17 00:00:00 2001 From: brouwers <122355335+brouwers-tiobe@users.noreply.github.com> Date: Fri, 31 May 2024 13:55:57 +0200 Subject: [PATCH 4/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 77919881eac..2eaf5268576 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![Maven Central](https://maven-badges.herokuapp.com/maven-central/net.sourceforge.pmd/pmd/badge.svg)](https://maven-badges.herokuapp.com/maven-central/net.sourceforge.pmd/pmd) [![Reproducible Builds](https://img.shields.io/badge/Reproducible_Builds-ok-green?labelColor=blue)](https://github.com/jvm-repo-rebuild/reproducible-central#net.sourceforge.pmd:pmd) [![Coverage Status](https://coveralls.io/repos/github/pmd/pmd/badge.svg)](https://coveralls.io/github/pmd/pmd) -[![Codacy Badge](https://api.codacy.com/project/badge/Grade/a674ee8642ed44c6ba7633626ee95967)](https://www.codacy.com/app/pmd/pmd?utm_source=github.com&utm_medium=referral&utm_content=pmd/pmd&utm_campaign=Badge_Grade) +[![Codacy Badge](https://api.codacy.com/project/badge/Grade/a674ee8642ed44c6ba7633626ee95967)](https://www.codacy.com/app/pmd/pmd?utm_source=github.com&utm_medium=referral&utm_content=pmd/pmd&utm_campaign=Badge_Grade) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](code_of_conduct.md) [![Documentation (latest)](https://img.shields.io/badge/docs-latest-green)](https://pmd.github.io/latest/) From 3ea1e22a7dff2f6ce06ef7abdc2cd3557b4cd517 Mon Sep 17 00:00:00 2001 From: brouwers <122355335+brouwers-tiobe@users.noreply.github.com> Date: Fri, 31 May 2024 14:07:27 +0200 Subject: [PATCH 5/8] Update jquery.localScroll.min.js --- docs/js/jquery.localScroll.min.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/js/jquery.localScroll.min.js b/docs/js/jquery.localScroll.min.js index 610308aa5f5..fc8f608b7c8 100644 --- a/docs/js/jquery.localScroll.min.js +++ b/docs/js/jquery.localScroll.min.js @@ -2,6 +2,6 @@ * Copyright (c) 2007-2014 Ariel Flesler - afleslergmailcom | http://flesler.blogspot.com * Licensed under MIT * @author Ariel Flesler - * @version 1.3.6 + * @version 1.3.7 */ ;(function(a){if(typeof define==='function'&&define.amd){define(['jquery'],a)}else{a(jQuery)}}(function($){var g=location.href.replace(/#.*/,'');var h=$.localScroll=function(a){$('body').localScroll(a)};h.defaults={duration:1000,axis:'y',event:'click',stop:true,target:window};$.fn.localScroll=function(a){a=$.extend({},h.defaults,a);if(a.hash&&location.hash){if(a.target)window.scrollTo(0,0);scroll(0,location,a)}return a.lazy?this.on(a.event,'a,area',function(e){if(filter.call(this)){scroll(e,this,a)}}):this.find('a,area').filter(filter).bind(a.event,function(e){scroll(e,this,a)}).end().end();function filter(){return!!this.href&&!!this.hash&&this.href.replace(this.hash,'')==g&&(!a.filter||$(this).is(a.filter))}};h.hash=function(){};function scroll(e,a,b){var c=a.hash.slice(1),elem=document.getElementById(c)||document.getElementsByName(c)[0];if(!elem)return;if(e)e.preventDefault();var d=$(b.target);if(b.lock&&d.is(':animated')||b.onBefore&&b.onBefore(e,elem,d)===false)return;if(b.stop)d._scrollable().stop(true);if(b.hash){var f=elem.id===c?'id':'name',$a=$(' ').attr(f,c).css({position:'absolute',top:$(window).scrollTop(),left:$(window).scrollLeft()});elem[f]='';$('body').prepend($a);location.hash=a.hash;$a.remove();elem[f]=c}d.scrollTo(elem,b).trigger('notify.serialScroll',[elem])};return h})); From ffb4fb16427e3d551c9d1bfa499b6580daa3cf35 Mon Sep 17 00:00:00 2001 From: brouwers <122355335+brouwers-tiobe@users.noreply.github.com> Date: Fri, 31 May 2024 14:28:17 +0200 Subject: [PATCH 6/8] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 02062c9a7f1..5be49763319 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "devDependencies": { + "devDependencies": { "all-contributors-cli": "^6.20.0" } } From 8182393267a09b226ac64498d29d22dfd6de47cf Mon Sep 17 00:00:00 2001 From: peeters <116091669+peeters-tiobe@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:45:19 +0200 Subject: [PATCH 7/8] Testing 33899 - Update CpdTextComparisonTest.kt --- .../kotlin/net/sourceforge/pmd/cpd/test/CpdTextComparisonTest.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/pmd-lang-test/src/main/kotlin/net/sourceforge/pmd/cpd/test/CpdTextComparisonTest.kt b/pmd-lang-test/src/main/kotlin/net/sourceforge/pmd/cpd/test/CpdTextComparisonTest.kt index 67fe11f5863..0d458e7696e 100644 --- a/pmd-lang-test/src/main/kotlin/net/sourceforge/pmd/cpd/test/CpdTextComparisonTest.kt +++ b/pmd-lang-test/src/main/kotlin/net/sourceforge/pmd/cpd/test/CpdTextComparisonTest.kt @@ -1,5 +1,6 @@ /* * BSD-style license; for more info see http://pmd.sourceforge.net/license.html + */ package net.sourceforge.pmd.cpd.test From 97bbda7c363f1de60bcfec69900b4cd4d812be05 Mon Sep 17 00:00:00 2001 From: peeters <116091669+peeters-tiobe@users.noreply.github.com> Date: Mon, 3 Jun 2024 14:37:16 +0200 Subject: [PATCH 8/8] Update CpdTextComparisonTest.kt --- .../net/sourceforge/pmd/cpd/test/CpdTextComparisonTest.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pmd-lang-test/src/main/kotlin/net/sourceforge/pmd/cpd/test/CpdTextComparisonTest.kt b/pmd-lang-test/src/main/kotlin/net/sourceforge/pmd/cpd/test/CpdTextComparisonTest.kt index 0d458e7696e..2ae23111f39 100644 --- a/pmd-lang-test/src/main/kotlin/net/sourceforge/pmd/cpd/test/CpdTextComparisonTest.kt +++ b/pmd-lang-test/src/main/kotlin/net/sourceforge/pmd/cpd/test/CpdTextComparisonTest.kt @@ -1,6 +1,5 @@ /* - * BSD-style license; for more info see http://pmd.sourceforge.net/license.html - + * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.cpd.test