Skip to content

Commit bec8a01

Browse files
author
skiera
committed
Switched to Eclipse Public License
1 parent 5543820 commit bec8a01

22 files changed

+118
-481
lines changed

META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: PHP Tool Codesniffer
44
Bundle-SymbolicName: org.phpsrc.eclipse.pti.tools.codesniffer;singleton:=true
5-
Bundle-Version: 1.3.0.I20100627000000
5+
Bundle-Version: 1.3.0.I20110319000000
66
Bundle-Activator: org.phpsrc.eclipse.pti.tools.codesniffer.PHPCodeSnifferPlugin
77
Bundle-Vendor: Sven Kiera
88
Require-Bundle: org.eclipse.ui,

src/org/phpsrc/eclipse/pti/tools/codesniffer/ICodeSnifferConstants.java

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,11 @@
11
/*******************************************************************************
2-
* Copyright (c) 2010, Sven Kiera
3-
* All rights reserved.
4-
*
5-
* Redistribution and use in source and binary forms, with or without
6-
* modification, are permitted provided that the following conditions are met:
7-
* - Redistributions of source code must retain the above copyright notice, this
8-
* list of conditions and the following disclaimer.
9-
* - Redistributions in binary form must reproduce the above copyright notice,
10-
* this list of conditions and the following disclaimer in the documentation
11-
* and/or other materials provided with the distribution.
12-
* - Neither the name of the Organisation nor the names of its contributors may
13-
* be used to endorse or promote products derived from this software without
14-
* specific prior written permission.
15-
*
16-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2+
* Copyright (c) 2009, 2010, 2011 Sven Kiera
3+
* All rights reserved. This program and the accompanying materials
4+
* are made available under the terms of the Eclipse Public License v1.0
5+
* which accompanies this distribution, and is available at
6+
* http://www.eclipse.org/legal/epl-v10.html
267
*******************************************************************************/
8+
279
package org.phpsrc.eclipse.pti.tools.codesniffer;
2810

