-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Typos & reositories & remove entity suffix & phing tasks
- Loading branch information
Showing
131 changed files
with
3,070 additions
and
2,290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
language: php | ||
|
||
php: | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
|
||
before_script: | ||
- composer self-update | ||
- composer install --no-interaction --dev | ||
|
||
script: VERBOSE=true vendor/bin/tester tests/ | ||
script: VERBOSE=true vendor/bin/phing check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
include('venne.php'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the Venne:CMS (https://github.com/Venne) | ||
* | ||
* Copyright (c) 2011, 2012 Josef Kříž (http://www.josef-kriz.cz) | ||
* | ||
* For the full copyright and license information, please view | ||
* the file license.txt that was distributed with this source code. | ||
*/ | ||
|
||
$rootDir = getcwd(); | ||
|
||
$container = require $rootDir . '/app/bootstrap.php'; | ||
|
||
$container->getService('application')->run(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<project name="venne/venne" default="build"> | ||
|
||
<property name="path.bin" value="${path.root}/vendor/bin"/> | ||
<property name="path.root" value="${project.basedir}"/> | ||
<property name="path.venne.venne.root" value="${path.root}"/> | ||
|
||
<import file="${path.root}/venne-phing.xml"/> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="venne/venne"> | ||
<rule ref="Generic.Classes.DuplicateClassName"/> | ||
<rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop"/> | ||
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/> | ||
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/> | ||
<rule ref="Generic.Formatting.SpaceAfterCast"/> | ||
<rule ref="Generic.Functions.CallTimePassByReference"/> | ||
<rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman"/> | ||
<rule ref="Generic.NamingConventions.ConstructorName"/> | ||
<rule ref="Generic.PHP.DeprecatedFunctions"/> | ||
<rule ref="Generic.PHP.ForbiddenFunctions"/> | ||
<rule ref="Generic.WhiteSpace.ScopeIndent"/> | ||
<rule ref="PEAR.Classes.ClassDeclaration"/> | ||
<rule ref="PEAR.Commenting.InlineComment"/> | ||
<rule ref="PEAR.Formatting.MultiLineAssignment"/> | ||
<rule ref="PEAR.WhiteSpace.ObjectOperatorIndent"/> | ||
<rule ref="Squiz.Commenting.DocCommentAlignment"/> | ||
<rule ref="Squiz.Functions.GlobalFunction"/> | ||
<rule ref="Squiz.PHP.GlobalKeyword"/> | ||
<rule ref="Squiz.PHP.Heredoc"/> | ||
<rule ref="Squiz.PHP.InnerFunctions"/> | ||
<rule ref="Squiz.PHP.LowercasePHPFunctions"/> | ||
<rule ref="Squiz.PHP.NonExecutableCode"/> | ||
<rule ref="Squiz.Scope.StaticThisUsage"/> | ||
<rule ref="Squiz.Strings.DoubleQuoteUsage"/> | ||
<rule ref="Squiz.Strings.DoubleQuoteUsage.ContainsVar"> | ||
<message>Variable "%s" not allowed in double quoted string; use sprintf() instead</message> | ||
</rule> | ||
<rule ref="Squiz.WhiteSpace.CastSpacing"/> | ||
<rule ref="Squiz.WhiteSpace.FunctionOpeningBraceSpace"/> | ||
<rule ref="Squiz.WhiteSpace.FunctionSpacing"> | ||
<properties> | ||
<property name="spacing" value="1"/> | ||
</properties> | ||
<exclude name="Squiz.WhiteSpace.FunctionSpacing.After"/><!-- does not allow PHPUnit ignore comments --> | ||
</rule> | ||
<rule ref="Squiz.WhiteSpace.LanguageConstructSpacing"/> | ||
<rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing"/> | ||
<rule ref="Squiz.WhiteSpace.MemberVarSpacing"/> | ||
<rule ref="Squiz.WhiteSpace.ObjectOperatorSpacing"> | ||
<exclude name="Squiz.WhiteSpace.ObjectOperatorSpacing.Before"/><!-- clashes in multiline calls --> | ||
</rule> | ||
<rule ref="Squiz.WhiteSpace.OperatorSpacing"> | ||
<exclude name="Squiz.WhiteSpace.OperatorSpacing.SpacingBefore"/><!-- does not work for operators on beginning of the line --> | ||
</rule> | ||
<rule ref="Squiz.WhiteSpace.SemicolonSpacing"/> | ||
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/> | ||
<rule ref="PSR2"> | ||
<exclude name="Generic.Files.LineLength"/><!-- can not be suppressed --> | ||
<exclude name="PEAR.Functions.ValidDefaultValue"/><!-- we want to allow null as "default" value --> | ||
<exclude name="PSR2.Classes.ClassDeclaration"/><!-- we want whitespace around class body and rules for extends and implements, using PEAR instead --> | ||
<exclude name="PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace"/><!-- we want to put first expression of multiline condition on next line --> | ||
<exclude name="PSR2.ControlStructures.SwitchDeclaration.caseIndent"/><!-- checked by more generic Generic.WhiteSpace.ScopeIndent.Incorrect --> | ||
<exclude name="PSR2.ControlStructures.SwitchDeclaration.defaultIndent"/><!-- checked by more generic Generic.WhiteSpace.ScopeIndent.Incorrect --> | ||
<exclude name="PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket"/><!-- we want to allow comments --> | ||
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace"/><!-- clashes with OpeningFunctionBraceBsdAllman --> | ||
</rule> | ||
</ruleset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,6 @@ | |
|
||
/** | ||
* @author Josef Kříž <[email protected]> | ||
* | ||
* @secured | ||
*/ | ||
class DefaultPresenter extends \Nette\Application\UI\Presenter | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,6 @@ | |
|
||
/** | ||
* @author Josef Kříž <[email protected]> | ||
* | ||
* @secured | ||
*/ | ||
class EmailPresenter extends \Nette\Application\UI\Presenter | ||
{ | ||
|
Oops, something went wrong.