Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* now works with subversion. * fixed some strict coding warnings.
- Loading branch information
larukedi
committed
Mar 29, 2013
1 parent
cae7ce1
commit 54cdcb6
Showing
18 changed files
with
334 additions
and
57 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
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,20 @@ | ||
<?php | ||
/* vim: set expandtab sw=4 ts=4 sts=4: */ | ||
|
||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS-IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
namespace Muhafiz\Exceptions; | ||
|
||
class NotImplemented extends \Exception | ||
{ | ||
} |
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
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 |
---|---|---|
|
@@ -16,7 +16,6 @@ | |
|
||
namespace Muhafiz\Runners; | ||
use Muhafiz\Utils\System as Sys; | ||
use Muhafiz\Utils\Git as Git; | ||
use Muhafiz\Runners\RunnersAbstract as RunnersAbstract; | ||
|
||
|
||
|
@@ -33,10 +32,10 @@ class Phpcsfixer extends RunnersAbstract | |
public function run(array $files) | ||
{ | ||
//get required config params | ||
$standard = Git::getConfig("muhafiz.runners.php-cs-fixer.standard", "psr2"); | ||
$standard = $this->_vcs->getConfig("muhafiz.runners.php-cs-fixer.standard", "psr2"); | ||
|
||
foreach ($files as $file) { | ||
$out = Sys::runCommand("php-cs-fixer fix --dry-run --level=${standard} ${file}"); | ||
$out = Sys::runCommand($this->_vcs->catCommand($file) . " | php-cs-fixer fix --dry-run --level=${standard}"); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
eser
Contributor
|
||
|
||
if (count($out['output']) > 0) { | ||
$this->_onRuleFailed($out); | ||
|
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
Oops, something went wrong.
Bu satırı ekleyerek php-cs-fixer'i çalışmaz hale getirmişsiniz. Projede testlerin yazılması elzem bir durum olmuş. Bilginize.