-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
52 additions
and
1,076 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!.gitignore |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
$project_name = ''; | ||
$config = require __DIR__.'/../../vendor/reyesoft/ci/php/rules/php-cs-fixer.dist.php'; | ||
|
||
// rules override | ||
$rules = array_merge( | ||
$config->getRules(), | ||
[ | ||
'header_comment' => [ | ||
'header' => | ||
"Copyright (C) 2018-2018 Pablo Reyes <[email protected]>.\n". | ||
"\n". | ||
"This file is part of ArgentinaDataValidator. ArgentinaDataValidator \n". | ||
"distributed under MIT Licence.", | ||
'commentType' => 'PHPDoc', | ||
'location' => 'after_open', | ||
'separate' => 'bottom' | ||
], | ||
] | ||
); | ||
|
||
return $config | ||
->setRules($rules) | ||
->setFinder( | ||
PhpCsFixer\Finder::create() | ||
->in('./src') | ||
->in('./tests') | ||
); |
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"?> | ||
<ruleset name="Reyesoft PHPMD rule set" | ||
xmlns="http://pmd.sf.net/ruleset/1.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0" | ||
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd"> | ||
|
||
<rule ref="../../../../../reyesoft/ci/php/rules/phpmd.dist.xml" /> | ||
|
||
</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
5 changes: 2 additions & 3 deletions
5
resources/ci/.phpstan.src.neon → resources/rules/phpstan.src.neon
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,10 @@ | ||
includes: | ||
- ../../vendor/phpstan/phpstan-strict-rules/rules.neon | ||
- ../../vendor/weebly/phpstan-laravel/extension.neon | ||
|
||
parameters: | ||
bootstrap: %rootDir%/../../../resources/ci/tools/phpstan/bootstrap.php | ||
|
||
ignoreErrors: | ||
# Laravel | ||
# - '#Call to an undefined static method Illuminate\\Support\\Facades\\Route::\S.+().#' | ||
# JsonApi Library | ||
# - '#.+ErrorMutatorException::__construct\(\) does not.+#' | ||
- '#Call to an undefined static method Illuminate\\Support\\Facades\\Route::\S.+().#' |
File renamed without changes.