Page MenuHomePhorge

D3256.1775513582.diff
No OneTemporary

Authored By
Unknown
Size
777 B
Referenced Files
None
Subscribers
None

D3256.1775513582.diff

diff --git a/bin/phpcs b/bin/phpcs
new file mode 100755
--- /dev/null
+++ b/bin/phpcs
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+cwd=$(dirname $0)
+
+pushd ${cwd}/../src/
+
+php -dmemory_limit=500M \
+ vendor/bin/phpcs \
+ -s
+
+popd
diff --git a/src/composer.json b/src/composer.json
--- a/src/composer.json
+++ b/src/composer.json
@@ -43,7 +43,8 @@
"laravel/dusk": "~6.15.0",
"nunomaduro/larastan": "^0.7",
"phpstan/phpstan": "^0.12",
- "phpunit/phpunit": "^9"
+ "phpunit/phpunit": "^9",
+ "squizlabs/php_codesniffer": "3.*"
},
"config": {
"optimize-autoloader": true,
diff --git a/src/phpcs b/src/phpcs
new file mode 120000
--- /dev/null
+++ b/src/phpcs
@@ -0,0 +1 @@
+../bin/phpcs
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 6, 10:13 PM (1 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18822319
Default Alt Text
D3256.1775513582.diff (777 B)

Event Timeline