Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3909489
D767.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D767.diff
View Options
diff --git a/.phan/config.php b/.phan/config.php
new file mode 100644
--- /dev/null
+++ b/.phan/config.php
@@ -0,0 +1,63 @@
+<?php
+
+use \Phan\Issue;
+
+return [
+
+ // A list of directories that should be parsed for class and
+ // method information. After excluding the directories
+ // defined in exclude_analysis_directory_list, the remaining
+ // files will be statically analyzed for errors.
+ //
+ // Thus, both first-party and third-party code being used by
+ // your application should be included in this list.
+ //
+ // Laravel folders are hand-picked as to include the root folder throws
+ // an exception (see https://github.com/etsy/phan/issues/454).
+ 'directory_list' => [
+ 'app',
+ 'vendor/guzzlehttp/guzzle/src',
+ 'vendor/keruald/broker/src',
+ 'vendor/keruald/dockerhub/src',
+ 'vendor/keruald/github',
+ 'vendor/keruald/mailgun',
+ 'vendor/laravel/framework/src/Illuminate/Auth',
+ 'vendor/laravel/framework/src/Illuminate/Bus',
+ 'vendor/laravel/framework/src/Illuminate/Console/Scheduling',
+ 'vendor/laravel/framework/src/Illuminate/Contracts',
+ 'vendor/laravel/framework/src/Illuminate/Cookie',
+ 'vendor/laravel/framework/src/Illuminate/Database',
+ 'vendor/laravel/framework/src/Illuminate/Events',
+ 'vendor/laravel/framework/src/Illuminate/Foundation',
+ 'vendor/laravel/framework/src/Illuminate/Http',
+ 'vendor/laravel/framework/src/Illuminate/Queue',
+ 'vendor/laravel/framework/src/Illuminate/Routing',
+ 'vendor/laravel/framework/src/Illuminate/Session',
+ 'vendor/laravel/framework/src/Illuminate/Support',
+ 'vendor/laravel/framework/src/Illuminate/View',
+ 'vendor/mockery/mockery/library',
+ 'vendor/netresearch/jsonmapper/src',
+ 'vendor/sentry/sentry/lib/Raven',
+ ],
+
+ 'file_list' => [
+ 'vendor/laravel/framework/src/Illuminate/Console/Command.php',
+ ],
+
+ // A directory list that defines files that will be excluded
+ // from static analysis, but whose class and method
+ // information should be included.
+ //
+ // Generally, you'll want to include the directories for
+ // third-party code (such as "vendor/") in this list.
+ //
+ // n.b.: If you'd like to parse but not analyze 3rd
+ // party code, directories containing that code
+ // should be added to the `directory_list` as
+ // to `exclude_analysis_directory_list`.
+ "exclude_analysis_directory_list" => [
+ 'vendor/',
+ 'tests/',
+ ],
+
+];
diff --git a/composer.json b/composer.json
--- a/composer.json
+++ b/composer.json
@@ -21,6 +21,7 @@
"sentry/sentry": "^0.13.0"
},
"require-dev": {
+ "etsy/phan": "dev-master",
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpmd/phpmd" : "@stable",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 20:18 (19 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2306795
Default Alt Text
D767.diff (2 KB)
Attached To
Mode
D767: Analyze with Phan
Attached
Detach File
Event Timeline
Log In to Comment