2911
public interface ICodeSnifferConstants {

src/org/phpsrc/eclipse/pti/tools/codesniffer/PHPCodeSnifferPlugin.java

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,11 @@
11
/*******************************************************************************
2-
* Copyright (c) 2010, Sven Kiera
3-
* All rights reserved.
4-
*
5-
* Redistribution and use in source and binary forms, with or without
6-
* modification, are permitted provided that the following conditions are met:
7-
* - Redistributions of source code must retain the above copyright notice, this
8-
* list of conditions and the following disclaimer.
9-
* - Redistributions in binary form must reproduce the above copyright notice,
10-
* this list of conditions and the following disclaimer in the documentation
11-
* and/or other materials provided with the distribution.
12-
* - Neither the name of the Organisation nor the names of its contributors may
13-
* be used to endorse or promote products derived from this software without
14-
* specific prior written permission.
15-
*
16-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2+
* Copyright (c) 2009, 2010, 2011 Sven Kiera
3+
* All rights reserved. This program and the accompanying materials
4+
* are made available under the terms of the Eclipse Public License v1.0
5+
* which accompanies this distribution, and is available at
6+
* http://www.eclipse.org/legal/epl-v10.html
267
*******************************************************************************/
8+
279
package org.phpsrc.eclipse.pti.tools.codesniffer;
2810

2911
import java.io.File;

src/org/phpsrc/eclipse/pti/tools/codesniffer/core/PHPCodeSniffer.java

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,11 @@
11
/*******************************************************************************
2-
* Copyright (c) 2010, Sven Kiera
3-
* All rights reserved.
4-
*
5-
* Redistribution and use in source and binary forms, with or without
6-
* modification, are permitted provided that the following conditions are met:
7-
* - Redistributions of source code must retain the above copyright notice, this
8-
* list of conditions and the following disclaimer.
9-
* - Redistributions in binary form must reproduce the above copyright notice,
10-
* this list of conditions and the following disclaimer in the documentation
11-
* and/or other materials provided with the distribution.
12-
* - Neither the name of the Organisation nor the names of its contributors may
13-
* be used to endorse or promote products derived from this software without
14-
* specific prior written permission.
15-
*
16-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2+
* Copyright (c) 2009, 2010, 2011 Sven Kiera
3+
* All rights reserved. This program and the accompanying materials
4+
* are made available under the terms of the Eclipse Public License v1.0
5+
* which accompanies this distribution, and is available at
6+
* http://www.eclipse.org/legal/epl-v10.html
267
*******************************************************************************/
8+
279
package org.phpsrc.eclipse.pti.tools.codesniffer.core;
2810

2911
import java.io.IOException;

src/org/phpsrc/eclipse/pti/tools/codesniffer/core/jobs/ValidationJob.java

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,9 @@
11
/*******************************************************************************
2-
* Copyright (c) 2010, Sven Kiera
3-
* All rights reserved.
4-
*
5-
* Redistribution and use in source and binary forms, with or without
6-
* modification, are permitted provided that the following conditions are met:
7-
* - Redistributions of source code must retain the above copyright notice, this
8-
* list of conditions and the following disclaimer.
9-
* - Redistributions in binary form must reproduce the above copyright notice,
10-
* this list of conditions and the following disclaimer in the documentation
11-
* and/or other materials provided with the distribution.
12-
* - Neither the name of the Organisation nor the names of its contributors may
13-
* be used to endorse or promote products derived from this software without
14-
* specific prior written permission.
15-
*
16-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2+
* Copyright (c) 2009, 2010, 2011 Sven Kiera
3+
* All rights reserved. This program and the accompanying materials
4+
* are made available under the terms of the Eclipse Public License v1.0
5+
* which accompanies this distribution, and is available at
6+
* http://www.eclipse.org/legal/epl-v10.html
267
*******************************************************************************/
278

289
package org.phpsrc.eclipse.pti.tools.codesniffer.core.jobs;

src/org/phpsrc/eclipse/pti/tools/codesniffer/core/preferences/PHPCodeSnifferPreferences.java

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,9 @@
11
/*******************************************************************************
2-
* Copyright (c) 2010, Sven Kiera
3-
* All rights reserved.
4-
*
5-
* Redistribution and use in source and binary forms, with or without
6-
* modification, are permitted provided that the following conditions are met:
7-
* - Redistributions of source code must retain the above copyright notice, this
8-
* list of conditions and the following disclaimer.
9-
* - Redistributions in binary form must reproduce the above copyright notice,
10-
* this list of conditions and the following disclaimer in the documentation
11-
* and/or other materials provided with the distribution.
12-
* - Neither the name of the Organisation nor the names of its contributors may
13-
* be used to endorse or promote products derived from this software without
14-
* specific prior written permission.
15-
*
16-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2+
* Copyright (c) 2009, 2010, 2011 Sven Kiera
3+
* All rights reserved. This program and the accompanying materials
4+
* are made available under the terms of the Eclipse Public License v1.0
5+
* which accompanies this distribution, and is available at
6+
* http://www.eclipse.org/legal/epl-v10.html
267
*******************************************************************************/
278

289
package org.phpsrc.eclipse.pti.tools.codesniffer.core.preferences;

src/org/phpsrc/eclipse/pti/tools/codesniffer/core/preferences/PHPCodeSnifferPreferencesFactory.java

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,9 @@
11
/*******************************************************************************
2-
* Copyright (c) 2010, Sven Kiera
3-
* All rights reserved.
4-
*
5-
* Redistribution and use in source and binary forms, with or without
6-
* modification, are permitted provided that the following conditions are met:
7-
* - Redistributions of source code must retain the above copyright notice, this
8-
* list of conditions and the following disclaimer.
9-
* - Redistributions in binary form must reproduce the above copyright notice,
10-
* this list of conditions and the following disclaimer in the documentation
11-
* and/or other materials provided with the distribution.
12-
* - Neither the name of the Organisation nor the names of its contributors may
13-
* be used to endorse or promote products derived from this software without
14-
* specific prior written permission.
15-
*
16-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2+
* Copyright (c) 2009, 2010, 2011 Sven Kiera
3+
* All rights reserved. This program and the accompanying materials
4+
* are made available under the terms of the Eclipse Public License v1.0
5+
* which accompanies this distribution, and is available at
6+
* http://www.eclipse.org/legal/epl-v10.html
267
*******************************************************************************/
278

289
package org.phpsrc.eclipse.pti.tools.codesniffer.core.preferences;

src/org/phpsrc/eclipse/pti/tools/codesniffer/core/preferences/Standard.java

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,9 @@
11
/*******************************************************************************
2-
* Copyright (c) 2010, Sven Kiera
3-
* All rights reserved.
4-
*
5-
* Redistribution and use in source and binary forms, with or without
6-
* modification, are permitted provided that the following conditions are met:
7-
* - Redistributions of source code must retain the above copyright notice, this
8-
* list of conditions and the following disclaimer.
9-
* - Redistributions in binary form must reproduce the above copyright notice,
10-
* this list of conditions and the following disclaimer in the documentation
11-
* and/or other materials provided with the distribution.
12-
* - Neither the name of the Organisation nor the names of its contributors may
13-
* be used to endorse or promote products derived from this software without
14-
* specific prior written permission.
15-
*
16-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2+
* Copyright (c) 2009, 2010, 2011 Sven Kiera
3+
* All rights reserved. This program and the accompanying materials
4+
* are made available under the terms of the Eclipse Public License v1.0
5+
* which accompanies this distribution, and is available at
6+
* http://www.eclipse.org/legal/epl-v10.html
267
*******************************************************************************/
278

289
package org.phpsrc.eclipse.pti.tools.codesniffer.core.preferences;

src/org/phpsrc/eclipse/pti/tools/codesniffer/core/problem/CodeSnifferProblem.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/*******************************************************************************
2+
* Copyright (c) 2009, 2010, 2011 Sven Kiera
3+
* All rights reserved. This program and the accompanying materials
4+
* are made available under the terms of the Eclipse Public License v1.0
5+
* which accompanies this distribution, and is available at
6+
* http://www.eclipse.org/legal/epl-v10.html
7+
*******************************************************************************/
8+
19
package org.phpsrc.eclipse.pti.tools.codesniffer.core.problem;
210

311
import org.eclipse.dltk.compiler.problem.DefaultProblem;

src/org/phpsrc/eclipse/pti/tools/codesniffer/ui/actions/ValidateResourcesAction.java

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,11 @@
11
/*******************************************************************************
2-
* Copyright (c) 2010, Sven Kiera
3-
* All rights reserved.
4-
*
5-
* Redistribution and use in source and binary forms, with or without
6-
* modification, are permitted provided that the following conditions are met:
7-
* - Redistributions of source code must retain the above copyright notice, this
8-
* list of conditions and the following disclaimer.
9-
* - Redistributions in binary form must reproduce the above copyright notice,
10-
* this list of conditions and the following disclaimer in the documentation
11-
* and/or other materials provided with the distribution.
12-
* - Neither the name of the Organisation nor the names of its contributors may
13-
* be used to endorse or promote products derived from this software without
14-
* specific prior written permission.
15-
*
16-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19-
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22-
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23-
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24-
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2+
* Copyright (c) 2009, 2010, 2011 Sven Kiera
3+
* All rights reserved. This program and the accompanying materials
4+
* are made available under the terms of the Eclipse Public License v1.0
5+
* which accompanies this distribution, and is available at
6+
* http://www.eclipse.org/legal/epl-v10.html
267
*******************************************************************************/
8+
279
package org.phpsrc.eclipse.pti.tools.codesniffer.ui.actions;
2810

2911
import org.eclipse.core.resources.IResource;

0 commit comments

Comments
 (0)