mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-08 20:22:24 +00:00
CI: fix name position
This commit is contained in:
parent
bd170a668c
commit
c5768ae170
5
.github/workflows/rector.yaml
vendored
5
.github/workflows/rector.yaml
vendored
|
@ -26,6 +26,7 @@ jobs:
|
|||
bin/rector list
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
name: ${{ matrix.actions.name }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -35,6 +36,4 @@ jobs:
|
|||
php-version: 7.4
|
||||
coverage: none
|
||||
|
||||
-
|
||||
name: ${{ matrix.actions.name }}
|
||||
run: ${{ matrix.actions.run }}
|
||||
- run: ${{ matrix.actions.run }}
|
||||
|
|
|
@ -89,11 +89,7 @@ PHP
|
|||
// is variable assigned in constructor
|
||||
$propertyName = $this->getName($property);
|
||||
|
||||
if ($this->isPropertyInitiatedInConstuctor($property, $propertyName)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return $this->isPropertyInitiatedInConstuctor($property, $propertyName);
|
||||
}
|
||||
|
||||
private function isPropertyInitiatedInConstuctor(Property $property, string $propertyName): bool
|
||||
|
|
Loading…
Reference in New Issue
Block a user