mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
17857163fc
This change introduces an option to have the configuration split across several files using standard XInclude tags. This may be useful for more complex configs, or to include auto-generated parts into a manually written config file.
24 lines
259 B
PHP
24 lines
259 B
PHP
<?php
|
|
namespace Vimeo\Test\DummyProject;
|
|
|
|
class Bar
|
|
{
|
|
use SomeTrait;
|
|
|
|
/** @var string */
|
|
public $x;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->x = 'hello';
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @return void
|
|
*/
|
|
function someFunction()
|
|
{
|
|
echo 'here';
|
|
}
|