Skip to content

Commit

Permalink
Resolve Page Templates PHPCS Errors (#127)
Browse files Browse the repository at this point in the history
* Resolve  PHPCS: "Expected 1 newline at end of file; 0 found"

* Add memory limit increase to PHPStan.
  • Loading branch information
thefrosty authored Feb 24, 2024
1 parent 51250d0 commit 5dc4d63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"./vendor/bin/phpunit --colors --coverage-html ./tests/results && php ./tests/clover-results.php ./tests/clover.xml 2"
],
"phpstan": [
"./vendor/bin/phpstan analyze src"
"./vendor/bin/phpstan analyze src --memory-limit 1G"
],
"tests": [
"@phpcs",
Expand Down
2 changes: 1 addition & 1 deletion src/Api/PageTemplates.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,4 @@ private function getPrefix(string $file): string
{
return \sprintf('%s%s', self::PREFIX, $file);
}
}
}
2 changes: 1 addition & 1 deletion src/Models/PageTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ protected function getSerializableFields(): array
self::FIELD_PATH,
];
}
}
}

0 comments on commit 5dc4d63

Please sign in to comment.