This repository was archived by the owner on Sep 12, 2022. It is now read-only.
forked from fbrnc/Aoe_ClassPathCache
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from AOEpeople/add-travis-config
Add travis config,add PHPCS ruleset, and fix PHPCS errors
- Loading branch information
Showing
9 changed files
with
70 additions
and
27 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/vendor | ||
/composer.lock |
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,17 @@ | ||
language: php | ||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- hhvm | ||
matrix: | ||
allow_failures: | ||
- php: hhvm | ||
before_script: | ||
# Composer | ||
- composer --no-interaction self-update | ||
- composer --no-interaction --prefer-source --dev install | ||
script: | ||
# Code style | ||
- php vendor/bin/phpcs --runtime-set ignore_warnings_on_exit true --standard=./phpcs.xml --encoding=utf-8 --report-width=120 ./app ./lib ./shell |
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 |
---|---|---|
|
@@ -76,6 +76,4 @@ public function getUrl() | |
) | ||
); | ||
} | ||
|
||
|
||
} |
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 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 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="Magento1"> | ||
<description>Magento extension ruleset based on PSR-2 but modified for Magento 1</description> | ||
<rule ref="PSR2"> | ||
<!-- Magento 1 class names don't comply so ignore these rules --> | ||
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace"/> | ||
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps"/> | ||
|
||
<!-- Magento standards use underscore for private methods so lets ignore this --> | ||
<exclude name="PSR2.Methods.MethodDeclaration.Underscore"/> | ||
<exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/> | ||
|
||
<!-- Magento requires including files in some cases so we either exlude this test or add DocBlocks --> | ||
<exclude name="PSR1.Files.SideEffects"/> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,10 +87,7 @@ public function usageHelp() | |
} | ||
return $help; | ||
} | ||
|
||
|
||
} | ||
|
||
$shell = new Aoe_ClassPathCache_Shell(); | ||
$shell->run(); | ||
|