Skip to content

Commit

Permalink
Adds coding standards action (#11)
Browse files Browse the repository at this point in the history
* Update .gitattributes

* Add coding-standards.yml

* Fix code styling
  • Loading branch information
joedixon authored Feb 14, 2023
1 parent ced433c commit 6d8b7c0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.styleci.yml export-ignore
CHANGELOG.md export-ignore
phpunit.xml.dist export-ignore
UPGRADE.md export-ignore
UPGRADE.md export-ignore
7 changes: 7 additions & 0 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: fix code styling

on: [push]

jobs:
lint:
uses: laravel/.github/.github/workflows/coding-standards.yml@main
2 changes: 1 addition & 1 deletion tests/Unit/Channels/PresenceChannelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
it('can return data stored on the connection', function () {
$channel = new PresenceChannel('presence-test-channel');

$connections = connections(2, )
$connections = connections(2)
->map(fn ($connection, $index) => [
'user_info' => [
'name' => 'Joe',
Expand Down

0 comments on commit 6d8b7c0

Please sign in to comment.