diff --git a/.github/workflows/update-copyright-years-in-license-file.yml b/.github/workflows/update-copyright-years-in-license-file.yml new file mode 100644 index 0000000..f432106 --- /dev/null +++ b/.github/workflows/update-copyright-years-in-license-file.yml @@ -0,0 +1,17 @@ +name: Update copyright year in license file + +on: + workflow_dispatch: + schedule: + - cron: "0 3 1 1 *" + +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: FantasticFiasco/action-update-license-year@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/src/Annotation/Query.php b/src/Annotation/Query.php index 6bf2d56..7edbe57 100644 --- a/src/Annotation/Query.php +++ b/src/Annotation/Query.php @@ -39,8 +39,9 @@ final class Query */ public $type = 'row_list'; + /** @SuppressWarnings(PHPMd.BooleanArgumentFlag) */ - public function __construct(string $id, string $type = 'row', bool $templated = false) + public function __construct(string $id, string $type = 'row_list', bool $templated = false) { $this->id = $id; $this->templated = $templated;