diff --git a/.phan/config.php b/.phan/config.php new file mode 100644 --- /dev/null +++ b/.phan/config.php @@ -0,0 +1,16 @@ +<?php + +return [ + 'target_php_version' => 8.2, + + 'directory_list' => [ + '.', + 'vendor/easyrdf/easyrdf/lib', + ], + + 'exclude_file_regex' => '@^vendor/.*/(tests?|Tests?)/@', + + 'exclude_analysis_directory_list' => [ + 'vendor/' + ], +]; diff --git a/composer.json b/composer.json --- a/composer.json +++ b/composer.json @@ -22,6 +22,9 @@ "php": ">=5.4", "easyrdf/easyrdf": "~1.1.1" }, + "require-dev": { + "phan/phan": "5.4.5" + }, "support": { "issues": "http://devcentral.nasqueron.org/tag/nasqueron_tools/", "irc": "irc://irc.freenode.net/wikipedia-fr",