Compare commits
No commits in common. "2793c36fa9c9daf0c51f4bf0fce1fce76ccc85fc" and "b1792809e18f4598284f91cc8247a3c327259829" have entirely different histories.
2793c36fa9
...
b1792809e1
3 changed files with 5 additions and 17 deletions
|
@ -10,16 +10,15 @@ jobs:
|
||||||
REPO: '${{ github.repository }}'
|
REPO: '${{ github.repository }}'
|
||||||
TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
GIT_SERVER: 'git.php.fail'
|
GIT_SERVER: 'git.php.fail'
|
||||||
|
COMPOSER_CACHE_DIR: /opt/hostedtoolcache/.composer/cache/files
|
||||||
run: |
|
run: |
|
||||||
git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}/${REPO}.git .
|
git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}/${REPO}.git .
|
||||||
git fetch
|
git fetch
|
||||||
git checkout ${{ github.head_ref }}
|
git checkout ${{ github.head_ref }}
|
||||||
- name: composer install
|
- name: create composer cache dir
|
||||||
env:
|
|
||||||
COMPOSER_CACHE_DIR: /opt/hostedtoolcache/.composer/cache/files
|
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ${{ env.COMPOSER_CACHE_DIR }}
|
mkdir -p /opt/hostedtoolcache/.composer/cache/files
|
||||||
composer install
|
- run: composer install
|
||||||
- run: composer lint
|
- run: composer lint
|
||||||
- name: GIT commit and push all changed files
|
- name: GIT commit and push all changed files
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?php declare(strict_types=1);
|
<?php declare(strict_types=1);
|
||||||
|
|
||||||
use PhpCsFixer\Fixer\ClassNotation\ClassAttributesSeparationFixer;
|
|
||||||
use PhpCsFixer\Fixer\Import\OrderedImportsFixer;
|
use PhpCsFixer\Fixer\Import\OrderedImportsFixer;
|
||||||
use PhpCsFixer\Fixer\LanguageConstruct\FunctionToConstantFixer;
|
use PhpCsFixer\Fixer\LanguageConstruct\FunctionToConstantFixer;
|
||||||
use PhpCsFixer\Fixer\Operator\NewWithBracesFixer;
|
use PhpCsFixer\Fixer\Operator\NewWithBracesFixer;
|
||||||
|
@ -78,17 +77,6 @@ return ECSConfig::configure()
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
->withConfiguredRule(
|
->withConfiguredRule(
|
||||||
ClassAttributesSeparationFixer::class,
|
|
||||||
[
|
|
||||||
'elements' => [
|
|
||||||
'const' => 'none',
|
|
||||||
'method' => 'one',
|
|
||||||
'property' => 'none',
|
|
||||||
'trait_import' => 'none',
|
|
||||||
'case' => 'none',
|
|
||||||
],
|
|
||||||
],
|
|
||||||
)->withConfiguredRule(
|
|
||||||
DeclareStrictTypesSniff::class,
|
DeclareStrictTypesSniff::class,
|
||||||
[
|
[
|
||||||
'declareOnFirstLine' => true,
|
'declareOnFirstLine' => true,
|
||||||
|
|
|
@ -5,5 +5,6 @@ namespace Lubiana\CodeQuality;
|
||||||
final class LubiSetList
|
final class LubiSetList
|
||||||
{
|
{
|
||||||
public const string RECTOR = __DIR__ . '/../config/rector.php';
|
public const string RECTOR = __DIR__ . '/../config/rector.php';
|
||||||
|
|
||||||
public const string ECS = __DIR__ . '/../config/ecs.php';
|
public const string ECS = __DIR__ . '/../config/ecs.php';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue